I agree with a lot of the sentiments here, namely that is depends, and that Heroku is great for the those who don’t have sysadmin tattooed on their back. Of course this is dependant on whether a team can afford to use Heroku or are looking to save costs.
If you’re feeling a little bit brave, I can recommend Dokku. I should put in a disclaimer that I’ve been playing on Linux for as long as I can remember and setting up Postgres isn’t much of a bother for me, but I totally understand it not being terribly easy, and somewhat daunting for the newcomer.
In my case at the moment, I’m working on a project with one other dev and a subject matter expert. I’m running Django and Postgres on two servers and using Dokku on Linode. This alternative is saving us many tens of dollars a month (this project is done in our spare time and hasn’t got an income yet).
Dokku even has a plugin for Postgres, which should (I’m doing Postgres the old school way) give you Heroku like features for both Django and Postgres. Mind you, I would think you would need two repos, one for Django and one for your Postgres Docker file, as a Dokku repo can only support one dockerfile if I’m not mistaken and it doesn’t support docker-compose files.
Using Dokku means that with a little bit of sysadmining at the start of the project, one can have PaaS like features on any cloud provider they wish.
And whilst I’m on the subject, I think Dokku would be a great fit for your latest book, @wsvincent, Django For Professionals, but appreciate that setting up Dokku is not really in scope for your book. Might work very well as a blog post if I don’t beat you to it! (very unlikely and my mum isn’t likely to have a need for Dokku anytime soon).
I should of course finish up by acknowledging that this isn’t something for everyone, but it might just be an easy enough entry into basic sysadmin linux stuff with a juicy reward, that it might just tempt a few to give it a go.
And at @jeff, I never knew that cloudflare had a free plan. That might in fact help me out very much, as my project is working with a uni in Norway and one in Australia. The project is hosted in Stockholm and very zippy up here in the North, but not so fantastic in Australia on, what is the world’s largest LAN party. Thanks for the tip, I’m off to check it out!