Skip to content

Instantly share code, notes, and snippets.

@dvdopi
Created August 26, 2022 06:57
Show Gist options
  • Save dvdopi/0d5f8754ecd73e78c3c3f6160c3d557c to your computer and use it in GitHub Desktop.
Save dvdopi/0d5f8754ecd73e78c3c3f6160c3d557c to your computer and use it in GitHub Desktop.
install_codedeploy_agent_linux.sh
sudo yum update
sudo yum install ruby
sudo yum install wget
wget https://{bucket-name}.s3.amazonaws.com/latest/install
chmod +x ./install
sudo ./install auto
## bucket-name represents one of the following:
## aws-codedeploy-us-east-1 for instances in the US East (N. Virginia) region
## aws-codedeploy-us-west-1 for instances in the US West (N. California) region
## aws-codedeploy-us-west-2 for instances in the US West (Oregon) region
## aws-codedeploy-eu-west-1 for instances in the EU (Ireland) region
## aws-codedeploy-eu-central-1 for instances in the EU (Frankfurt) region
## aws-codedeploy-ap-northeast-1 for instances in the Asia Pacific (Tokyo) region
## aws-codedeploy-ap-southeast-1 for instances in the Asia Pacific (Singapore) region
## aws-codedeploy-ap-southeast-2 for instances in the Asia Pacific (Sydney) region
## aws-codedeploy-sa-east-1 for instances in the South America (São Paulo) region
sudo service codedeploy-agent status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment