Created
October 3, 2016 13:10
-
-
Save duduribeiro/348c52889858d77029af0af47632581f to your computer and use it in GitHub Desktop.
EC2 UserData script to install CodeDeploy agent (debian based)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt-get -y update | |
apt-get -y install awscli | |
apt-get -y install ruby2.0 | |
cd /home/ubuntu | |
aws s3 cp s3://aws-codedeploy-us-east-1/latest/install . --region region-name | |
chmod +x ./install | |
./install auto |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment