How do I fail over to another region if one goes down?
Use this runbook to recover in another region when your primary Render region becomes unavailable. It covers what to prepare ahead of time, the manual failover sequence, and how to fail back without conflicting writes.
Region down vs. bad deploy: know which problem you have
These protections all operate inside one region:
- Health checks probe each instance. If an instance fails consecutive health checks for 15 seconds, Render stops routing traffic to it. After 60 seconds of failures, Render restarts it.
- Zero-downtime deploys and horizontal autoscaling with load balancing keep services available during deploys and load spikes.
- With Postgres High Availability, Render automatically fails over to your database's standby when the primary is unavailable for 30 seconds. High Availability requires at least 1 CPU and PostgreSQL 13 or later.
None of these protections help if the whole region is unavailable. You set each service's or datastore's region when you create it, and you can't change it later.
Your team runs cross-region recovery by hand. Nothing triggers it automatically. For a bad deploy or a same-region incident, follow the guide to rolling back a broken deployment instead.
Before an outage: prepare your secondary region
Pick a secondary region
You can deploy to Oregon, Ohio, Virginia, Frankfurt and Singapore. Render adds regions over time, so refer to the docs for up-to-date information. Choose your failover region based on user latency and data residency. Frankfurt is the only European region, so there’s no secondary option for EU-resident data in the same continent. Static sites use a global CDN and don't need a secondary region.
Make deployment and configuration reproducible
Recreate every service, environment variable and secret in the secondary region. A render.yaml Blueprint is available on all plans, but you can't change its region field after creation, so keep a separate, tested definition for the secondary region.
Each region has its own private network, and services in different regions can't communicate with each other over it. Secure any cross-region traffic sent over the public internet.
Choose a data-recovery strategy
- Restore from backups. Point-in-time recovery covers 3 days on Hobby and 7 days on Pro, Scale and Enterprise. To move data to a new database, restore a logical backup into it. Store your own logical backups outside the primary region.
- Keep a warm copy. Logical replication lets a database subscribe to changes from a publisher database. It’s not a self-serve feature, so ask Render support to enable it for both the publisher and the subscriber, and make sure each database has at least 10 GB of storage. See Logical Replication with Render Postgres for the full prerequisites. The publisher's IP allowlist controls which addresses can connect over the public internet. Test your cross-region subscription with a security drill to ensure that it works as intended. Any replication lag represents data you could lose at failover.
- Note that logical replication doesn't replicate schema changes (DDL). Before PostgreSQL 19, it also doesn't replicate sequence values. PostgreSQL 19+ can sync sequences, but only on demand via
REFRESH SEQUENCES, not continuously (PostgreSQL 18 restrictions, PostgreSQL 19 sequences). For background on PITR and replication lag, see Postgres features that matter for production.
- Note that logical replication doesn't replicate schema changes (DDL). Before PostgreSQL 19, it also doesn't replicate sequence values. PostgreSQL 19+ can sync sequences, but only on demand via
Set RTO and RPO
The recovery time objective (RTO) is the longest outage you can accept. The recovery point objective (RPO) is the largest data-loss window you can afford. Set both based on your business needs.
Weigh cost and prerequisites
Render bills for provisioned resources, prorated to the second, so an idle secondary stack still costs money.
Secondary-region resource | Example plan | Listed price |
|---|---|---|
Independent Render Postgres database (not an HA standby) | 1 CPU / 2 GB ( 1c-2g) | $40/month compute + $0.30/GB storage |
Web service | 1 CPU / 2 GB ( 1c-2g) | $25/month |
Extra custom domain | Beyond workspace plan allowance (Hobby 2 / Pro 15 / Scale 25) | $0.25/domain/month |
Check these prerequisites before you build a duplicate stack:
- Logical exports are available for paid Postgres instances.
- Hobby workspaces allow 25 services in total.
- Hobby includes 2 custom domains, Pro 15 and Scale 25.
During an outage: the failover sequence
- Declare the regional incident. Confirm that the whole region is affected, rather than a single deployment.
- Restore or promote the database. Create a database in the secondary region and restore your latest backup into it. If you keep a warm copy, treat the old primary as stale, drop the subscription, update sequence values and make the copy the single writer.
- Update connections. Point environment variables such as
DATABASE_URLat the new database. Internal URLs only work on the same region's private network. - Bring up services. Deploy them in the secondary region. Render cancels a new deploy that doesn't pass its health check within 15 minutes.
- Verify application health. Services with a custom domain also keep their own
onrender.comsubdomain, unless you've disabled it. Call your health check endpoint, run key user flows, and confirm that the newest data falls within your RPO. - Redirect traffic. Add your custom domain to the new service, configure DNS with your provider, and verify the domain. Render then issues TLS certificates automatically. For DNS cutover mechanics, see how to migrate a production app to a new hosting platform.
Every recovery step is manual. None happens automatically across regions:
Step | Who performs it | Manual? | Action used |
|---|---|---|---|
Enable logical replication (preparation, warm-copy strategy only). Requires Pro plan or higher and 10 GB+ storage | Render support, at your request | Yes | Contact Render support to enable it |
Declare the regional incident | Your team | Yes | Team decision based on your monitoring |
Restore or promote the database | Your team; Render support can help with restores and disaster recovery | Yes | Create a database in a chosen region and restore a logical backup (warm-copy strategy: repoint services to the subscriber database instead) |
Update connections | Your team | Yes | Modify environment variables or secret files |
Bring up services | Your team | Yes | Create each service in the Dashboard, or define them in a render.yaml file and deploy them together as a Blueprint |
Verify application health | Your team | Yes | Call the health check endpoint on the service's onrender.com subdomain and run key user flows |
Redirect traffic | Your team | Yes | Add the domain, configure DNS and verify it |
To reach Render support for logical replication or for help with restores and disaster recovery, contact the support team from the Render Dashboard. You can also email Render support at support@render.com. Premium support is an add-on for Pro and Scale plans and is included with Enterprise plans.
Test recovery and plan failback
Run drills regularly without touching production. Render's upgrade guide describes a dry run that creates a new database, takes a backup and restores it without modifying your applications. Services keep their onrender.com subdomain even when a custom domain is applied. Time each drill against your RTO and RPO, then delete the drill resources.
Failback is also manual. Keep a single writer at all times:
- You may not be able to fence the old primary while its region is down, so fence it first when the region returns. Put primary web services in maintenance mode, where Render answers every request with a
503. Suspend workers and cron jobs that write to the old database. - Stop writes in the secondary region the same way before cutover.
- Copy data back and reconcile any writes that the primary missed.
For reverse replication and rollback planning, see the cutover and rollback phases in how to migrate a production app to a new hosting platform.
Before you rely on this plan
Rerun your recovery drill after each plan or infrastructure change. Requirements for regional replication, promotion, networking and support can change, so check each step against Render's documentation whenever you build or review this plan.