---
title: "Migrate from Render to Miget"
description: "Move your Render web services, workers, cron jobs, and databases onto a single fixed-price Miget plan."
---
Render bills you per service and per instance, so a web service, a background worker, a cron job, and a Postgres database quickly become four separate line items. Miget works differently: you buy one fixed-price [resource plan](/overview/resource-plans) and run **unlimited** services inside it. They share CPU fairly through the [Fair Scheduler](/overview/fair-scheduler), so consolidating everything you run on Render onto a single Miget plan is the core win of migrating.
## What maps to Miget
| On Render | On Miget |
| --- | --- |
| Web Service | App (public, traffic routed to `PORT`) |
| Background Worker | App kept private (no public port) |
| Cron Job | Cron job |
| Render Postgres | Miget managed PostgreSQL |
| Render Key Value / Redis | Miget Valkey |
| Env Group | Environment variables (secrets) |
| Static Site | App |
There is no `render.yaml` importer. You recreate your services on Miget, either as individual apps or as a single [Compose Stack](/deployments/docker-compose-stacks) built from one `compose.yaml`.
## The `PORT` question
On Render, web services bind to `$PORT`. On Miget, `PORT` is set to an immutable `5000`, and Miget routes public traffic there automatically. As long as your app reads the `PORT` environment variable (which Render apps already do), no code change is needed.
## Migration steps
List each service you run on Render - web service, worker, cron job, database - and recreate them on your Miget plan. Web-facing services become public apps; background workers become apps with **no public port** so they stay private. Prefer one file? Describe the whole set in a single [Compose Stack](/deployments/docker-compose-stacks).
Connect your repository and [push to the builder](/deployments/git-push-to-builder). Miget auto-detects your language from marker files (like `package.json`, `requirements.txt`, or `go.mod`), or you can bring your own `Dockerfile` for full control over the build.
Provision [Miget PostgreSQL](/databases/postgresql) and restore your Render database with `pg_dump` / `pg_restore`. Miget injects `DATABASE_URL` automatically. If you used Render Key Value, provision [Valkey](/databases/valkey) - Miget injects `REDIS_URL`.
```bash
# Dump from Render (use your Render database's connection string)
pg_dump "$RENDER_DATABASE_URL" -Fc -f dump.pgdump
# Restore into Miget (DATABASE_URL is injected by the addon)
pg_restore --no-owner --dbname="$MIGET_DATABASE_URL" dump.pgdump
```
Recreate your Render Env Group values as Miget [secrets](/deployments/using-secrets). `DATABASE_URL` and `REDIS_URL` are injected for you, so you only carry over your own configuration.
Add your [custom domain](/networking/custom-domains/overview) and let Miget provision TLS automatically. Once traffic looks healthy, cut DNS over from Render.
Migrate a copy first: run your Miget apps against a restored database and verify behavior before you move DNS. Nothing on Render changes until you flip the domain.
## Next steps
Connect your repo and deploy on every push.
Recreate multi-service setups from one `compose.yaml`.
Provision a database with `DATABASE_URL` injected.
Redis-compatible cache with `REDIS_URL` injected.
Move your Env Group values across.
Add a domain with automatic TLS.
How unlimited services share CPU fairly.
One fixed price for everything you run.
See how Miget stacks up against the other options.