This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ vim ~/.ssh/config | |
### | |
Host *.sunrise-dev.local | |
user mezbaur | |
ProxyCommand ssh -q -A mezbaur@cd_bstn nc %h %p | |
IdentityFile ~/.ssh/mezbaur | |
LogLevel QUIET | |
StrictHostKeyChecking no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import boto.route53 | |
import boto.ec2 | |
import pprint as pp | |
def match_domain(domain, region="us-east-1"): | |
''' iterate through the public EIPs and make sure that if there is a `domain.com` entry for that EIP, it's private IP is also mapped in the private `domain.com` | |
''' | |
r53 = boto.route53.connect_to_region(region) | |
ec2 = boto.ec2.connect_to_region(region) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
########################################################## | |
### INTRODUCTION | |
########################################################## | |
: ' | |
Install and configure R (Redis) + ELK server from scratch on CentOS 6.5. | |
* Logstash version 1.4.2 | |
* Elasticsearch version 1.3.2 |