Migration Guide

Migrate from Heroku to SnapDeploy

Complete your migration in under 10 minutes. Zero downtime.

Same Git-based workflow you love, at 50% lower cost.

Before You Start

GitHub Repository

Your code should be in a GitHub repo (public or private)

Environment Variables

Export your Heroku config vars before migrating

10 Minutes

That's all you need for a complete migration

Migration Steps

Follow these 6 simple steps to migrate your app

1

Export Heroku Config Vars

Run this command in your terminal to export all environment variables:

heroku config -a your-app-name --shell > .env

This creates a .env file with all your secrets. Keep it safe!

2

Create SnapDeploy Account

Sign up at snapdeploy.dev. You get 100 free deployment hours - no credit card required.

Create Free Account
3

Connect Your GitHub Repository

Click "New Container" and select "Deploy from GitHub". Authorize SnapDeploy to access your repository.

SnapDeploy only requests read access. Your code stays on GitHub.

4

Import Environment Variables

In the container settings, add each environment variable from your .env file. SnapDeploy encrypts all secrets.

DATABASE_URL

postgresql://user:pass@host:5432/db

SECRET_KEY

your-secret-key-here

5

Deploy Your Application

Click "Deploy" and watch the build logs. SnapDeploy automatically detects your framework and configures everything.

Node.js Python Ruby Java
6

Update DNS (Optional)

If using a custom domain, update your DNS to point to SnapDeploy. We automatically provision SSL certificates.

CNAME your-domain.com -> your-app.snapdeploy.app

What You Get After Migration

50% Lower Costs

Same performance, half the price. Plus pause capability to save even more.

Faster Deployments

60-second deploys vs Heroku's 2-5 minutes.

Pause Feature

Stop containers when not in use. Only pay for running time.

Migration FAQ

Do I need to change my code?

No. SnapDeploy supports the same languages and frameworks as Heroku. Your code works as-is.

What about my Heroku Postgres database?

You can either keep using Heroku Postgres (just update the DATABASE_URL) or migrate to SnapDeploy's managed PostgreSQL.

Is there downtime during migration?

No. Keep your Heroku app running, deploy to SnapDeploy, verify it works, then switch DNS. Zero downtime.

Can I try before fully migrating?

Yes! Get 100 free deployment hours to test your app on SnapDeploy before committing.

Ready to Migrate?

Join thousands of developers who've switched from Heroku to SnapDeploy

Start Free Migration