# How do I fail over to another region if one goes down?

- Date: 2026-12-02T00:51:20.431Z
- URL: https://render.com/articles/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](https://render.com/docs/postgresql-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](https://render.com/articles/how-to-rollback-a-broken-deployment-quickly) 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](https://render.com/docs/regions) 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](https://render.com/docs/blueprint-spec) 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](https://render.com/docs/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](https://render.com/docs/postgresql-logical-replication) 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](https://www.postgresql.org/docs/18/logical-replication-restrictions.html), [PostgreSQL 19 sequences](https://www.postgresql.org/docs/19/logical-replication-sequences.html)). For background on PITR and replication lag, see [Postgres features that matter for production](https://render.com/articles/postgres-features-that-matter-for-production-pitr-read-replicas-and-native-exten).

### 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

1. *Declare the regional incident.* Confirm that the whole region is affected, rather than a single deployment.
2. *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.
3. *Update connections.* Point environment variables such as `DATABASE_URL` at the new database. Internal URLs only work on the same region's private network.
4. *Bring up services.* Deploy them in the secondary region. Render cancels a new deploy that doesn't pass its health check within 15 minutes.
5. *Verify application health.* Services with a custom domain also keep their own `onrender.com` subdomain, unless you've disabled it. Call your health check endpoint, run key user flows, and confirm that the newest data falls within your RPO.
6. *Redirect traffic.* Add your [custom domain](https://render.com/docs/custom-domains) 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](https://render.com/articles/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](https://render.com/articles/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](https://render.com/docs/regions) whenever you build or review this plan.

## Frequently asked questions

###### Can I just switch my existing service to another region?

No. Render can't change an existing service's or database's region. Instead, create new resources in the target region and migrate your configuration and data.

###### Will Render move my app to another region automatically during an outage?

No. Plan as if your team performs every cross-region step by hand, from declaring the incident to changing DNS. Confirm current support options with Render before you finalize your runbook.

###### Can secondary-region services use my primary database's internal URL?

No. Each region has a separate private network, so cross-region services can't connect over it. Secure any cross-region connection for the public internet.

###### What does Postgres High Availability fail over to?

It switches to your database's standby after the primary is unavailable for 30 seconds. Separately, you can download logical backups and restore them into a new database instance. See [Postgres High Availability](https://render.com/docs/postgresql-high-availability). Separately, you can download logical backups and restore them into a new database instance. See [Recovery and Backups](https://render.com/docs/postgresql-backups).

###### How much data will I lose in a regional failover?

It depends on your strategy and how recently your data left the failed region. If you restore from a backup, you'll lose any data written after that backup. If you use a warm copy, you'll lose any data that wasn’t replicated before failover. Measure the data-loss window during drills and compare it with your RPO.

###### Should I keep the secondary stack running all the time?

It's a tradeoff. A running stack shortens recovery because you skip provisioning and first deploys, but you pay for it while it sits idle. A stack you create from a tested Blueprint during an incident costs less day to day but takes longer to bring up. Pick the option that fits your RTO and budget.

###### Do static sites need a failover plan?

Not a regional one. You don't choose a region for static sites because a global CDN serves them.

