Home icon

Upgrade Amazon DocumentDB 3.6 to 5.0 with near-zero downtime

Database Blog



This article provides a step-by-step guide to upgrade Amazon DocumentDB from version 3.6 to 5.0 with near-zero downtime.

Specifically, the article covers:

  • Existing upgrade options and their limitations
  • Overview of the proposed near-zero downtime upgrade solution
  • Prerequisites for the upgrade process
  • Enabling change streams on the source 3.6 cluster
  • Capturing the change stream token using the MVU CDC migrator tool
  • Cloning the 3.6 cluster
  • Performing an in-place major version upgrade on the cloned cluster to 5.0
  • Replicating change data capture (CDC) from the source to the upgraded clone
  • Switching application endpoint to the upgraded 5.0 clone
  • Post-upgrade cleanup steps


Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Feb 5
2024
Upgrade Amazon DocumentDB 4.0 to 5.0 with near-zero downtime
Apr 15
2024
Reduce cost and improve performance by migrating to Amazon DocumentDB 5.0
Aug 13
2025
Amazon DocumentDB announces Extended Support for Version 3.6
Apr 20
2026
Amazon DocumentDB (with MongoDB compatibility) now supports in-place upgrade from version 5.0 to 8.0

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.