Blue-Green Deployment

Learn about the blue-green deployment technique for ensuring our application’s stability during deployment.

The challenge in production

So, we have our Step Functions workflow running smoothly, orchestrating our AWS Lambda functions. We need to keep in mind that we work in an ever-changing environment. Imagine this scenario:

We have a long-running workflow that’s busy processing data. In the meantime, one of our colleagues pushes a new update to one of the Lambda functions within that workflow. Suddenly, our workflow, which started under one version of the function, now has to deal with a new version partway through its execution.

This could lead to a range of problems, from minor bugs to significant workflow failures. In ...