DevOps & cloud infrastructure agency · Clients in the US, Canada, the UK, the UAE and Australiacontact@dexecuters.comBook a 30-minute call

Migration · Heroku · AWS · DigitalOcean

Moving off Heroku, Render or Railway: the checklist we use

When the platform that was easy at the start becomes expensive or limiting, the move is a project. The things people forget, and how to cut over without losing users.

Platform services like Heroku, Render and Railway are a good way to start. You push code and it runs. The trouble starts later: the bill outgrows what the same workload would cost in a cloud account, or you need something the platform does not offer, such as a private network, a GPU, a compliance control or a particular region.

At that point the move is a project, and the risk is not the new environment. It is the things people forget.

What has to move

Make a list before you touch anything. The usual items:

  • The web and worker services, and how many of each run today.
  • The database, with its size, its extensions and its backup schedule.
  • Queues, caches and cron jobs. Scheduled tasks are the most common thing to lose.
  • Add-ons: logging, error tracking, email sending, search. Each one is a credential and a configuration.
  • Environment variables and secrets. Export them into a secrets manager, not a spreadsheet.
  • Domains, SSL certificates and the webhooks that other services call you on.

Build the destination in code

The new environment should be written in Terraform (or the equivalent) rather than clicked together. Two reasons: you will rebuild it at least once during rehearsals, and in six months someone will need to know how it was made.

Where to move to depends on the product. AWS is the default when you need the full toolset. For a simpler product, DigitalOcean or a VPS provider is often cheaper and easier to look after. We moved a jobs platform with more than 14,000 users from AWS to DigitalOcean for exactly that reason, and the users never noticed.

Rehearse the cutover

  • Copy the data ahead of time and keep it replicating, so the final sync is minutes, not hours.
  • Run the application in the new environment against the copied data and click through everything that matters.
  • Lower the DNS TTL a day before, so the switch propagates quickly.
  • Decide whether the business needs a short maintenance window for the final database sync. For a marketplace or a SaaS with writes, a few minutes of read-only mode is usually worth it to avoid losing orders.

Cut over with a rollback

Keep the old platform running until the new one is proven. Switch DNS, watch the health checks and the error rates, and keep the previous environment one DNS change away for a few days. Only then cancel the old plan.

After the move

The migration is finished when the new setup has monitoring, backups with a restore test and an automated deploy. Otherwise you have moved the problem rather than solved it.

If you are weighing up a move and want the numbers, the free infrastructure assessment gives you a recommendation with the costs before anything starts.

Next step

Start with the free assessment

Tell us about your setup or project. Within 48 hours you get a written reply: the biggest risks and savings we can see, and what we would do first. No account access needed to start.