Skip to content
← Back to Changelog

Friday, January 26th 2024

Improved resiliency for Vercel Functions with inter-region failover support

Posted by

Avatar for ctgowrie

Casey Gowrie

Software Engineer

Avatar for tsiege

Tristan Siegel

Software Engineer

Avatar for abdelsabbah

Abdel Sabbah

Software Engineer

Avatar for emeraldsanto

Yanick Bélanger

Software Engineer

Vercel Functions can now automatically failover to the next healthy region.

Vercel's Edge Network is resilient to regional outages by automatically rerouting traffic to static assets. Vercel Functions also have multiple availability zone redundancy by default. We are now enhancing this further with support for multi-region redundancy for Functions.

In the instance of a regional outage, traffic directed towards your Vercel Function using the Node.js runtime will be automatically re-routed to the next healthy region, ensuring continuous service delivery and uptime without manual intervention.

Failover regions are also supported through Vercel Secure Compute, which allows you to create private connections between your databases and other private infrastructure.

You can configure which regions to failover to in your vercel.json file. For example, you might want to fallback to many different regions, or specific regions in a country.

vercel.json
{
"functionFailoverRegions": ["iad1", "cle1"]
}
Defining your fallback regions in your configuration file.

Enterprise teams can enable this feature in their project settings. If you are not on Enterprise, get in touch to upgrade and enable function failover.

Post