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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Action": ["s3:ListAllMyBuckets", "s3:GetBucketLocation"], | |
"Effect": "Allow", | |
"Resource": ["arn:aws:s3:::*"] | |
}, | |
{ | |
"Action": ["s3:ListBucket"], |
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
Vagrant.configure(2) do |config| | |
config.vm.define :delta do |x| | |
x.vm.box = "hashicorp/precise64" | |
x.vm.hostname = "delta" | |
x.vm.provider :virtualbox do |v| | |
v.name = "delta" | |
end | |
# x.vm.box = "username" | |
x.vm.provider :aws do |aws, override| | |
aws.access_key_id = "*****" |
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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": "ec2:DescribeInstances", | |
"Resource": "*" | |
}, | |
{ | |
"Effect": "Allow", |
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
Host git-codecommit.*.amazonaws.com | |
User <SSH Key ID> | |
IdentityFile ~/.ssh/code_commit |
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
option_settings: | |
aws:elasticbeanstalk:container:python: | |
WSGIPath: skywide/wsgi.py |
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
~/skywide/ | |
|-- .ebextensions | |
| `-- django.config | |
|-- skywide | |
| |-- __init__.py | |
| |-- settings.py | |
| |-- urls.py | |
| `-- wsgi.py | |
|-- db.sqlite3 | |
|-- manage.py |
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
{ | |
"AWSTemplateFormatVersion" : "2010-09-09", | |
"Parameters" : { | |
"KeyName": { | |
"Description" : "Name of an existing EC2 KeyPair to enable SSH access to the instance", | |
"Type": "AWS::EC2::KeyPair::KeyName", | |
"ConstraintDescription" : "Can contain only ASCII characters." | |
}, | |
"InstanceType" : { | |
"Description" : "WebServer EC2 instance type", |
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
--- | |
- hosts: test | |
remote_user: ubuntu | |
become: yes | |
tasks: | |
- apt: name=apache2 state=present | |
become: yes | |
become_method: sudo |
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
input { | |
s3 { | |
bucket => "elb-logs-bucket-name" | |
region => "us-east-1" | |
codec => "line" | |
interval => 30 | |
} | |
} | |
filter { | |
mutate { replace => { "type" => "elb" } } |
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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"ec2:*" | |
], | |
"Condition": { | |
"StringEqualsIgnoreCase": { |
OlderNewer