Amazon DocumentDB (with MongoDB compatibility) supports in-place major version upgrade in AWS GovCloud (US) Regions
Share
Services
[Amazon DocumentDB](https://aws.amazon.com/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 in the AWS GovCloud (US-East and US-West) Regions. 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 AWS console, the latest AWS 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), text search, partial indexes, vector search, and new aggregate operators. Visit [Amazon DocumentDB 5.0 documentation](https://docs.aws.amazon.com/documentdb/latest/developerguide/compatibility.html#mongodb-50) for a full list of features.
To perform an in-place major version upgrade for Amazon DocumentDB 5.0, select the “Modify” option on the AWS Management Console that corresponds with 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.
There are no additional costs to upgrade. To get started, please review [in-place MVU documentation](https://docs.aws.amazon.com/documentdb/latest/developerguide/docdb-mvu.html).