Deploying a DocumentDB cluster
Let's start by creating our DocumentDB cluster:
- Open the AWS console and navigate to the Amazon DocumentDB section.
- Click Launch Amazon DocumentDB.
- Complete the form by giving it a name. Select
db.r5.large
as the instance type (this is the lowest cost usable for ours) and change the number of instances to 1. At the bottom of the screen, toggle the Advanced options switch. Review the settings but don't change any of them. Then, click Create cluster:
- The console will show the cluster being created and becoming available:
- Once the cluster shows as available, we can create a second cluster in a different region to make it a global cluster. Check the box for the Regional cluster node and click the Actions dropdown. Then, select Add region.
- Complete...