Blue-Green Deployment using Azure for B2B online platform
Blue-Green deployment for brand and reseller B2B collaborative platform serving heavy and consistent traffic
Based out of the USA, the client is a PaaS provider with a platform for B2B online portal, software platform, transaction engine, and secure marketplace.
The all-new platform had been introduced by the client, which required a smooth deployment without any downtime for the users. This was an issue for the client.
The client wanted to test the platform with a few users before deploying it to the mass without affecting the user experience.
The client wanted to perform A/B testing for both platforms to check whose performance was better.
There was no bandwidth available with the client for database, resource, and performance management, along with system administration for the deployment.
Seaflux created two production environments, one for the current version (blue) and one for the new (green), on the Azure cloud.
Deployment of the new version is done using the Blue-Green Deployment method, where we used the PostgreSQL flexible server as the database for better control and customizations.
The Blue-Green Deployment method helped to test the new platform on a few users before deploying the whole build. To do this, we used the Traffic Manager and Load Balancer in Azure to manage & control the traffic. The traffic was limited to 10% initially to the green deployment in order to test the new platform. This allowed simple rollbacks in case there remains any bugs in the new build.
Once the green deployment was tested, and there were no rollbacks, half the traffic was gradually shifted from the blue to the green deployment for A/B testing.
After proper calculation and analysis of the performance of users, the whole traffic was diverted to the best-selected platform to provide better usability.
Successful and rapid release of the new platform with 100% uptime.
The method allowed simple rollbacks and built-in disaster recovery without impacting the users.
Using PostgreSQL Flexi Server allows scalability, automatic backups, security, and monitoring to the client.