How to migrate from Render to Modelence

Move a Render app, its Postgres and Key Value and its environment variables to Modelence, which runs them on AWS in the region you choose. Your coding agent turns render.yaml into one config file.

Last updatedNovember 2026

Modelence runs your services and their databases on AWS in any of 17 regions, from one config file, with the Modelence team operating them around the clock. Moving from Render mostly means turning your render.yaml, or your service settings, into that file, which your coding agent writes for you, while you sign in, paste your secrets, copy the database and switch the domain.

The order below keeps the Render app serving until the last step. To weigh Modelence against the other places a Render app can go first, see our Render alternatives comparison.

Paste this into your coding agent to start

Where each part of your Render project goes

Your services, datastores and environment groups become entries in one config file.

On RenderOn Modelence
Web servicesEach web service becomes a service in modelence.config.json, and they deploy together. A service builds with the commands in the file, or from its Dockerfile if it has one.
Private servicesThey become services without a public address. The others reach them over the environment’s private network, at an address the config file hands them in a variable.
Background workersEach worker becomes its own service with no health check, next to the web service, reading the same database and Redis variables.
Cron jobsThe schedule and command move into a small scheduler service that runs the same command on the same schedule.
Static sitesA service with a static entry serves the built files, with a fallback to index.html for client-side routes.
BlueprintsYour coding agent copies the build and start commands, health check paths and variables from render.yaml into modelence.config.json, or from the service settings if the project has no Blueprint.
Environment variables and groupsThe config file declares the variables the app needs, and the deploy asks you for any value that is missing. Every service in the environment gets every variable, so a group shared by several services needs no extra setup.
Render PostgresCreated in your app's region on the first deploy, with plans from 1 GB to 16 GB of RAM. The data moves with pg_dump and pg_restore over the external database URL.
Render Key ValueRedis is created in your app’s region on the first deploy, with plans from 250 MB to 5 GB. A Key Value instance that only holds a cache can start empty.
Persistent disksFiles the app writes move to an S3-compatible bucket such as Amazon S3 or Cloudflare R2, which every container can read, so the service can run on several containers.
Preview environmentsEach app has a production environment and sandbox environments for staging or testing, each with its own variables and databases.
RegionsPick any of 17 AWS regions across the Americas, Europe and Asia Pacific, and the app and its databases are created there together.
Custom domainsAdd your domain to the app and update the DNS record. Domains are unlimited on paid plans, with TLS certificates issued for you.

From render.yaml to the config file

Your coding agent writes modelence.config.json at the root of the repository. Take a Blueprint with a web service, a worker, a cron job, Postgres and Key Value:

services:
  - type: web
    name: api
    runtime: node
    buildCommand: npm ci && npm run build
    startCommand: node dist/server.js
    healthCheckPath: /health
    envVars:
      - key: DATABASE_URL
        fromDatabase:
          name: main-db
          property: connectionString
      - key: REDIS_URL
        fromService:
          type: keyvalue
          name: cache
          property: connectionString
      - key: STRIPE_SECRET_KEY
        sync: false
  - type: worker
    name: worker
    runtime: node
    buildCommand: npm ci && npm run build
    startCommand: node dist/worker.js
  - type: cron
    name: nightly-report
    runtime: node
    schedule: "0 3 * * *"
    buildCommand: npm ci && npm run build
    startCommand: node dist/report.js
  - type: keyvalue
    name: cache
    ipAllowList: []

databases:
  - name: main-db

On Modelence, each service keeps its build and start commands, and Postgres and Redis sit next to them in the same file. env hands their connection strings to every service under the names the code already reads, in place of fromDatabase and fromService:

{
  "$schema": "https://cloud.modelence.com/schema/modelence.config.json?version=1",
  "resources": {
    "api": {
      "type": "service",
      "image": "node-22-slim",
      "build": { "commands": ["npm ci", "npm run build"] },
      "start": { "commands": ["node dist/server.js"] },
      "healthCheck": { "type": "http", "path": "/health" }
    },
    "worker": {
      "type": "service",
      "image": "node-22-slim",
      "build": { "commands": ["npm ci", "npm run build"] },
      "start": { "commands": ["node dist/worker.js"] },
      "healthCheck": { "type": "none" },
      "rollout": "recreate"
    },
    "scheduler": {
      "type": "service",
      "image": "node-22-slim",
      "build": { "commands": ["npm ci", "npm run build"] },
      "start": { "commands": ["node scheduler.mjs"] },
      "healthCheck": { "type": "none" },
      "rollout": "recreate"
    },
    "main-db": { "type": "postgres", "plan": "postgres-1gb" },
    "cache": { "type": "redis" }
  },
  "env": {
    "DATABASE_URL": { "type": "resource", "resource": "main-db", "output": "url" },
    "REDIS_URL": { "type": "resource", "resource": "cache", "output": "url" },
    "STRIPE_SECRET_KEY": { "type": "secret" }
  }
}

The worker and the scheduler listen on no port, so they have no health check, and "rollout": "recreate" stops the old version before the new one starts, so a job is never run by two versions at once. Render sets PORT to 10000 by default and Modelence to 3000, so a server that reads PORT needs no change. See how deploying from one config file works.

Cron jobs

The scheduler starts the cron job's command on its schedule with node-cron, so the job's code stays as it is. Add node-cron to the dependencies and save this as scheduler.mjs:

import { spawn } from 'node:child_process';
import cron from 'node-cron';

// The cron job's schedule and command from render.yaml
cron.schedule(
  '0 3 * * *',
  () => {
    spawn('node', ['dist/report.js'], { stdio: 'inherit' });
  },
  { timezone: 'UTC' },
);

Schedules are in UTC, as on Render. Keep the scheduler on one container so each run happens once. A Python project does the same with APScheduler.

Moving your app

Your coding agent does most of the setup, and you step in to sign in, add secrets and copy the data.

1. Give your coding agent the deploy prompt

Open the project in your coding agent and paste the prompt below. The agent reads the Modelence deploy guide, works out how each service builds from render.yaml, its Dockerfile or package.json, and goes through the next steps with you.

Paste this into your coding agent

2. List your variables, and rotate your keys

Each service's variables are on its Environment page in the Render dashboard, along with any environment group linked to it. To print them in one go, use the Render API with an API key from your account settings:

curl -H "Authorization: Bearer $RENDER_API_KEY" \
  https://api.render.com/v1/services/srv-xxxxx/env-vars

Moving is a good time to rotate API keys and passwords, so issue new ones and give Modelence the new values. You can skip the variables that come from fromDatabase and fromService, such as DATABASE_URL and REDIS_URL, since the new databases come with their own.

3. The agent writes the config file and deploys

It declares the services, their databases and the variables they need in modelence.config.json, checks that each service builds and starts locally, and runs the deploy. Your browser opens so you can sign in, pick the app and environment, and paste in the values the deploy asks for. The first deploy creates the databases empty, ready for the copy in the next step.

4. Do a test run of the database copy

Copy the external database URL from the database's page in the Render dashboard, under Connect. Then dump the database and restore it into the new one, in parallel jobs as Render's docs suggest for larger databases:

pg_dump --dbname="<Render external database URL>" --format=directory \
  --jobs=4 --no-owner -f render.dump
pg_restore --verbose --clean --if-exists --no-owner --no-privileges \
  --jobs=4 -d "<new database URL>" render.dump

The dump holds the schema as well as the rows, and --clean --if-exists lets you run the restore again for the final copy. Time it and click through the app on its Modelence URL against the copied data. On a Pro workspace or higher, Render can also enable logical replication for a database through a support request, which lets you replicate the data into the new database while the Render app keeps serving.

5. Move files off a disk

If a service writes files to a persistent disk, copy them to your bucket. Render's SSH access works with scp, using the SSH address on the service's Connect menu:

scp -r -s [email protected]:/var/data/uploads ./uploads
aws s3 sync ./uploads s3://your-bucket/uploads

Then point the app's file reads and writes at the bucket, with its keys declared as secrets in the config file. Skip this step if your services have no disk.

6. Switch over and move your domain

Lower the TTL on your DNS record a day ahead. When you are ready, turn on maintenance mode in the web service's settings so nothing writes to the database, and suspend the background workers once they have finished what is queued. Run the copy again and check the app on its Modelence URL.

Then add your domain to the Modelence app and replace the record that points at onrender.com with the target the dashboard shows. When traffic has moved over, delete the Render services along with their databases and any API keys they held.

On AWS, in the region you choose

Your app and its databases run together in the AWS region you pick, on AWS Fargate across two availability zones, with failover and encryption set up from the first deploy. See how Modelence runs your app on AWS.

Starter+Pro+

Americas

  • Oregonus-west-2
  • N. Californiaus-west-1
  • Ohious-east-2
  • N. Virginiaus-east-1
  • Montrealca-central-1
  • São Paulosa-east-1

Europe

  • Irelandeu-west-1
  • Londoneu-west-2
  • Pariseu-west-3
  • Frankfurteu-central-1
  • Stockholmeu-north-1

Asia Pacific

  • Mumbaiap-south-1
  • Singaporeap-southeast-1
  • Seoulap-northeast-2
  • Osakaap-northeast-3
  • Tokyoap-northeast-1
  • Sydneyap-southeast-2

Frequently asked questions (FAQs)

Does Modelence run on AWS?

Yes. Every app runs on AWS Fargate across two availability zones, in the region you pick on the first deploy, and its databases are created in the same region. You can choose from 17 AWS regions across the Americas, Europe and Asia Pacific.

Does Modelence have something like render.yaml?

Yes. modelence.config.json sits at the root of the repository and declares every service, database and variable of the app, much like a Blueprint. The same file deploys to the production environment and to sandbox environments.

What happens to my background workers and cron jobs?

Each worker becomes its own service in the config file and deploys with the rest of the app. Cron jobs run on a timer in a small scheduler service that starts the same command on the same schedule, and it stays on one container so each run happens once.

Will my Python, Ruby or Go service work?

Yes. Any service that runs in a container can move. Services with a Dockerfile build from it, and your coding agent writes one for services that used one of Render’s native runtimes.

How long will my app be down?

Only while the final copy runs, which your test run tells you in advance. Render shows a maintenance page on your domain in the meantime. With logical replication on a Pro workspace, the pause shrinks to the switch itself.

How does the cost compare?

Modelence bills each container and database by the hour based on its size, at AWS rates with no markup, and each paid plan includes its price as usage, so the bill stays at the plan price unless your apps run more than it covers. There is no charge per seat. Modelence Starter is $20 a month with $20 of usage included.

Can Claude Code or Cursor do the migration for me?

Yes. Open the project in Claude Code, Cursor, Codex or another coding agent and paste the prompt from the first step. The agent reads the Modelence deploy instructions, turns render.yaml into the config file and asks you for the secrets. Copying the data and switching the domain follow the steps above.

Are my databases backed up?

Yes. Production databases are backed up automatically at least every six hours, with nothing to turn on, and the Modelence team restores a backup for you when you ask. Their connection strings are in your app’s variables, so you can also take your own dump with the standard tools at any time.

Move your app off Render

Start on the Free plan and keep Render running until you switch the domain.

Or paste this into your coding agent