Home icon

Upgrade Amazon DocumentDB 4.0 to 5.0 with near-zero downtime

Database Blog



This article provides a step-by-step guide on upgrading Amazon DocumentDB 4.0 to 5.0 with near-zero downtime.

Specifically, the article covers:

  • Enabling change streams on the existing Amazon DocumentDB 4.0 cluster
  • Cloning the Amazon DocumentDB 4.0 cluster
  • Performing an in-place major version upgrade on the cloned cluster to 5.0
  • Replicating changes from the source 4.0 cluster to the upgraded 5.0 cluster using AWS Database Migration Service (DMS)
  • Switching application endpoint to the upgraded 5.0 cluster after replication is complete
  • 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

Apr 5
2024
Upgrade Amazon DocumentDB 3.6 to 5.0 with near-zero downtime
Apr 15
2024
Reduce cost and improve performance by migrating to Amazon DocumentDB 5.0
Apr 20
2026
Amazon DocumentDB (with MongoDB compatibility) now supports in-place upgrade from version 5.0 to 8.0
Jun 8
2026
Amazon DocumentDB now supports engine minor version starting with 5.0.1

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.