Skip to content

Instantly share code, notes, and snippets.

@p-s-dev
Last active July 2, 2017 23:56
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 p-s-dev/d68705850f6f104e7609d381e2723b13 to your computer and use it in GitHub Desktop.
Save p-s-dev/d68705850f6f104e7609d381e2723b13 to your computer and use it in GitHub Desktop.
commands to run when an ecs host starts
#!/bin/bash
sudo su ec2-user
cd
curl -O https://bootstrap.pypa.io/get-pip.py
sudo apt-get install -yy python-minimal
python get-pip.py --user
pip install awscli --upgrade --user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment