Amazon DocumentDB is a database service provided by Amazon that allows you to create, manage and scale MongoDB-compatible databases in the cloud. It creates regular backups for these databases by creating daily snapshots that are stored in S3 buckets. It also allows you to create manual snapshots at any point in time.
In this Cloud Lab, you’ll first create a Cloud9 environment, an S3 bucket, and a security group that will give your environment access to a DocumentDB cluster. After this, you’ll create an instance-based cluster in Amazon DocumentDB, connect it with your Cloud9 environment, and run some MongoDB queries to insert data in this cluster. You'll also store the results of these queries in an S3 bucket. Finally, you’ll create a snapshot of this cluster and use it to create a new cluster.
After completing this Cloud Lab, you’ll have a strong understanding of Amazon DocumentDB and will be able to create DocumentDB clusters and snapshots according to your requirements.
The following is the high-level architecture diagram of the infrastructure you’ll create in this Cloud Lab: