A company is deploying a new version of a critical payment processing microservice built on AWS Lambda. To limit blast radius, the deployment strategy must gradually shift traffic to the new version in equal increments. Specifically, the system must route of the traffic to the new Lambda version initially, and then increase the traffic by another every minutes until the new version handles all traffic. If the error rate exceeds a specified threshold during the migration, the deployment must automatically roll back. Which AWS CodeDeploy deployment configuration should the solutions architect select?
- LambdaLinear10PercentEvery10MinutesCevap
- BLambdaCanary10Percent10Minutes
- CLambdaLinear10PercentEvery1Minute
- DLambdaCanary10PercentEvery10Minutes
Cevap
LambdaLinear10PercentEvery10Minutes
The configuration named 'LambdaLinear10PercentEvery10Minutes' correctly shifts traffic linearly in equal steps of every minutes until the transition is complete. Combined with CloudWatch alarms, this allows CodeDeploy to automatically roll back the deployment if the error rate exceeds the threshold.
Adım Adım Çözüm
Anahtar Kavram
Predefined AWS CodeDeploy configuration patterns for gradual, automated AWS Lambda traffic shifting.