I have created a Sinatra application, which I want to run on Amazon EC2. I know there is heroku, but having Amazon EC2 as another option would be nice. One other reason is that there is this timeout issue on heroku (source):
The Heroku routing mesh detects and terminates requests taking more than 30 seconds to respond.
Up to now I created a micro instance with Ubuntu, and installed required libraries, and got my Sinatra application running by ruby -rubygems app.rb
command. What I need to do is get my app running all the time, as long as server is running, not just the time between I run the command above and quit the command line. Do you know any simple and lightweight solution to do this?