A developer is releasing an update to a production REST API managed by Amazon API Gateway. The update includes changes to both the API Gateway resource structure and the backend integrations. To minimize risk, the developer wants to route of the API traffic to the new version while the remaining is handled by the stable production version. The strategy must support immediate rollback to the stable version without modifying client configurations or deploying new API stages. Which approach should the developer use to meet these requirements?
- Configure a canary release on the existing API Gateway deployment stage and set the canary traffic percentage to .Cevap
- BDeploy the update to a new API Gateway stage and configure an Amazon Route 53 weighted routing policy pointing to both stages.
- CSet up AWS CodeDeploy to perform a Canary15Percent10Minutes deployment targeting the API Gateway stage.
- DDeploy the update to a new stage and use an Application Load Balancer weighted target group to distribute traffic between the two stage URLs.
Cevap
Configure a canary release on the existing API Gateway deployment stage and set the canary traffic percentage to .
Configuring a canary release on the existing API Gateway stage is the only option that keeps the endpoint URL unchanged for clients, avoids creating new stages, and allows immediate rollback by deleting the canary release.
Adım Adım Çözüm
Anahtar Kavram
API Gateway Canary Deployments