ExitCanary Deployment: metric-gated traffic exposure1 / 9
Explanation

Separate the release command, traffic, and evidence

How pipelines control candidate exposure across instance, container, and serverless workloads, using version-specific evidence to gate promotion or traffic rollback. · advanced

A canary deployment publishes a candidate without immediately giving it all production traffic. The release needs three separate controls: an exposure mechanism, evidence attributed to the candidate, and a decision that promotes it or returns traffic to the stable version.

This diagram shows those interfaces for Lambda. CodePipeline orchestrates the release; CodeDeploy controls the deployment schedule and configured rollback. CodeBuild can build and test artifacts, but it is not the Lambda traffic-shifting controller. The arrows show logical information flow, including alarm status that CodeDeploy checks, not unsolicited alarm delivery.

CloudWatch alarms provide the configured deployment health signal. X-Ray traces diagnose individual requests, while CloudTrail records API activity; neither replaces the CloudWatch alarm interface used here. The diagram deliberately excludes build internals and AWS API calls unrelated to this control loop.

deployment requestalias weightsalias invocationsversion metricsalarm status
AWS CodePipelineRelease orchestration
AWS CodeDeployCanary schedule and rollback
UsersProduction callers
AWS LambdaAlias: stable and candidate versions
Amazon CloudWatchVersion-scoped metrics and deployment alarms

1 / 6 CodePipeline coordinates the release stages and starts the deployment after the artifact and deployment inputs are ready.

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.