Skip to content

Instantly share code, notes, and snippets.

Created September 3, 2015 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/7824c2cc5273c0502fe6 to your computer and use it in GitHub Desktop.
Save anonymous/7824c2cc5273c0502fe6 to your computer and use it in GitHub Desktop.
base_ec2_private:
provider: ec2
image: ami-02dc4c6b
size: Micro Instance
ssh_username: root
my_ec2_ap_southeast_2_private_ips:
# ip address salt-cloud should connect to
ssh_interface: private_ips
# aws credentials
id:string
key: 'key'
# ssh key
keyname: my_salt_cloud_key
private_key: /etc/salt/my_salt_cloud_key
# aws location
location: us-east-1
availability_zone: us-east-1a
# aws security group
securitygroup: MySecurityGroupSaltCloudInstances
# aws ami
size: Micro Instance
# delete aws root volume when minion is destroyed
del_root_vol_on_destroy: True
# local user
ssh_username: root
# rename on destroy
rename_on_destroy: True
provider: ec2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment