Home icon

Achieve near-zero downtime database maintenance by using blue/green deployments with AWS JDBC Driver

Database Blog



This article explains how to use the AWS JDBC Driver's blue/green deployment plugin to minimize downtime during database maintenance on Amazon RDS and Aurora.

  • Plugin automatically detects switchover phases and routes connections intelligently
  • Maintains inventories of both blue and green environments for seamless traffic management
  • Supports Aurora PostgreSQL, RDS PostgreSQL, Aurora MySQL, and RDS MySQL
  • Requires AWS JDBC Driver version 2.6.4 or later and Java 8+
  • Test showed zero connection failures versus two failures without plugin during switchover
  • Plugin reduced downtime from 30.21 seconds to 11.77 seconds in testing
  • Configure via Maven/Gradle with key parameters: wrapperPlugins, bgdId, timeouts
  • Monitors deployment status through RDS metadata tables and DNS propagation

The blue/green deployment plugin provides automatic connection management during database switchovers, significantly reducing application downtime and eliminating manual intervention requirements.



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

Jan 20
2026
Amazon RDS Blue/Green Deployments reduces downtime to under five seconds
May 13
2024
Perform maintenance tasks and schema modifications in Amazon RDS for PostgreSQL with minimal downtime using Blue Green deployment
Mar 27
2024
Achieve continuous delivery with blue/green deployments using Amazon DocumentDB database cloning and AWS DMS
Aug 11
2025
How Wiz achieved near-zero downtime for Amazon Aurora PostgreSQL major version upgrades at scale using Aurora Blue/Green Deployments

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.