Skip to content

Instantly share code, notes, and snippets.

@rterbush
Created July 21, 2015 13:20
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 rterbush/6c6644ae292e4ab892b1 to your computer and use it in GitHub Desktop.
Save rterbush/6c6644ae292e4ab892b1 to your computer and use it in GitHub Desktop.
Salt config
base-ec2-linux:
provider: aws-us-west-2a-private-ips
image: ami-xxxxx
size: t1.micro
haproxy-gateway:
extends: base-ec2-linux
keyname: stage-ssh-application
iam_profile: profilename
network_interfaces:
- DeviceIndex: 0
PrivateIpAddresses:
- Primary: True
AssociatePublicIpAddress: True
SubnetId: subnet-xxxxx
SecurityGroupId: sg-xxxxx
tag: {'Environment': 'staging', 'Role': 'proxy'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment