Skip to content

Instantly share code, notes, and snippets.

@eMahtab
Last active August 14, 2018 11:54
Show Gist options
  • Save eMahtab/fd2985fe77d9d7444bcb2d406f424475 to your computer and use it in GitHub Desktop.
Save eMahtab/fd2985fe77d9d7444bcb2d406f424475 to your computer and use it in GitHub Desktop.
Installing AWS Code Deploy Agent on EC2
#!/bin/bash
sudo yum update -y
sudo yum install ruby
cd /home/ec2-user
aws s3 cp 's3://aws-codedeploy-us-east-1/latest/codedeploy-agent.noarch.rpm' . --region us-east-1
sudo 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