4 ms·
Is passenger the best way to deploy a rails(postgres) app on an EC2 instance? I have been trying to find a good solution for this for a cpl weeks now.
by nodemaker 14y ago
Is passenger the best way to deploy a rails(postgres) app on an EC2 instance? I have been trying to find a good solution for this for a cpl weeks now.
- sanswork 14y agoI've tried just about every server solution for rails and in the end settled on passenger + nginx. It's easy to setup/manage. And more importantly easy to automate setup/management(I use puppet for all my servers). It's also simple to monitor. There are almost certainly other stacks that are faster but the difference is small enough that I'm better optimizing elsewhere and saving the headache.
- nodemaker 14y agoI know I can google and figure this out, but how exactly can I deploy a rails app with git to an EC2 instance. I want to do something like I can do on Heroku(git push heroku master) with an EC2 instance.
- 33degrees 14y agoYou can use Amazon's elastic beanstalk http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Ruby_rails.html http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create...
- notdan 14y agoI would like something similar that can be used for any VPS. So if I get a box from Linode or Rackspace, for example (or even a real server), is there an easy way to have ngnix+passenger+git+backups etc setup and configured in a secure way without having to manually do it all myself?
- 33degrees 14y agoDepends what you mean by "best". It's certainly the simplest, and performant enough for most cases.
- nodemaker 14y agoBy best I mean simple and powerful enough that I dont need to worry about till at least a hundred thousand requests a day.