Go to the Cloudformation Wizard
Recommended values:
- ClusterSize: 1 node
- Discovery URL: as it says, you need to grab a new token from https://discovery.etcd.io/new and paste it in the box.
- KeyPair: the name of the AWS keypair you want to use. If you haven't already, you'll want to upload your local ssh key into AWS and create a named keypair.
$ sudo mkdir -p /opt/sync_gateway/data
$ sudo chown -R core:core /opt/sync_gateway/data
$ SYNC_GW_CONFIG=https://raw.githubusercontent.com/tleyden/sync_gateway/master/examples/gen_y_hackathon.json
$ sudo docker run --name sync_gw --net=host -v /opt/sync_gateway/data:/opt/sync_gateway/data tleyden5iwx/sync-gateway-coreos sync-gw-start -c master -g $SYNC_GW_CONFIG