Skip to content

Instantly share code, notes, and snippets.

@vitran96
Last active August 6, 2021 15:50
Show Gist options
  • Save vitran96/8cae359318bbf01ba6a9779349c4707a to your computer and use it in GitHub Desktop.
Save vitran96/8cae359318bbf01ba6a9779349c4707a to your computer and use it in GitHub Desktop.
#!/bin/bash
sudo apt update
sudo apt install -y ruby-full wget
# This is for us-east-2 only
# use this snippet for other region
# wget https://aws-codedeploy-<REGION>.s3.<REGION>.amazonaws.com/latest/install
wget https://aws-codedeploy-us-east-2.s3.us-east-2.amazonaws.com/latest/install
chmod +x ./install
sudo ./install auto > ./codeDeployAgentInstallation.log
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker $USER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment