You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29-3Lines changed: 29 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -152,9 +152,35 @@ To find all the documentation and concrete examples on how to use the AWS Advanc
152
152
153
153
#### Amazon RDS Blue/Green Deployments
154
154
155
-
This driver currently does not support switchover in Amazon RDS Blue/Green Deployments. In order to execute a Blue/Green deployment with the driver,
156
-
please ensure your application is coded to retry the database connection. Retry will allow the driver to re-establish a connection to an available
157
-
database instance. Without a retry, the driver will not be able to identify an available database instance after blue/green switchover has occurred.
155
+
Although the AWS Advanced Python Wrapper is not compatible with [AWS Blue/Green Deployments](https://docs.aws.amazon.com/whitepapers/latest/overview-deployment-options/bluegreen-deployments.html) and does not officially support them, the combination of the AWS Advanced Python Wrapper and the Failover Plugin has been validated for use with clusters that employ Blue/Green Deployments. While general basic connectivity to both Blue and Green clusters is always in place, some failover cases are not fully supported.
156
+
The current limitations are:
157
+
- After a Blue/Green switchover, the wrapper may not be able to properly detect the new topology and handle failover, as there are discrepancies between the metadata and the available endpoints.
158
+
- The specific database version requirements for different database deployments may vary, as the internal systems used by the wrapper can differ.
159
+
160
+
The development team is aware of these limitations and is working to improve the wrapper's awareness and handling of Blue/Green switchovers.
161
+
162
+
> [!WARNING]\
163
+
> The AWS Advanced Python Wrapper now includes support for Blue/Green Deployments according to the description below:
164
+
>
165
+
> Currently Supported Database Deployments:
166
+
> - Aurora MySQL and PostgreSQL clusters
167
+
> - RDS MySQL and PostgreSQL instances
168
+
>
169
+
> Unsupported Database Deployments and Configurations:
170
+
> - RDS MySQL and PostgreSQL Multi-AZ clusters
171
+
> - Aurora Global Database for MySQL and PostgreSQL
> Supported Aurora MySQL Versions: Engine Release `3.07` and above.
176
+
>
177
+
> For RDS Postgres, you will also need to manually install the `rds_tools` extension using the following DDL so that the metadata required by the driver is available:
178
+
>
179
+
> ```sql
180
+
> CREATE EXTENSION rds_tools;
181
+
>```
182
+
>
183
+
> If your database version does **not** match the supported versions listed above, the driver will automatically fallback to its previous behaviour. In this fallback mode, Blue/Green handling is subject to the same limitations listed above. If you have questions or encounter issues, please open an issue in this repository.
0 commit comments