Voiced by Amazon Polly
Amazon Web Services has kick-started Its most popular event, AWS re:Invent 2022. To assist customers with their challenges and make it simpler for them to care less about their infrastructure and application workloads, AWS re:Invent 2022 has introduced many new services and features in various categories. Let us discuss on one of the important updates from the Database category in the following section.
AWS has announced the general availability of Amazon RDS blue-green deployments, a new feature for Amazon Aurora with MySQL compatibility, Amazon RDS for MySQL, and MariaDB that allows you to make database updates faster, easier, and more secure. This new fully managed feature is available in almost all AWS regions except China and AWS GovCloud.
Introduction to Amazon RDS Blue/Green Deployment
Making database updates can be disruptive because it is difficult to predict the required downtime to implement changes. Amazon RDS blue/green deployments allow database operators to use Amazon Aurora and Amazon RDS to make safer simpler and faster database updates. blue-green deployments make it simple for you to safely test and implement changes by creating a staging environment that mirrors the production environment. It keeps the two environments In Sync using logical replication. You can make changes to the staging environment, such as major version upgrades or schema modifications while keeping your production workload safe. When promoting your staging environment Amazon RDS blue/green deployments use built-in guardrails to time out the promotion if it exists exceeds your maximum tolerable downtime. The guardrails also have built-in safety checks for detecting replication errors, instance health, and more. Once you are ready to promote the changes to production you can initiate and finish switchovers as fast as a minute, without making changes to your application code.
Amazon RDS blue-green deployments block writes on the current production system, ensure all the data is replicated to the staging environment, and then redirect traffic to the staging environment, promoting it to the production. Safely test updates to identify unexpected database behaviors and reduce downtime with Amazon RDS blue/green deployments.
Step by Step Guide for Blue/Green Deployments
To get started with Amazon RDS blue/green deployments,
- Sign into your AWS console and search for AWS RDS service. Select any one of the DB instances you want to enable blue/green deployment for.
- In the Actions dropdown you can see Create blue-green deployment option, Click it, and configure as per the requirement.
- Once required options are selected like blue-green deployment identifier, and deployment settings, Click the create staging environment
So far in this article, we have discussed about an important announcement in the Database category I.e., fully managed AWS RDS blue/green deployment. We can see that with the help of this new feature developers/architects will be able to update databases within minutes and with no complexity. There is still more to learn about AWS RDS blue/green deployment, so I encourage you to see the official documentation from AWS.
CloudThat is also the official AWS (Amazon Web Services) Advanced Consulting Partner and Training partner and Microsoft gold partner, helping people develop knowledge of the cloud and help their businesses aim for higher goals using best in industry cloud computing practices and expertise. We are on a mission to build a robust cloud computing ecosystem by disseminating knowledge on technological intricacies within the cloud space. Our blogs, webinars, case studies, and white papers enable all the stakeholders in the cloud computing sphere.
Drop a query if you have any questions regarding RDS Blue/Green Deployments and I will get back to you quickly.
1. What is the meaning of blue and green color in blue/green deployment?
ANS: – A deployment approach known as a “blue/green deployment” involves making two distinct yet identical environments. The new application version runs in the environment (green) while the current version runs in the environment (blue).
2. Will blue-green deployment include a read replica?
ANS: – Yes, in case you have created a read replica of the primary DB instance then the primary instance and replica instance will also get included in the blue-green deployment. Check the screenshot for reference.
WRITTEN BY Aishwarya Joshi
Aishwarya works as a Research Associate (AWS Media services) with CloudThat. She is an enthusiastic individual and a good team player. A positive attitude is her way of dealing with everything. She enjoys learning new technologies and exploring various ways of problem-solving. As of late, she has become proficient in cloud services and enjoys writing technical blogs.