Home icon

Achieve continuous delivery with blue/green deployments using Amazon DocumentDB database cloning and AWS DMS

Database Blog



This article discusses how to achieve continuous delivery with blue/green deployments using Amazon DocumentDB database cloning and AWS Database Migration Service (DMS). It outlines a strategy to maintain two identical but separate production and staging environments (blue and green) for seamless application updates and rollbacks.

Specifically, the article covers:

  • Solution overview of blue/green deployment architecture using Amazon DocumentDB cloning and AWS DMS change data capture (CDC)
  • How Amazon DocumentDB fast cloning works using copy-on-write protocol
  • Steps to set up blue/green environments and apply changes like database upgrades in the staging (green) environment
  • Procedures to cut over production traffic from blue to green environment using DNS routing
  • Reverse CDC replication to sync green changes back to blue for easy rollback
  • Post-cutover activities and decommissioning old (blue) environment


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

Jun 19
2024
Blue/Green Deployments to Amazon ECS using AWS CloudFormation and AWS CodeDeploy
Feb 12
2026
Achieve near-zero downtime database maintenance by using blue/green deployments with AWS JDBC Driver
Sep 5
2024
AWS DMS homogenous migration from document-oriented databases to Amazon DocumentDB
Nov 14
2025
Introducing fully managed Blue/Green deployments for Amazon Aurora Global Database

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.