setup 1-box stage in lambda ci-cd pipeline

0

One box stage in CICD pipeline is a stage before production stage. This stage also will receive the production traffic. The goal of this stage is to validate the new changes with very small prod traffic and keep the blast radius to minimal incase of issues.

In server based deployment, this stage will contain only 1 machine to receive very small % of traffic. The code changes will be deployed to 1-box stage before production and leave it for some time to validate the behaviour of new change. If there is an issue in 1-box stage with the new code, the blast radius will be minimal and roll back is faster since the changes are deployed in only one machine.

It is explained in "Backward compatibility and one-box testing" topic in this link - https://aws.amazon.com/builders-library/automating-safe-hands-off-deployments/

How do we setup the same in lambda ci-cd ? Any leads on this will be super helpful.

1 Risposta
1
Risposta accettata

With Lambda you don't really have boxes, however, you can easily route a small percentage of your traffic to a new version and later increase that percentage all the way to 100% or decrease it to 0%. You can do this using Alias routing configuration. CodeDeploy supports different traffic shifting options.

profile pictureAWS
ESPERTO
Uri
con risposta 2 anni fa
profile picture
ESPERTO
verificato 6 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande