Skip to content

Instantly share code, notes, and snippets.

@lukehutton
Created May 13, 2015 23:35
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 lukehutton/63f72e8d10a1c985bbad to your computer and use it in GitHub Desktop.
Save lukehutton/63f72e8d10a1c985bbad to your computer and use it in GitHub Desktop.
Install AWS CodeDeploy agent on Ubuntu 12.04 Precise - Officially supported on Ubuntu Server 14.04 LTS only, see http://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-run-agent.html#how-to-run-agent-supported-oses
#!/usr/bin/env bash
sudo apt-get install software-properties-common
sudo apt-add-repository ppa:brightbox/ruby-ng
sudo apt-get update
sudo apt-get install python-pip
sudo pip install awscli
sudo apt-get install ruby2.0
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment