Last active
January 17, 2021 22:14
-
-
Save ramonornela/672d2cffdaf9b2343030ee02113deaa6 to your computer and use it in GitHub Desktop.
This file contains 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
#!/usr/bin/bash | |
sudo yum -y update | |
sudo yum -y install ruby | |
sudo yum -y install wget | |
cd /home/ec2-user | |
region=`curl -s http://169.254.169.254/latest/meta-data/placement/region` | |
wget https://aws-codedeploy-$region.s3.$region.amazonaws.com/latest/install | |
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