Skip to content

Instantly share code, notes, and snippets.

@SaschaMoellering
Created September 7, 2015 09:51
Show Gist options
  • Save SaschaMoellering/c6ee24ec999325c43e90 to your computer and use it in GitHub Desktop.
Save SaschaMoellering/c6ee24ec999325c43e90 to your computer and use it in GitHub Desktop.
EC2 User Data to update packages, install docker and start ingestion container
#!/bin/bash -ex
yum -y update
yum install docker -y
service docker start
docker run autoscaling/ingestion-service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment