by tjpd · 10y ago · 0 comments
IMHO you should go with Heroku and ignore anyone who's suggesting dedicated servers, VPSes, AWS, Docker or containers. Every moment you spend maintaining a server or doing devops is wasted because it's time not spent building or marketing your _app_.
New startups' biggest expense is founders' time. It seems a lot of people, even on HN, don't realise it because it's a hidden cost. But if you think that a decent developer is worth at least $50/hr and it might take you an 1hr to set up and 1hr/yr to manage a server (e.g. apply patches, update security) then you're better off not spending those 2hrs and paying an extra $100 hosting your app.
Worrying about the future infrastructure cost is also wrong-headed. It's a kind of premature optimisation. To get the real, expected future cost, the projected infrastructure cost has to be multiplied by the probability that you'll actually get big, which for start-ups, is very low.
> But if you think that a decent developer is worth at least $50/hr and it might take you an 1hr to set up and 1hr/yr to manage a server (e.g. apply patches, update security) then you're better off not spending those 2hrs and paying an extra $100 hosting your app.
It doesn't change your point (it enhances it actually) but I'd say you need the 1hr/1hr for heroku (to learn their way of doing things etc.) and 24h/8h for the self-hosted, based on my experiences. But I am not a linux whizz.
Heroku is something you need to learn, and doesn't follow standard configurations. A Django install on Heroku is completely different from a regular Django install.
But if you're a developer, then you likely already know Unix/Linux, and you can just use standard installs of packages that you are already using.
Your own server or shared hosting is the easiest.
However, it's worth noting that this very much depends on how experienced you are at system administration.
For example, I've been setting up servers (usually for my own businesses) for a couple of decades.
It's thus far cheaper for me to do that than to jump onto Heroku and learn how it works.
However, you can still leverage the AWS managed services selectively so the two of them work together. EG: - AWS S3, AWS SQS