Skip to main content

Amazon DocumentDB (with MongoDB compatibility) resources

Amazon DocumentDB Documentation

Looking for information on how you can quickly get started on Amazon DocumentDB? Below are the most important documentation guides, user guides, and tutorials to show you how.

Data modeling

This data modeling book will help you quickly learn about the document data model, and shares advanced tips for Amazon DocumentDB optimizations. Whether you are curious about the document model or an avid DocumentDB user hungry to gain expert knowledge, this Amazon DocumentDB data modeling book is for you!

Developer Guide

Read our documentation for a conceptual overview of the service as well as document-based databases more broadly. This guide provides instructions on using the various features with the Amazon DocumentDB console and AWS command-line interface (CLI). Topics covered include: how to work with documents in a native JSON database, Amazon DocumentDB best practices, and document database use case examples.

AWS CLI Reference

View our Amazon DocumentDB API documentation for an alphabetized and comprehensive list of available commands. This documentation describes the command line interface for Amazon DocumentDB in detail and provides basic syntax, options, and usage examples for each command. Commands covered include: copying clusters, creating clusters, deleting clusters, describing clusters, modifying clusters, rebooting instances, and more.

Getting Connected

Read our Amazon DocumentDB documentation to learn how to connect to Amazon DocumentDB programmatically using several different languages such as Python, Node.js, PHP, Go, C# / .NET, Java, the mongo shell, R, and Ruby. We provide code examples for each language based on whether you have Transport Layer Security (TLS) enabled or disabled for the cluster you are connecting to.

Scripts and Compatibility, Automation, Review, & Data Migration Tools

Amazon DocumentDB Compatibility Tool

If you want to migrate from MongoDB to Amazon DocumentDB and need to assess compatibility, this tool will help you assess the compatibility of a MongoDB application by using the application’s source code or MongoDB server profile logs. This tool produces a simple report of any unsupported operators and file names with line numbers.

Amazon DocumentDB Data Migration Utilities

If you want to perform a high-speed migration of existing data and ongoing changes from MongoDB to Amazon DocumentDB, this synchronization tool enables high-speed Change Data Capture (CDC) from a MongoDB source database to an Amazon DocumentDB target database.

Amazon DocumentDB Index Migration Tool

If you want to migrate indexes from an existing MongoDB application to Amazon DocumentDB, this index tool makes it easier to migrate only indexes (not data) between a source MongoDB deployment and a Amazon DocumentDB cluster.

Amazon DocumentDB Global Cluster Failover Automation Tool

If you want to perform an automated failover of an Amazon DocumentDB Global Cluster, this tool provides AWS Lambda functions to automate the failover process. The AWS Lambda functions address Disaster Recovery (DR) and Business Continuity (BCP) use cases.

MongoDB Oplog Review Tool

If you want to analyze the MongoDB Oplog to determine the number of insert/update/delete operations at the collection level, use the MongoDB Oplog review tool to connect to any instance in a MongoDB replica set to read the oplog and produce a log file.

Amazon DocumentDB Blog posts and articles

Read our latest Amazon DocumentDB blog posts and articles to hear directly from Amazon DocumentDB experts on topics most requested by our customers. These blogs are posted in real-time and include customer testimonials, new feature tutorials, how-to posts, document database use case examples for specific industries, document database guides, migration methods, solution overviews and more.

Loading
Loading
Loading
Loading
Loading

AWS Online Tech Talks & Virtual Workshops

Watch our on-demand Online Tech Talk and Virtual Workshop library where Amazon DocumentDB experts cover technical deep dives, demonstrations, and customer examples. These virtual events include live Q&A at the time of the live event and typically vary between 30 minutes and 2-hours. To register for future live tech talks and workshops, view the AWS Online Tech Talk catalog page

Amazon DocumentDB is live streaming on Twitch.tv/aws

Join us on Twitch for step-by-step demos, live Q&A, guest interviews, and more!

When: Third Thursday of every month 8AM PDT | 11AM EDT | 3PM GMT

View our Twitch archive »

Amazon DocumentDB is live streaming on Twitch.tv/aws

re:Invent sessions

Watch our Amazon DocumentDB re:Invent sessions on-demand to hear directly from AWS experts and customers about the latest service innovations and customer success stories. These sessions are approximately 30 minutes in length, do not require any prerequisites, and are built to help you learn about key topics such as migrating to Amazon DocumentDB, service deep dives, and new feature announcements. Register for re:Invent 2022 here .

Amazon DocumentDB Demos

If you are looking for quick tutorials on how to use a document database, watch our three part demo series built to walk you through how to create, operate, query and connect to your Amazon DocumentDB clusters. Each demo is 15 minutes or less and is designed to provide you step-by-step guidance.