Skip to content

Instantly share code, notes, and snippets.

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 chiragnayyar/661eefb7dd0115fe9c1cd6e795cf5dd8 to your computer and use it in GitHub Desktop.
Save chiragnayyar/661eefb7dd0115fe9c1cd6e795cf5dd8 to your computer and use it in GitHub Desktop.
Install code deploy agent on ubuntu server
#!bin/bash
sudo apt-get -y update
sudo apt-get install -y python-pip
sudo apt-get install -y ruby2.0
sudo pip install awscli
cd /home/ubuntu
sudo aws s3 cp s3://aws-codedeploy-us-east-1/latest/install . --region us-east-1; sudo chmod +x ./install;sudo ./install auto
sudo service codedeploy-agent status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment