Skip to content

Instantly share code, notes, and snippets.

@osazemeu
Forked from yetanotherchris/docker-ecs-tools.sh
Created June 12, 2017 15:47
Show Gist options
  • Save osazemeu/4b672d69ded8aba56cbfabad3522624b to your computer and use it in GitHub Desktop.
Save osazemeu/4b672d69ded8aba56cbfabad3522624b to your computer and use it in GitHub Desktop.
Docker ECS tools installation for Amazon Linux
echo "======= Installing Additional tools ======= "
# Docker
sudo yum -y install docker
sudo service docker restart
sudo systemctl status docker | grep active
# Python and PIP
echo "Installing Python and Pip"
sudo yum -y install python-setuptools
sudo easy_install pip
# AWS CLI
echo "Installing AWS CLI"
sudo pip install awscli
# AWS ECS CLI
echo "Installing AWS ECS CLI"
sudo curl -o /usr/local/bin/ecs-cli https://s3.amazonaws.com/amazon-ecs-cli/ecs-cli-linux-amd64-latest
sudo chmod +x /usr/local/bin/ecs-cli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment