Deployment Models & Regions¶
Overview¶
When you first create a Realm app, you must select a deployment type that determines where your application's data is stored and processed. You can deploy your Realm app globally or limit the deployment to a specific cloud deployment region.
Deployment Models¶
Global Deployment¶
Globally deployed Realm apps are hosted in every cloud region that MongoDB Realm supports. The Realm SDKs automatically execute application requests, such as reading user information or calling a function in the cloud region that's closest to the user that issued the request.
Write operations to a linked MongoDB cluster are handled within a single region that you specify when you create your application. By default, Realm handles writes in the region closest to your application's original linked MongoDB cluster.
Local Deployment¶
Locally deployed Realm apps are hosted in a specific cloud region that you specify when you first create your
application. Application requests and
MongoDB write operations will all be handled exclusively in the
specified region. By default, local applications are deployed in the
region that is closest to your application's initial linked MongoDB Atlas data source or
us-east-1
if there is no linked data source.
Cloud Deployment Regions¶
MongoDB Realm supports deployment and writes in the following AWS regions:
- Virginia (
us-east-1
) - Oregon (
us-west-2
) - Ireland (
eu-west-1
) - Sydney (
ap-southeast-2
)