Skip to content

Instantly share code, notes, and snippets.

@tkssharma
Created January 7, 2017 13:25
Show Gist options
  • Save tkssharma/ad8584edfc96ba37e3be497b2251c492 to your computer and use it in GitHub Desktop.
Save tkssharma/ad8584edfc96ba37e3be497b2251c492 to your computer and use it in GitHub Desktop.
aws EC-2 startup script for Code Deploy
#!/bin/bash
yum install -y aws-cli
cd /home/ec2-user/
aws s3 cp 's3://aws-codedeploy-us-east-1/latest/codedeploy-agent.noarch.rpm' . --region us-east-1
yum -y install codedeploy-agent.noarch.rpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment