Live data from Hacker News

Ask HN: Heroku or AWS or?

news.ycombinator.com

11–16 of 16 posts

Re: Ask HN: Heroku or AWS or?

#11
I think it depend on how much you want to tweak the server and which framework you use.

For me, I use Zend Framework and AWS. So far so good and AWS release my loading effort in maintaining the whole system.

In my monthly bill, the most expensive AWS service was EC2 and RDS.

FYI: AWS Free Usage Tier charge me less then $1 every month during my development phase.

Re: Ask HN: Heroku or AWS or?

#12
post #5

Earlier quoted context omitted.

It does take time due to the security risks to be managed. But its not that much time and can be mostly automated. If the OP is new to server management then it might be a bit uphill.

Have you done any Django installations? I have a VPS with Ubuntu 12.04 and looking at how best to go about this? Currently looking at Chef.

I run a Django app on AWS Ubuntu machines managed by Chef. I have my own chef server, but you could also do hosted Chef to avoid the extra infrastructure.

Basically chef bootstraps the node from EC2, since you can only give it an initial keypair. Chef server will SSH into your box and install user accounts, the firewall, the webserver, tweak some settings (like mounting EBS volumes, restricting SSH, etc), install virtualenv and python. We use fabric to deploy, and that's when the code installs Django and whatnot in the virtualenv, as well as put the code on the machine.

Can't tell you if Chef is the best option. It's what I've been learning but it does have some rough edges. Finding the "right" cookbook is hard, because Opscode's listing isn't always the best. If you have concerns about using any particular setup to keep your environment homogenous (e.g. all init, upstart, runit, or supervisor) you'll have to put in quite a bit of work.

Re: Ask HN: Heroku or AWS or?

#14
post #5

Earlier quoted context omitted.

It does take time due to the security risks to be managed. But its not that much time and can be mostly automated. If the OP is new to server management then it might be a bit uphill.

Have you done any Django installations? I have a VPS with Ubuntu 12.04 and looking at how best to go about this? Currently looking at Chef.

I'd recommend using Ansible instead. I've found it to be much simpler than Chef and Puppet, especially if you only have 1 server to manage.

Re: Ask HN: Heroku or AWS or?

#16
Hey,

So I understand there can be hassle on how setup your own VPS Server on services like amazon, etc... but sticking to Heroku still isn't that cheep either.

If you have your Heroku app "production Ready" you might still be costing you 200 bucks a month.

Also Heroku isnt as stable and performant as for example amazon server. I migrated my app out of heroku to Amazon and got a 5X increase in performance while spending the same money I did on heroku, not to mention you have more controller over your servers where you can play around and increase performace even more.

And don't worry about setting up your own servers in amazon, Now youcan use OpsWork for deploying your apps, and its like having heroku on Amazon servers plus Root access to them.

cheers

Post reply on HN