Skip to content

Instantly share code, notes, and snippets.

@hkjn
Created June 3, 2015 14:50
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 hkjn/0dfabfd2fb8f7ebe28fb to your computer and use it in GitHub Desktop.
Save hkjn/0dfabfd2fb8f7ebe28fb to your computer and use it in GitHub Desktop.
cloud-config.yaml for AWS using etcd2
coreos:
etcd2:
discovery: https://discovery.etcd.io/[...]
advertise-client-urls: http://$private_ipv4:2379
initial-advertise-peer-urls: http://$private_ipv4:2380
listen-client-urls: http://0.0.0.0:2379
listen-peer-urls: http://$private_ipv4:2380
units:
- name: docker.service
command: start
- name: etcd2.service
command: start
- name: fleet.service
command: start
fleet:
metadata: "platform=aws,region=eu-west-1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment