Release with a measurable rollback condition
Deploy versioned code through an existing pipeline and use health signals to govern traffic.
Release with a measurable rollback condition
Read the pipeline from source revision to build artifact, test, deployment target and approval. A Lambda alias can shift traffic between published versions. A canary exposes a small cohort first. Blue/green deployment keeps a previous environment available while traffic changes. A rolling deployment replaces tasks gradually, subject to healthy-capacity limits.
Define an alarm that measures user-visible health of the new revision. Use CodeDeploy or the chosen deployment controller to stop or roll back on a signal. A CloudFormation change set previews resource changes, including replacements, before execution. Inspect an ECS task definition or Kubernetes manifest to locate the actual image, resource limits and health checks.
Worked case
Overall error rate is stable, but the new version handles only five percent of requests. Which metric would make a useful promotion decision?
Check your reasoning
Measure errors and latency for the canary version with sufficient request volume. An aggregate across the old and new revisions can conceal a serious regression.
Second worked case
A pipeline assistant recommends promoting a canary because its health checks passed. What independent evidence should the release owner inspect?
Check your reasoning
Compare canary traffic volume, errors and latency to the release thresholds. Review the artifact and checkpoint recorded for the promotion. An automated recommendation can summarize the evidence but cannot supply missing observations.
CodeDeploy deployment configurations · Official DVA-C03 objectives for this domain
Related lesson in GitHub Actions. Verify authority and provenance before deployment.
Rolling a container revision
For ECS, record the task definition revision, desired count and minimum healthy percentage. For EKS, inspect the Deployment rollout, readiness probes and the previous ReplicaSet. In either system, verify that enough old capacity remains available during the rollout. A rollback of a manifest cannot reverse an incompatible database migration.
Practice with the recording
A rollback returns the alias to yesterday’s Lambda version, yet the incident continues. Which release dependency could explain it?
Check your reasoning
Check configuration, downstream permissions, data schema and feature flags that changed outside the function version. Compare the old version’s expectations with the current environment. Rehearse a compatible rollback or a forward repair before sending all traffic back.
Practice the individual exam skills
- 3.3.1–3.3.4 Choose a Lambda archive or container image based on runtime and packaging needs. Contrast that release with an ECS task definition or an EKS manifest. Inspect the built IaC template, the target deployment group and the first health check against the intended revision.
- 3.3.5–3.3.9 Trace a branch or tag into CodePipeline, then into a rolling, canary or blue/green release. Record which evidence permits each promotion and which signal initiates rollback. Require the same evidence for an approval recommendation generated by an assistant.
Release with a measurable rollback condition quiz
Answer 3 questions. Check each answer for an explanation.