44a92cadb5b15a040e0c7a3c19cabced

When to move away from Heroku - the cost analysis

The problem

Are you using Heroku or a similar provider and you are not sure how cost-effective it is in the long run?

Are there other limitations of a Platform-as-a-Service of your choice and it would be great to know how expensive and complicated it is to migrate if necessary?

If you are concerned by either of these let me show you if and when it’s worth to start considering a change.

The tool

Based on years of experience on both ends (our own PaaS, customized solutions), we created a simple tool for comparing the price between Heroku and a customized solution. The bespoke platform consists of a code which sets up all services on top of a server infrastructure provider (AWS in our example) and is maintained and supported by a team of administrators.

'Heroku vs a custom solution based on AWS - the cost analysis' spreadsheet

Heroku vs a custom solution based on AWS

All prices are based on our own experience in building hosting solutions. Please keep in mind the spreadsheet may not be sufficient to make real life decisions regarding your hosting needs. The purpose is to help you find the ballpark cost when PaaS solutions (Heroku in our example) stop being cost effective in the long run. There are many aspects that make both options hard to compare. We made certain simplifications and assumptions described below. Feel free to make your own copy and adjust the numbers to your situation and requirements.

Where do we break even

There are 2 important takeaways from the spreadsheet:

The first case is an app or a set of apps with requirements of around 168GB of RAM and an estimated cost of $7620 with premium support on Heroku.

The custom solution saves around $1001 monthly and gives a return of investment after 15 months.

The second case is an app or a set of apps with requirements of around 112GB of RAM and an estimated cost of $4350 without support on Heroku.

The custom solution saves around $1085 monthly and gives a return of investment after 14 months.

Similarities

Even though both solutions are not perfect substitutes, they provide a similar set of features important from the developer and business owner standpoint:

Assumptions and simplifications

In order to make the spreadsheet relatively simple, we introduced certain assumptions and simplifications:

Summary

I hope, the presented tool is going to answer at least some of your questions. Feel free to leave a comment and let us know what would you like to learn about next. Please keep in mind that any actual implementation requires a much more thorough analysis. The spreadsheet’s role is to help you understand the ballpark cost. If you would like to go into details just drop me a line at [email protected] and check what kind of problems we solve for our clients.

At Ragnarson we help companies deliver great products. We take care of development and deployment so that they can focus on growing the product and working with customers.

Work with us