Simple, Yet Scalable “Blue-Green Deployments” in AWS EKS

Just by using AWS services like CodeBuild and CodePipeline.

Hari Ohm Prasath
Geek Culture

--

Introduction

This article explains an approach to enable blue-green deployment for applications deployed in EKS. We will use existing AWS services like CodeBuild and CodePipeline to facilitate blue-green deployments for Kubernetes applications.

Wait, what if I am already covered?

If you are already using one of the CI platforms like Spinnaker or Weave Flux then this article may not apply to you. But if you are interested to enable blue-green deployments just by leveraging existing AWS CI/CD services like CodeBuild and CodePipeline then you are in the right place and “Let the hacking begin”

Overview

Blue/green deployments provide near-zero downtime release and rollback capabilities. The fundamental idea behind blue/green deployment is to shift traffic between two identical environments that are running different versions of your application. The blue environment represents the current application version serving production traffic. In parallel, the green environment is staged, running a newer version of your application. After the green environment is ready and tested, production traffic…

--

--