Skip to content

Instantly share code, notes, and snippets.

@ecelis
Created February 22, 2019 03:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ecelis/44166ef793f0cfbf7b9a9c9d3369f9bb to your computer and use it in GitHub Desktop.
Save ecelis/44166ef793f0cfbf7b9a9c9d3369f9bb to your computer and use it in GitHub Desktop.
Provision CodeDeploy Agent to EC2 AWS AMI (RHEL/CentOS)
#!/bin/bash
sudo yum -y update
sudo yum -y install ruby
sudo yum -y install wget
cd /home/ec2-user/
wget https://aws-codedeploy-us-east-1.s3.amazonaws.com/latest/install
chmod +x ./install
sudo ./install auto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment