Choosing regions and availability zones
Amazon cloud computing resources are hosted in multiple locations worldwide. These locations consist of AWS Regions and Availability Zones. Each AWS Region is a separate geographic area. Each Region has multiple, isolated locations known as Availability Zones. Amazon DocumentDB provides you the ability to place resources, such as instances, and data in multiple locations. Resources aren't replicated across AWS Regions unless you do so specifically.
Amazon operates advanced, highly available data centers. Although rare, failures can occur that affect the availability of instances that are in the same location. If you host all your instances in a single location that is affected by such a failure, none of your instances would be available. The following diagram shows an AWS Region with three Availability Zones.
It is important to remember that each Region is independent. Any Amazon DocumentDB activity that you initiate (for example, creating instances or listing
available instances) runs only in your current default AWS Region. You can change the default Region on the console by setting the EC2_REGION
environment variable. Or you can override it by using the --region
parameter in the AWS CLI. For more information, see Configuring the AWS Command Line Interface, specifically, the sections
on environment variables and command line options.
When you create a cluster using the Amazon DocumentDB console, and you choose to create a replica in a different Availability Zone, Amazon DocumentDB creates two instances. It creates the primary instance in one Availability Zone and the replica instance in a different Availability Zone. The cluster volume is always replicated across three Availability Zones.
To create or work with an Amazon DocumentDB instance in a specific AWS Region, use the corresponding regional service endpoint.
Region availability
Amazon DocumentDB is available in the following AWS Regions.
Regions supported by Amazon DocumentDB
Region Name | Region | Availability Zones (compute) |
---|---|---|
US East (Ohio) |
|
3 |
US East (N. Virginia) |
|
6 |
US West (Oregon) |
|
4 |
Africa (Cape Town) |
|
3 |
South America (São Paulo) |
|
3 |
Asia Pacific (Hong Kong) |
|
3 |
Asia Pacific (Hyderabad) |
|
3 |
Asia Pacific (Mumbai) |
|
3 |
Asia Pacific (Seoul) |
|
4 |
Asia Pacific (Singapore) |
|
3 |
Asia Pacific (Sydney) |
|
3 |
Asia Pacific (Tokyo) |
|
3 |
Canada (Central) |
|
3 |
China (Beijing) Region |
|
3 |
China (Ningxia) |
|
3 |
Europe (Frankfurt) |
|
3 |
Europe (Ireland) |
|
3 |
Europe (London) |
|
3 |
Europe (Milan) |
|
3 |
Europe (Paris) |
|
3 |
Europe (Spain) |
|
3 |
Middle East (UAE) |
|
3 |
AWS GovCloud (US-West) |
|
3 |
AWS GovCloud (US-East) |
|
3 |
By default, the time zone for an Amazon DocumentDB cluster is Universal Time Coordinated (UTC).
For information on finding the connection endpoints for clusters and instances in a particular region, see Understanding Amazon DocumentDB endpoints.