Build a workload with a verifiable security baseline
A release pipeline signed an image last week. Today Inspector identifies a newly disclosed issue in that digest. How should the owner handle a still-running deployment?
Build a workload with a verifiable security baseline
Create tested images, separate runtime roles, scan images and repositories, patch nodes and use Bedrock content controls.
Work through the decision
A release pipeline signed an image last week. Today Inspector identifies a newly disclosed issue in that digest. How should the owner handle a still-running deployment?
Check your reasoning
Verify the affected package and deployed digest, build and test an updated image, promote it through the normal pipeline and replace affected instances. Signing establishes provenance. Ongoing assessment establishes whether that same artifact still meets policy.
Interpret the evidence
- EC2 Image Builder
- Produces versioned image builds with components and tests. Deploy the validated output and retain a way to roll back.
- Amazon Inspector
- Assesses supported compute and container resources for known vulnerabilities. Findings identify affected resources for remediation.
- Task role
- Supplies credentials for application code running in an ECS task. Limit it to the application’s resource needs.
- Systems Manager Patch Manager
- Applies patch baselines to managed nodes and reports compliance. Stage work and validate service health.
- Bedrock Guardrails
- Evaluates configured content and sensitive-information policies for model inputs and outputs. Application permissions still govern tool actions.
Practice the guide skills
- Build a golden-image release plan that records the base version, installed software, test evidence, signature or digest, and rollback artifact. Watch 1:18:34
- Separate an ECS execution role for pulling an image from the task role for application data. Match Lambda and EC2 workloads to execution roles and instance profiles. Watch 1:20:55
- Triage an Inspector finding by deployed digest, package applicability and business exposure. Check whether rebuilding actually replaced the affected workloads. Watch 1:25:20
- Define a patch baseline, maintenance window and staged rollout with health checks. Compare in-place patching to deploying an updated immutable image. Watch 1:27:24
- Choose a managed administrative path with scoped identity, encrypted session transport and audit logging. Check which inbound access becomes unnecessary. Watch 1:22:43
- Review a build policy that scans dependencies and the final artifact, requires a documented exception and reports where the approved digest is deployed. Watch 1:29:13
- Test Bedrock Guardrails against representative allowed and restricted content. Pair screening with authorization and explicit limits on actions the application can take. Watch 1:32:45
Official objectives for this lesson
Follow the artifact rather than its tag
The release manager records a fixed package version in the new image. The service inspection shows two distinct digests.
Approved release digest sha256:new
Task A running digest sha256:new
Task B running digest sha256:old
One task still runs the old artifact. Check rollout and health failures before marking the finding remediated. These symbolic digest labels stand in for full content hashes.
Related lesson · Trace an artifact through its lifecycle
Build a workload with a verifiable security baseline quiz
Answer 3 questions. Check each answer for an explanation.