Use this when changes may only run in agreed windows.
Change Window
A change window is the approved time when a change may be carried out, usually outside business hours for risky changes. Automation can check that it runs only inside the window.
1. Change windows limit risk.
2. Automation checks windows before running.
3. Freezes during critical periods.
4. Emergency exceptions.
5. Communicate.
change → window check → run/block
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
The primary procedure is: Evaluate the same change at times just before, inside and just after the approved window using the production timezone/calendar; confirm dispatch and override behavior for each case. Exercise failure-oriented cases such as DST boundary mistakes, stale calendar assignments, overlapping blackout windows, jobs starting just before close without policy and unlogged emergency overrides so the test covers failure cases, not only the happy path.
Step 2 Common mistakes Narrow the fault
- Changes running past the window without a stop decision.
Step 3 Where it fails Narrow the fault
Failure analysis for Change Management → Change Window should follow the path through the components: calendar definition → current-time/timezone evaluation → eligibility gate → job dispatch → runtime continuation policy → closure. Tests should include edge cases such as DST boundary mistakes, stale calendar assignments, overlapping blackout windows, jobs starting just before close without policy and unlogged emergency overrides. Recovery should block new dispatch when window state is ambiguous, preserve the evaluated time/calendar version, correct assignment or timezone, then test boundary instants before re-enabling automation.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Risky changes outside business hours.
- Automation can enforce windows.
- Emergency changes have their own process.
- Change calendar — windows
- Freeze periods — blackouts
- Automation enforcing windows — guard
ReferenceWhy it matters1 section · depth on demand
In depth
A change window is the approved time period when changes may be made, usually chosen for low business impact. Automation should enforce windows rather than rely on people remembering them.
| Practice | Implementation |
|---|---|
| Enforce in pipeline | Fail deployment outside the window |
| Time zones | Define windows per site's local time |
| Freeze periods | Block all non-emergency changes |
| Duration | Stop starting new batches near the end |
from datetime import datetime, time
now = datetime.now(tz=site_tz).time()
if not time(1, 0) <= now <= time(5, 0):
raise SystemExit("outside change window")
ReferenceImportant terms & boundaries1 section · depth on demand
Mechanics
Change Window in Change Management is owned at runtime by the change calendar/window service and scheduler gate that decides whether a planned mutation is eligible to start. The durable intent is versioned allow/deny windows, timezone, emergency override policy, maintenance dependencies and mapping from changes/jobs to calendars. Reliable automation must carry stable identity across the path: change ID, calendar/window ID/version, evaluated instant and override/approval identity. The consumer-visible target is permission to begin or continue a specific change, not the target infrastructure state itself. The key invariants are timezone and window boundaries are explicit, closed windows block new work, long-running work behavior is defined, overrides are attributable and emergency rules do not silently become normal paths.
ReferenceConfiguration & state1 section · depth on demand
Lifecycle
Store and review versioned allow/deny windows, timezone, emergency override policy, maintenance dependencies and mapping from changes/jobs to calendars; pin or at least record implementation/model versions and keep environment-specific identity outside reusable logic where possible. The stable identity contract is change ID, calendar/window ID/version, evaluated instant and override/approval identity.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Change Management > Change Window. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-change-calendar.html · confidence 94%Quick lookup tables
Change Management → Change Window · operational reference
Context-specific ownership, verification, output and failure-boundary lookup for Change Management → Change Window.
| Layer | Change Management → Change Window operational reference |
|---|---|
| Runtime/ownership | calendar-gated automated change execution · the change calendar/window service and scheduler gate that decides whether a planned mutation is eligible to start |
| Persistent intent | versioned allow/deny windows, timezone, emergency override policy, maintenance dependencies and mapping from changes/jobs to calendars |
| Verification | Evaluate the same change at times just before, inside and just after the approved window using the production timezone/calendar; confirm dispatch and override behavior for each case. |
| Expected interpretation | The change starts only in an approved window or through an explicitly authorized override, boundary behavior matches policy, and every eligibility decision records the calendar/version and evaluated instant. |
| Recovery boundary | block new dispatch when window state is ambiguous, preserve the evaluated time/calendar version, correct assignment or timezone, then test boundary instants before re-enabling automation |
Deep reference
Healthy vs suspicious evidence
Output interpretation
At minimum retain change ID, calendar/window ID/version, timezone, evaluated UTC/local time, OPEN/CLOSED decision, override identity/reason, dispatch timestamp and runtime continuation state. The useful output makes ambiguity visible, links to the target identity from change ID, calendar/window ID/version, evaluated instant and override/approval identity, and provides enough context to safely decide whether a retry is permitted.