Last active
November 21, 2015 09:10
-
-
Save AtsushiA/62e3e4c049955ae181df 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 | |
# install CodeDeploy agent | |
sudo yum -y update | |
sudo yum install -y ruby | |
sudo yum install -y aws-cli | |
mkdir -p /tmp/codedeploy_agent | |
cd /tmp/codedeploy_agent | |
aws s3 cp s3://aws-codedeploy-us-east-1/latest/install . --region ap-northeast-1 | |
chmod +x ./install | |
sudo ./install auto | |
# check CodeDeploy Service | |
sudo service codedeploy-agent status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo curl -L https://gist.githubusercontent.com/AtsushiA/62e3e4c049955ae181df/raw/b6a1fc701355db248647662822e9621ee0d82ad8/install%2520CodeDeploy%2520Agent | bash