AWS Database Blog

Announcing the Amazon DocumentDB (with MongoDB compatibility) workshop

Amazon DocumentDB (with MongoDB compatibility) is a fast, scalable, highly available, and fully managed document database service that supports MongoDB workloads. You can use the same MongoDB 3.6 and 4.0 application code, drivers, and tools to run, manage, and scale workloads on Amazon DocumentDB without worrying about managing the underlying infrastructure. As a document database, Amazon DocumentDB makes it easy to store, query, and index JSON data.

Document databases have become a popular choice for storing and accessing data, primarily due to the flexibility in schema and the ability to store application data in the same format as is used in the application tier. Document databases store data in formats like JSON, which is a popular data interchange format in a multi-tier architecture. Historically, developers have been forced to use additional tools like object to relational mappers (ORMs) and JSON converters to transform data from relational databases to JSON, and vice versa. Using additional transformation tools not only increases the lines of code and configuration files, but also increases complexity due to the impedance mismatch between the application data model and the database data model. Document databases solve this problem by storing JSON data in the same user-friendly format as the application tier.

To show you how to use Amazon DocumentDB and provide hands-on experience with the service, I am excited to announce the Amazon DocumentDB Workshop. You can use this self-service workshop to learn how to build scalable applications on Amazon DocumentDB with speed and agility to adapt to changing requirements.

What is the Amazon DocumentDB workshop?

Amazon DocumentDB workshop is an on-demand set of hands-on labs categorized as independent self-service modules. You can select one or more modules as needed and complete them at your own pace. The modules available as of this writing are:

  • Introduction: Getting started, query cluster, and scale cluster
  • Migration from MongoDB: Account set up, connect to your source and target, Database Migration Service and cleanup specific resources for migration
  • Monitor: Monitor, alarms, dashboard automation, profiler, audit events and cleanup
  • Security: Secrets Manager Integration, encrypting data using your own key, role-based access control.

Using the Amazon DocumentDB workshop

The modules in this workshop are organized with content for novice to expert-level audiences. Each module has AWS CloudFormation templates that you can deploy in your environment to get started quickly. These modules cater to developers and database administrators that are either new to Amazon DocumentDB or have developed applications with MongoDB and are looking to learn how to migrate to Amazon DocumentDB and how to effectively monitor Amazon DocumentDB.

The estimated time to complete all modules in this workshop is about two hours. You can refer to Amazon DocumentDB pricing, AWS Cloud9 pricing, and Amazon EC2 On-Demand pricing for information about the pricing for the services you use in the workshop.

Conclusion and next steps

Upon completing this workshop, you should gain sufficient experience to make progress with Amazon DocumentDB. For more information about developing your applications using Amazon Document DB, see Developing with Amazon DocumentDB and Migrating to Amazon DocumentDB.


About the Author

Karthik Vijayraghavan is a Senior DocumentDB Specialist Solutions Architect at AWS. He has been helping customers modernize their applications using NoSQL databases. He enjoys solving customer problems and is passionate about providing cost effective solutions that performs at scale. Karthik started his career as a developer building web and REST services with strong focus on integration with relational databases and hence can relate to customers that are in the process of migration to NoSQL.