Take a yaml file like this
app:
name: foo
owner: adam venturella
location: us-west-2
key: <optional>
secret: <optional>
instances:
app_server:
key_name: aventurella
image: ami-6ac2a85a
size: m3.medium
zone: us-west-2c
ip_address: foo
security_groups:
- ssh
- http
- https
- foo-salt
- foo-ssh
volumes:
- foo-volume: /dev/sdh
elastic_ips:
- foo
volumes:
foo-volume:
size: 1
zone: us-west-2c
security_groups:
foo-ssh:
ip_protocol: tcp
from_port: 1022
to_port: 1022
cidr_ip: '0.0.0.0/0'
foo-salt:
ip_protocol: tcp
from_port: 2000
to_port: 65535
cidr_ip: '0.0.0.0/0'
And materialize it into AWS EC2 accordingly.
Command line tool
Usage: ec2yaml <conf> [(--key=<key> --secret=<secret>)] [--loglevel=<level>] Options: -h --help Show this screen. -v --version Show version. -k --key=<key> AWS access key ID -s --secret=<secret> AWS secret access key -l --loglevel=<level> Log level to display [default: info]
Release History
0.0.1 (2014-01-20)
API Changes Bugfixes
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ec2yaml-0.0.5.tar.gz
(8.9 kB
view details)
File details
Details for the file ec2yaml-0.0.5.tar.gz.
File metadata
- Download URL: ec2yaml-0.0.5.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a163519ed8aece749b58f26608f8e3a5d4b5b0c854d0a1e82f4cd970721968a5
|
|
| MD5 |
85bced71758f742884da743c55370510
|
|
| BLAKE2b-256 |
99503ef4c328e0265f52bb8b580c92d8239d16ab11a000366e0512470862d1a1
|