Skip to content

Instantly share code, notes, and snippets.

@tacitphoenix
Created August 1, 2020 00:23
Show Gist options
  • Save tacitphoenix/45bb5818395bd0986328cd37e679d86e to your computer and use it in GitHub Desktop.
Save tacitphoenix/45bb5818395bd0986328cd37e679d86e to your computer and use it in GitHub Desktop.
Install codedeploy agent on an ec2 instance in us-east-1 region
#!/bin/bash
# update and dependencies
sudo yum update -y
sudo yum install ruby -y
sudo yum install wget -y
# install codedeploy agent
cd /home/ec2-user
wget https://aws-codedeploy-us-east-1.s3.us-east-1.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