Capistrano: start EC2 instance, install ruby+passenger+nginx+deploy app in ~ 5 minutes

Hope this helps someone, took some time to get it working 🙂

The gist of it

create a default group with ssh + http allowed
create a key-pair and download it
adjust with your aws credentials
cap env:server:start # creates 1 micro ec2 instance 3cents/hour
cap env:setup
cap deploy
cap env:server:stop

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s