Skip to content

Instantly share code, notes, and snippets.

@AtsushiA
Last active November 21, 2015 09:10
Show Gist options
  • Save AtsushiA/62e3e4c049955ae181df to your computer and use it in GitHub Desktop.
Save AtsushiA/62e3e4c049955ae181df to your computer and use it in GitHub Desktop.
#!/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