How to deploy to multiple regions with Vercel
When deploying projects with Vercel (formerly ZEIT), you want to deploy the serverless functions as close to your users as possible.
This results in slower loading times, since the server is physically closer to your users.
In your vercel.json
file, you can configure the region where the project is deployed:
{
"regions": ["iad1"]
}
The region identifier (iad1
in the example above) comes from the list of regions. Any region marked as an origin will work.
To see where these locations are, use this list.
According to support as of March 8, 2020, you can only use one region in the array.