Last active
July 26, 2017 03:11
-
-
Save damianesteban/bd1f0422269d20f4c9c87606b7f76eea to your computer and use it in GitHub Desktop.
Simple bash script to bootstrap an EC2 instance with cfn and node.js
This file contains 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
cd /home/ec2-user | |
sudo yum update -y aws-cfn-bootstrap | |
sudo yum install -y aws-cli | |
sudo yum install -y python27-devel python27-pip gcc | |
curl -sL https://rpm.nodesource.com/setup_8.x | sudo bash - | |
sudo yum install -y nodejs | |
sudo npm install pm2 -g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment