A company is deploying a new version of a microservice hosted on AWS Lambda. The deployment process must ensure zero downtime. The system must route of the incoming traffic to the new version of the function for a duration of minutes. If there are no errors, all remaining traffic must be routed to the new version immediately. If errors are detected, the deployment must automatically roll back.
Which two options should the solutions architect combine to achieve this deployment strategy? (Select two.)
- Configure AWS CodeDeploy to manage the traffic shifting for the AWS Lambda function.Cevap
- Select the Canary10Percent10Minutes deployment configuration in the deployment group.Cevap
- CSelect the Linear10PercentEvery10Minutes deployment configuration in the deployment group.
- DSelect the AllAtOnce deployment configuration in the deployment group.
- EUse AWS Elastic Beanstalk rolling deployments to shift traffic to the new version.
Cevap
Configure AWS CodeDeploy to manage traffic shifting, and select the Canary10Percent10Minutes deployment configuration.
AWS CodeDeploy manages serverless deployments by updating Lambda function aliases to shift traffic. The Canary10Percent10Minutes deployment configuration specifically exposes of traffic to the new version for a -minute window, then routes of the traffic to the new version if no CloudWatch alarms are triggered.
Adım Adım Çözüm
Anahtar Kavram
AWS Lambda deployment traffic shifting configurations using AWS CodeDeploy.
Tahmini Süre:1m 0s