Last active
January 24, 2019 10:53
-
-
Save luckydev/242a226d1fc0c2bacda8bd089edba187 to your computer and use it in GitHub Desktop.
Install codedeploy agent in an EC2 instance
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 | |
sudo apt-get -y install ruby | |
sudo apt-get -y install wget | |
# this location varies for every region. replace aws-codedeploy-us-west-1 with name given here https://docs.aws.amazon.com/codedeploy/latest/userguide/resource-kit.html#resource-kit-bucket-names | |
wget -c https://aws-codedeploy-us-west-1.s3.amazonaws.com/latest/install | |
chmod +x ./install | |
sudo ./install auto | |
sudo service codedeploy-agent start | |
sudo service codedeploy-agent status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment