Created
March 9, 2018 20:31
-
-
Save techyboy/e5ae88cfd64bcb2f6eeeb4086fb2133f to your computer and use it in GitHub Desktop.
UserData for CodeDeployAgent
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| sudo apt-get update -y | |
| sudo apt-get install python-pip -y | |
| sudo apt-get install ruby -y | |
| sudo apt-get install wget -y | |
| wget https://aws-codedeploy-us-east-1.s3.amazonaws.com/latest/install | |
| apt-add-repository ppa:brightbox/ruby-ng -y | |
| apt-get update | |
| apt-get install ruby2.2 ruby2.2-dev -y | |
| chmod +x ./install | |
| ./install auto | |
| service codedeploy-agent status | |
| service codedeploy-agent start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment