Skip to content

Instantly share code, notes, and snippets.

@DorkNstein
Created February 19, 2020 00:08
Show Gist options
  • Save DorkNstein/0d63715b0e5e28c9a68fb9dcdebcfe0b to your computer and use it in GitHub Desktop.
Save DorkNstein/0d63715b0e5e28c9a68fb9dcdebcfe0b to your computer and use it in GitHub Desktop.
# Create CodeDeploy in AWS IAM
# Follow: https://levelup.gitconnected.com/set-up-a-continuous-delivery-pipeline-from-bitbucket-to-aws-ec2-using-aws-code-deploy-a9777a3cbcad
sudo yum update -y \
&& sudo yum install ruby wget -y \
&& 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 \
&& sudo service codedeploy-agent start \
&& sudo service codedeploy-agent status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment