Let’s Get Certified
Module 08 / 20 · Configuration and infrastructure as code

Coordinate long-running fleet changes

Choose orchestration, idempotency and concurrency controls for partially completed operations.

Coordinate long-running fleet changes

A multi-step change needs an owner for retries, timeouts and the recovery path. Step Functions can maintain workflow state across service calls and waits. Systems Manager Automation runbooks can coordinate AWS API calls, approvals and managed-node actions. Choose Run Command for a discrete instruction on managed nodes and a maintenance window when disruptive work is time-constrained.

Before sending a fleet task, resolve the intended target set and establish a useful concurrency limit. Store a durable operation key when a retried step has a side effect. Bound transient retries with backoff and route exhausted work to an owner. Check individual results and service health before declaring a batch complete.

Worked case 1

A workflow retries after a timeout and creates a second work order. What should survive a retry?

Check your reasoning

Persist the business operation key atomically with the claimed work or use the destination’s idempotent API. A fresh delivery identifier can describe the same request.

Worked case 2

A maintenance task succeeded on seven hosts and timed out on three. Should the entire fleet be replayed?

Check your reasoning

Read per-target status, confirm the operation is safe to repeat and retry the failed subset within the approved maintenance window.

Systems Manager Automation

Official DOP-C02 skills for this topic

Related lesson in AWS Certified CloudOps Engineer – Associate. Choose and verify fleet automation.

Practice with the recording

A hundred hosts need a one-time diagnostic and a recurring configuration correction. How do you keep those operations distinct?

Check your reasoning

Use Systems Manager Run Command for the bounded diagnostic. Associate a State Manager configuration with the intended targets for recurring reconciliation. Check target membership and execution reports independently so a successful one-off run does not mask an omitted host.

sthithapragna · DOP-C02 full course · 3:09:28

Knowledge check

Coordinate long-running fleet changes quiz

Answer 3 questions. Check each answer for an explanation.