Skip to content

Instantly share code, notes, and snippets.

@tschutte
Last active February 19, 2016 20:22
Show Gist options
  • Save tschutte/3182549229dc0ca7563c to your computer and use it in GitHub Desktop.
Save tschutte/3182549229dc0ca7563c to your computer and use it in GitHub Desktop.
ecs user_data
#!/bin/bash -xe
yum install -y aws-cli aws-cfn-bootstrap jq
echo ECS_ENGINE_TASK_CLEANUP_WAIT_DURATION=10m >> /etc/ecs/ecs.config
echo ECS_LOGLEVEL=debug >> /etc/ecs/ecs.config
echo ECS_CLUSTER=ecs-ami-test-TESTECSCluster-1XUBJGR84C1NV >> /etc/ecs/ecs.config
echo ECS_ENGINE_AUTH_TYPE=dockercfg >> /etc/ecs/ecs.config
start ecs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment