In this lab, you will create and connect to an Amazon DocumentDB cluster. After completing this lab, you will have hands-on experience with deploying a simple DocumentDB cluster and connecting using the `mongosh` client.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Create a New VPC Security Group
Create a new security group with one rule, allowing incoming connections from the application host on port
27017
.- Deploy a New Amazon DocumentDB Cluster
Create a new database subnet group for the cluster. Select db.t3.medium as the instance class.
- Connect to the Cluster
Using the
mongosh
client and the information from the AWS console, connect to your newly created DocumentDB cluster.