Created
August 1, 2020 00:23
-
-
Save tacitphoenix/45bb5818395bd0986328cd37e679d86e to your computer and use it in GitHub Desktop.
Install codedeploy agent on an ec2 instance in us-east-1 region
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 | |
# update and dependencies | |
sudo yum update -y | |
sudo yum install ruby -y | |
sudo yum install wget -y | |
# install codedeploy agent | |
cd /home/ec2-user | |
wget https://aws-codedeploy-us-east-1.s3.us-east-1.amazonaws.com/latest/install | |
chmod +x ./install | |
sudo ./install auto |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment