7 ms·
I used to love Heroku but it's just too darn rigid. I hate the fact that everything is done behind the velvet curtain and I'm just assured it's "going smoothly"
by sergiotapia 14y ago
I used to love Heroku but it's just too darn rigid. I hate the fact that everything is done behind the velvet curtain and I'm just assured it's "going smoothly".
Last week I finally bit the bullet and bought a VPS from DigitalOcean and installed the bits and kibbles needed for Rails apps. Specifically Nginx and Passenger. Was it easy? No - but now I have total control over my machine, and my app (which let's face it, will probably never need to scale for millions of users at a time) is in my complete control.
Heroku doesn't even have a local filesystem, what's up with that?
- 33degrees 14y agoYou may have complete control, but you also have a lot more responsibility; for tuning your software, and keeping it up to date. I recently got bitten by a bug with an out of date version of apache, where the whole server would become unresponsive under heavy load; trying to update it without bringing the entire server down was a fairly stressful operation.
- adamnemecek 14y agoThere really is a missing link between heroku and aws where one would have more control than on heroku but less devops problems than on aws. And if done right, people would be throwing money at it. I guess that is that elasticbeanstalk and opsworks are trying to solve.
- sergiotapia 14y agoThis is what I thought Action.io would be, but after a support ticket where I asked them about this use case, they said: === "Hi Sergio - Thanks for the note and glad you like action.io. Please keep in mind however that Action.IO is not a hosting platform - we are a cloud development platform that works with hosting providers such as Heroku, AppFog, EngineYard or Google App Engine. You can read more about how you can deploy to Heroku from Action.IO here: http://help.action.io/customer/portal/articles/1011326-deploying-rails-app-to-heroku- http://help.action.io/customer/portal/articles/1011326-deplo... === So like you said, someone fills in this hole, and a lot of people would love pay for it. I don't need to add even MORE services for something as simple as file storage for uploads.
- douglasisshiny 14y agoI had heard of Elastic Beanstalk but not OpsWorks. Thank you for mentioning that. I haven't tried it, but Cloud66 is another provider in this middle ground (they don't host, but provide you the devops tools to do so on amazon, digital ocean, etc.).
- adamnemecek 14y agoI've heard of Cloud66. Is it any good?
- douglasisshiny 14y agoI haven't tried it. It does look like a great service. One thing, however, that I don't think it provides is auto-scaling (i.e. provisioning additional servers or removing servers when they are (not) needed). If they were able to provide that, I think it would rule out a need for Heroku completely.
- nodemaker 14y agoIs 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.
- mgkimsal 14y agoWhat was it that caused you to change? "I used to love Heroku but it's just too darn rigid. I hate the fact that everything is done behind the velvet curtain and I'm just assured it's "going smoothly"." I've admired their marketing and infrastructure, but have never been a fan of heroku specifically, precisely because of the "everything behind a curtain". But I felt that on day one - I never "used to love" Heroku.
- sergiotapia 14y agoEssentially the number one reason I left was no file storage. I could deal with things being hidden from me, I could with paying a premium price, but I could not deal with using yet another service for something as simple as file storage. I wish Heroku would add static file storage to their roster.
- fomb 14y agoThere is a local filesystem on a dyno, but it's ephemeral. They are ephemeral for a good reason too: http://12factor.net/processes http://12factor.net/processes
- sergiotapia 14y agoI know about that. Still not useful for 99% of the use cases where you would need ot save files.