Last active
May 8, 2020 13:43
-
-
Save saxenap/e5db4e821e2009655f2262c15212ddb6 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
#!/bin/bash | |
# rm -rf codedeploy_agent && wget -O codedeploy_agent https://gist.githubusercontent.com/saxenap/e5db4e821e2009655f2262c15212ddb6/raw/ && chmod 777 codedeploy_agent && ./codedeploy_agent | |
sudo yum -y update | |
sudo yum -y install ruby | |
sudo yum -y install wget | |
cd /home/ec2-user | |
wget https://aws-codedeploy-us-east-2.s3.us-east-2.amazonaws.com/latest/install | |
chmod +x ./install | |
sudo ./install auto | |
# Get status - | |
# sudo service codedeploy-agent status | |
sudo service codedeploy-agent start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment