Skip to content

Instantly share code, notes, and snippets.

@oLeVanNinh
Last active August 3, 2020 14:33
Show Gist options
  • Save oLeVanNinh/849a5d7e1f530b9d618c37a57fb97828 to your computer and use it in GitHub Desktop.
Save oLeVanNinh/849a5d7e1f530b9d618c37a57fb97828 to your computer and use it in GitHub Desktop.

For boostraping ec2 instance

#!/bin/bash
yum -y update
yum install -y ruby
yum install -y aws-cli
cd /home/ec2-user
aws s3 cp s3://aws-codedeploy-us-east-1/latest/install . --region us-east-1
chmod +x ./install
./install auto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment