QuestionQ50

VerifiedDeployment

A company is developing a serverless application that consists of various AWS Lambda functions behind Amazon API Gateway APIs. A developer needs to automate the deployment of Lambda function code. The developer will deploy updated Lambda functions with AWS CodeDeploy. The deployment must minimize the exposure of potential errors to end users. When the application is in production, the application cannot experience downtime outside the specified maintenance window.

Which deployment configuration will meet these requirements with the LEAST deployment time?

Explanation

Canary deployments balance safety and speed by shifting 10% traffic immediately to detect errors early, then shifting remaining traffic after a brief validation window (5 minutes). This provides early error detection while completing deployment faster than linear (which would require 10 minutes for 10% per minute increments). All-at-once deployments risk widespread impact if errors occur. Canary is CodeDeploy's built-in strategy for Lambda deployments.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!