Skip to content

Instantly share code, notes, and snippets.

@xli
Last active August 29, 2015 14:22
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 xli/65352c95199e5b51c94f to your computer and use it in GitHub Desktop.
Save xli/65352c95199e5b51c94f to your computer and use it in GitHub Desktop.
eb_deployer-environments-config-example.yml
common:
phoenix_mode: true #default to false
environments:
dev:
phoenix_mode: false # turn off for dev env for faster deployment
strategy: inplace-update # default strategy: blue-green
option_settings:
- namespace: aws:elb:loadbalancer
option_name: SSLCertificateId
value: <dev-ssl-certificate-arn> # environment specific ssl certificate configuration
...
staging:
option_settings:
- namespace: aws:autoscaling:asg
option_name: 'MinSize'
value: "2"
- namespace: aws:elb:loadbalancer
option_name: SSLCertificateId
value: <stg-ssl-certificate-arn>
...
prod:
option_settings:
- namespace: aws:elb:loadbalancer
option_name: SSLCertificateId
value: <prod-ssl-certificate-arn>
- namespace: aws:autoscaling:asg
option_name: MaxSize
value: "6"
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment