by mvanga · 6y ago · 0 comments
The amount of complexity and interdependencies these "here's my stack" posts describe are always a huge cognitive overhead for running a one-person SaaS.
Heroku costs more, but there's a reason for it. If you're even remotely making money from your product, and are alone in running the show, it's a no brainer to drop a couple hundred dollars a month to eliminate 99% of your ops headaches: the documentation, the add-on's, the fantastic UI, decent reliability, and ease of operations are totally worth it. Literally the worst thing one can say about Heroku is the cost, and possibly, the inability to build certain complex architectures (which most single-person SaaS services aren't).
Docker containers avoid the lock-in of a particular platform or CLI, and they can also be used as cheap CI/CD with multi-stage builds within the container.
If you're on Heroku or Google App Engine, you deploy your application code. That's it.
You can choose to build on a scratch/blank image just as easily, which means nothing except your app itself is in the image.
My SaaS has grown from $50/month costs to over $2k/month costs on Heroku over the last few years and I'm always eyeing AWS and others as a cheaper alternative, but honestly the ease of mind Heroku gives me is more than enough to cover the costs. I've had a few "hugs of death" over the years when posts went viral and scaling up both in quality and number of servers was literally just a few mouse clicks and then I was back online. Other times, when e.g. Postgres fell over from heavy use, their support brought it back online for me free of charge (and quickly), and offered a list of helpful suggestions that I could do to keep it from happening again.
I see paying extra for Heroku like paying extra for a devops guy. If you're comfortable enough in AWS to handle things in the heat of downtime, it's probably worth moving because it's significantly cheaper. If you aren't, then Heroku might be a pretty invaluable resource even when growing into the upper echelons of cost.
For many projects this is more than enough. However, in my case I would be paying 2-3x more if I was using Heroku.
With Kubernetes, in case I wanted to deploy new projects or even spin up a "testing" env, I can use the same stack/cluster, and not have my costs increase.
I do realize that this is not for everyone. But for me it just made sense, and enabled me to work on new features faster than before.
So it wouldn't make sense for me to use Heroku (a tool I don't have much experience with), and pay more.
In terms of use of my time, to be honest I currently spend way more time sending emails, updating docs, and on "marketing" than on devops :)
The vendor whom we replaced = somewhere above $5000/mo (just infra)
Our final, most costly, GCP spend, including support contract = about $2000/mo (this involves a bunch of inefficiencies caused by developers unable to live with container - or dynos)
Expected Heroku cost, based on their online calculator= starts at $3000/mo, probably more
Expected lower time needed developing on Heroku = negligible
We’re an Aussie company, and a large percentage of our customers are in Australia. Having servers only in the US and Europe mean that Australian customers speeds are slower than they should be, and private spaces are far too expensive to warrant it.
It has almost all the same features and runs at almost any GCP location.
Is that what you're doing? "Standard" dynos and just a few of them are working for you, I assume, for that budget? In my tests, with a Rails app, "standard" dynos are looking surprisingly slow, possibly unacceptably so. Very curious to hear about other people's heroku formations if anyone wants to share. What platform you're on (Rails or something else), and what your response times look like, would also be interesting.
I'll take a look, it definitely looks interesting, thanks!
These both are k8s under the hood but with everything extracted away to a heroku level, but much cheaper. Additionally, they both provide static site hosting like netlify.
For user-facing work, I use performance dynos.
Heroku _is_ expensive, but in exchange, you don't have to worry much at all about the ops side of things.
YMMV, it may not be suitable if you need to be profitable each month and can't afford to spend the baseline cost of, say, $1,000/month.
But once you are using a single performance dyno, you are unlikely looking at a bill that's only "couple hundred dollars a month".
Thanks for confirming you use performance dynos for user-facing stuff -- I thought I was going insane discovering that it didn't look like standard dynos were suitable for that for me -- is "everyone else" using them though? The heroku docs imply they are indeed... standard (that's the name), and the performance dynos are for unusual performance needs.
Which is not what it was looking like to me.
Based on my current investigations, I agree being prepared to spend $1000/month is a better back of the napkin to-start-with estimate.
Which, sure, is quite possibly still a value compared to the number of hours you'd be spending setting up and maintaning something else. Quite possibly! But it's not "a couple hundred dollars a month".
My one complaint is that their support seems to have gotten worse over the years - they used to have great support engineers across the board, but have hired poorly recently, specifically in off-shore markets, so depending on what time you send in a ticket request, you may get someone who doesn't fully read your ticket or comprehend the situation, and just fires back a canned reply.
This usually gets solved if there is enough back-and-forth as they then seem to escalate it properly, but I have noticed that the initial reply to support tickets are not as good as they used to be.
I would never recommend Heroku for my employer or for any company that has real production loads and a budget for administrators that know how to set it all up: Heroku does seem to get prohibitively expensive at larger scale. But for hobby projects that get couple of hundred requests per day this is more than enough, and if one of them gets too successfull, I'll just pay someone for a day or two of work for migrating my code to other hosted platform - and since I never use vendor-specific tech, this shouldn't be too hard to do.