+91 77362 71566 admin@gotmenow.com

Heroku or DigitalOcean?

In short, DigitalOcean is usually what you want or will eventually want but you may consider Heroku in certain circumstances.

Heroku is like cPanel PHP/MySQL hosting (e.g. GoDaddy hosting) but it provides a web UI that is a huge leap beyond cPanel and provides support for Node.js, Python, MongoDb, microservices and lots of other interesting, useful, cool and enterprise worthy software. The advantages over DigitalOcean (which are similar to cPanel advantages) are:

  1. No need to perform OS upgrades
  2. No need to manually install applications from command line
  3. Much easier to configure applications and usually no need to troubleshoot
  4. Configuration consistency
  5. Backups (well, sort of)
  6. Scaling “in the middle”

 Heroku advantages to DigitalOcean

  Let’s see how much of a disadvantage that these are on DigitalOcean.

1. DigitalOcean comes with an OS pre-installed so you are only responsible for OS updates and upgrades. OS updates usually only take a few minutes per month and the only impact might only be down for a 20 seconds if you decide to reboot. OS upgrades are more serious but maybe only occur 1 – 2 per year.

They can slow down the VM for an hour, force reboots and can break your application temporarily (e.g. after Apache was upgraded, I saw the PHP extension was disabled so I had to fix that quickly). It’s hard to remember to update the OS and annoying to have to quickly fix the occasional issue that breaks your app (which is why you don’t do automatic updates). Heroku can handle these upgrades seemlessly. It’s an advantage but it is worth choosing Heroku for that? No.

Benefits of Using Invoicing Software. Simplifying your company’s accounting

2. On DigitalOcean, you have to install your own servers. This is a one-time cost and can usually be done in a day . if you haven’t got absolutely crazy with your architecture. Installing Linux packages is pretty easy and error free these days. And, you only need to do it once. Heroku takes care of this for you. Is it worth it to pay month after month to save a day? No.

What is better, Heroku or DigitalOcean?

3. When you install your servers on DigitalOcean, you have to edit the configuration files and get everything working. The main stuff usually works but I had a sendmail application configuration issue the lingered for 4 months. On Heroku (and even cPanel!), I would not have to contend with this issue.

It was a lot of hair pulling but I figured it out and, once I figured it out, I’ll always have the answer. Maybe it’s worth it to use Heroku for a while if you want to focus on development instead of fixing these kind of issues. Maybe.

4. If you grow a lot, you will need to upgrade your VM. DigitalOcean currently requires you to move your app from the old VM and reinstall everything on the new VM. This is a hassle and, if you have been sloppy, you’ll have to recover and reapply all the tweaks that you made and forgot about on your original VM.

If you need multiple VMs, their configurations can diverge unless you are careful. Bu Heroku’s UI makes your configuration much more vanilla, consistent and upgradable. But, still, you have to grow A LOT. Many apps will never outgrow the original VM.

5. Heroku takes care of backups BUT you should not rely on it. You need to do your own backups, period. If Heroku loses your data, they will still be in business but you may not.

What is a droplet on Digital Ocean?

6. If your app runs on a single VM for a while, you don’t need scaling. You can casually upgrade your VM as you see the problem coming. If you are Google, Heroku won’t be able to handle you.

Heroku’s scaling only matters in the middle: you are growing fast enough that Heroku’s scaling helps you keep up but, if you grow too much, you’ll have to migrate to DigitalOcean or AWS after a huge amount of trauma. This is what happened to RapGenius: Heroku helped them grow in the middle but then broke when they outgrew it.

So, I see Heroku as having limited usefulness. It’s good for prototypes. It may help a growing app at a certain point in its growth. But, for the most part, it’s better to skip Heroku because either DigitalOcean is easy enough or, in a few cases, you’ll be forced to migrate away from Heroku in a traumatic fashion. The Heroku premium price rarely makes sense. Still, Heroku is popular and people still choose it, even if it isn’t the best choice.


Benefits of Using Invoicing Software. Simplifying your company’s accounting

The invoicing computerized solution is designed to generate bills by sellers for products or services sold to their customers. Creating invoices by hand is a cheap method that brings companies, including small businesses, many disadvantages. Not organized documents...

Everything You Need to Know About GST E-invoice

What is an e-invoice and an e-invoice under GST?   E-invoicing, often known as electronic invoicing, is a GST-compliant electronic authentication technique. All B2B and export invoices generated by a business must be registered with the government system, the...

Audit Procedures for Accounts Receivable

Accounts receivable is the sum of money that your customers owe you for the goods and services you have sold to them on credit. This is considered to be a current asset, because you convert it into money later, usually within a year. Accounts receivable is important...

EU VAT e-commerce package FAQ: Everything you need to know

Q. What is the EU VAT e-commerce package?  The EU VAT e-commerce package is a reform to the existing VAT obligations for sellers that will come into effect on July 1, 2021. This package includes some key changes that will simplify VAT returns, and it will impact the...

Bookkeeping – Definition, Importance, Types & Methods

What is bookkeeping and why is it important? Bookkeeping is the process of recording your company’s financial transactions into organized accounts on a daily basis. It can also refer to the different recording techniques businesses can use. Bookkeeping is an essential...

OSS FAQ: All about the One Stop Shop

Q. What is the One Stop Shop? The One Stop Shop (OSS) is an optional quarterly VAT reporting and payment system that’ll be live from July 1, 2021, as part of the EU VAT e-commerce package. This means that you can use the OSS to report and pay VAT on non-domestic B2C...

What exactly do cloud services like Digital Ocean and AWS do?

What Cloud Services Do  Companies don't use cloud services based on the levels of traffic but based on the ease of using cloud services. The amount of traffic doesn't matter, it is you who decides whether or not to use cloud services. Do you really want to go through...

Invoice payment through the portal?

How can customers pay an invoice via the portal? In order to pay an invoice, your customer needs to login to the portal. You can find out how your customers can login to the portal here. After logging in to the client portal, your customer can choose a transaction and...

IOSS FAQ: Your guide to the Import One Stop Shop

Q. What is the Import One Stop Shop?  The Import One Stop Shop (IOSS) is an online portal that businesses can use from 1 July, 2021 to file VAT returns for imports. This has been introduced as part of the EU VAT e-commerce package, where the import of low value goods...

Zoho Account to access the client portal

Do customers need a Zoho Account to access the client portal? It is not necessary for your customers to have a Zoho account. Once you send an invitation to your customers to access the portal, upon accepting the invitation they can login to the portal by using the...
Share This

Share This

Share this post with your friends!