- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
- Data

Create and Connect to an Amazon DocumentDB Cluster
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.

Lab Info
Table of Contents
-
Challenge
Create a New VPC Security Group
Create a new security group with one rule, allowing incoming connections from the application host on port
27017
. -
Challenge
Deploy a New Amazon DocumentDB Cluster
Create a new database subnet group for the cluster. Select db.t3.medium as the instance class.
-
Challenge
Connect to the Cluster
Using the
mongosh
client and the information from the AWS console, connect to your newly created DocumentDB cluster.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.