Posted On: Sep 25, 2023
Amazon DocumentDB (with MongoDB compatibility) now supports an in-place major version upgrade (MVU) from Amazon DocumentDB versions 3.6 and 4.0 to version 5.0. Instead of backing up and restoring the database to the new version or relying on database migration tools, you can perform an in-place major version upgrade with a few clicks using the Amazon Web Services console, the latest Amazon Software Development Kit (SDK), or Command Line Interface (CLI). With in-place MVU, no new clusters are created in the process and you can continue using the existing cluster endpoints for your applications.
Amazon DocumentDB 5.0 offers compatibility with MongoDB 5.0 API and several enhancements over earlier Amazon DocumentDB versions including support for document compression, faster indexing with index build status, client-side Field Level Encryption (FLE), index scans with $elemMatch operator, and new aggregate operators. Visit Amazon DocumentDB 5.0 documentation for full list of features.
To perform an in-place major version upgrade for Amazon DocumentDB 5.0, select the “Modify” option on the Amazon Web Services Management Console that corresponds to the cluster you want to upgrade, choose version 5.0 and the required parameter group, and proceed with your upgrade. You can choose to apply the upgrade immediately or during your next maintenance window. Your Amazon DocumentDB cluster will be unavailable during the upgrade. Please review in-place MVU documentation to learn more.
In-place MVU is available in Amazon Web Services China (Beijing) Region, operated by Sinnet and Amazon Web Services China (Ningxia) Region, operated by NWCD and there are no additional costs to upgrade.