There are tradeoffs involved in deciding whether or not to self-host a database or to leverage a database as a service offering. How much control do you need over the database? Do you have the bandwidth and expertise to deal with self-hosting? These are just a few of the questions to consider.
This lab walks you through the process of getting MongoDB up and running on an instance and deploying a MongoDB replica set. Considerations for production workloads are discussed at each phase. The lab also discusses how to leverage Compute Engine's snapshot functionality as part of a sound disaster recovery plan.
Upon completion of this intermediate-level lab, you will be able to:
Familiarity with the following will be beneficial but is not required:
The following content can help to fulfill the prerequisite:
May 22nd, 2025 - Updated lab environment and screenshots to reflect the latest console UI
June 5th, 2024 - Updated lab to use MongoDB 7.0
May 27th, 2022 - Added instructions to improve clarity