Skip to content

Instantly share code, notes, and snippets.

@djaney
Created May 20, 2017 08:36
Show Gist options
  • Save djaney/3384270d18e7238076126fcd47398e7d to your computer and use it in GitHub Desktop.
Save djaney/3384270d18e7238076126fcd47398e7d to your computer and use it in GitHub Desktop.
Install codedeploy agent
#!/bin/bash
yum -y update
yum install -y ruby
yum install -y aws-cli
cd /home/ec2-user
aws s3 cp s3://aws-codedeploy-us-east-1/latest/install . --region us-east-1
chmod +x ./install
./install auto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment