Skip to content

Instantly share code, notes, and snippets.

@mikedao
Last active July 26, 2019 14:10
Show Gist options
  • Save mikedao/60e574afbe9755fc8dea to your computer and use it in GitHub Desktop.
Save mikedao/60e574afbe9755fc8dea to your computer and use it in GitHub Desktop.
Create VPC
Create Security Group
Create incoming and outgoing rules for SSH, HTTP, Sinatra and Rackup, 443
Create Key Pair
cd ~/.ssh
mv ~/Downloads/Turing.pem .
chmod 400 Turing.pem
ssh-add -k Turing.pem
Launch Instance
ubuntu 14.04
t2.micro
Select VPC
30 gigs of General Purpose SSD
select security group
Select key pair
Launch Instance
go to VPC
Go to Elastic IP
Allocate New address
Associate with VPS
ssh [email protected]
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git
sudo apt-get install curl
command curl -sSL https://rvm.io/mpapis.asc | gpg --import -
\curl -sSL https://get.rvm.io | bash -s stable
source /home/ubuntu/.rvm/scripts/rvm
rvm requirements
rvm install 2.1
gem install bundler
git clone https://github.com/mikedao/ideabox.git
cd ideabox
rackup -p 4567
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment