How to use AWS DocumentDB
Let’s create an AWS DocumentDB cluster, a fully managed MongoDB solution!
This article is part of a series 😃. It’s up to you how you want to proceed, either reading this whole thing first and coming back after you need too or starting from the beginning.
- Part 1: SSH Tunnel — AWS EC2
- Part 2: Creating an AWS EC2 instance
- Part 3: Fully Managed MongoDB — DocumentDB
- Part 4: Creating an AWS DocumentDB cluster
Let’s create a cluster!
Open up the AWS console and let’s get cracking.
First let’s select Parameter Groups and turn off some additional security for demo purposes.
NOTE: Do this step before creating the DocumentDB Cluster
Once you create the Parameter Group, click on TLS and TTL_Monitor and flip the switch to disabled.
Time to launch an Amazon DocumentDB Cluster.
Note: Set Instance Class as db.r4.large and Number of Instances to 1. These are the cheapest settings that DocumentDB currently supports.
Click Show Advanced Settings, we need to add our new Parameter Group to the DocumentDB cluster we are creating.
Easy enough. Now hit Create Cluster.