Volume 6 · Chapter 10 — Observability and Operations

AWS Systems Manager for Operations

Goutham Mayaluri 4 min read AWSCloudObservability

10.1 Introduction

AWS Systems Manager (SSM) is the operations-management hub, and it’s heavily tested because it consolidates patching, remote access, configuration, automation, and parameter storage across your fleet - often without SSH or bastion hosts. This chapter covers the SSM capabilities an architect must know, because “how do you operate a fleet securely at scale?” frequently has an SSM answer.

10.2 The SSM Agent and Fleet Management

Systems Manager works through theSSM Agent(preinstalled on most AMIs) on managed instances - EC2, on-premises, and other clouds - which report to SSM. This gives a single control plane for a hybrid fleet.Inventorycollects software and configuration data across instances, andFleet Managerprovides a UI to manage them. The foundational value is agent-based, credential-less management of a fleet at scale, spanning cloud and on-premises - the basis for the capabilities below.

10.3 Session Manager and Run Command

Session Managerprovides secure shell access to instancesthrough the SSM Agent and IAM- no open SSH port (22), no bastion host, no SSH keys - with full session logging to CloudWatch/S3 for audit. This is a major security win the exam favours: replace bastion hosts and open SSH with Session Manager for auditable, keyless, port-less access.Run Commandexecutes commands or scripts across many instances at once (patch, restart, run a script) without logging in - fleet-wide remote execution. Together they replace ad-hoc SSH with governed, logged, scalable operations. “How to access instances without SSH/bastion?” → Session Manager is the answer.

flowchart TB
  SSM[Systems Manager] --> SM[Session Manager - keyless, port-less, logged shell]
  SSM --> RC[Run Command - fleet-wide script execution]
  SSM --> PM[Patch Manager - scheduled patching + compliance]
  SSM --> Auto[Automation - runbooks / self-healing]
  SSM --> PS[Parameter Store - config + secrets]
  SSM --> State[State Manager - enforce desired config]

10.4 Patch Manager, State Manager, and Maintenance Windows

Patch Managerautomates OS and application patching across the fleet using patch baselines, and reports patch compliance - the managed way to keep instances patched (a customer responsibility).State Managerenforces a desired configuration state on instances (e.g. ensure an agent is installed and running, apply settings) continuously.Maintenance Windowsdefine scheduled times for disruptive operations (patching, restarts) so they happen in approved windows. Together these deliver automated, compliant, scheduled configuration and patch management - the operational-excellence backbone for a fleet, and common exam answers for “keep instances patched/compliant automatically.”

10.5 Automation, Parameter Store, and OpsCenter

SSM Automationrunsrunbooks(predefined or custom documents) to automate operational tasks and remediation - create an AMI, restart a service, respond to an incident - and integrates with EventBridge and CloudWatch alarms forauto-remediation.Parameter Store(met in the security volume) stores configuration and secrets hierarchically, integrated with IAM and KMS.OpsCenteraggregates operational issues (OpsItems) with context for investigation, andChange Managergoverns change requests. This automation layer turns runbooks into executable, event-triggered remediation - the mechanism behind self-healing operations. The exam pattern: SSM Automation documents for repeatable/auto-remediation tasks, triggered by alarms or EventBridge.

10.6 Banking Production Scenario

A bank manages its entire hybrid fleet through Systems Manager. Engineers access instances via Session Manager - no SSH ports, no bastions, no keys - with every session logged for audit. Patch Manager applies patch baselines during Maintenance Windows and reports compliance, while State Manager keeps required agents and configuration enforced. Run Command executes fleet-wide operational scripts. SSM Automation runbooks handle repeatable tasks and, triggered by CloudWatch alarms and EventBridge, auto-remediate common incidents (restart a stuck service, isolate a compromised instance). Parameter Store holds configuration and secrets, and OpsCenter aggregates operational issues for the on-call team. This keyless, automated, compliant fleet operation is exactly the professional-level operations design the certification targets.

10.7 Chapter Revision Notes

  • SSM manages EC2, on-prem, and multi-cloud via the SSM Agent (single control plane); Inventory + Fleet Manager give visibility.
  • Session Manager = secure, keyless, port-less, logged shell (replaces bastion/SSH); Run Command = fleet-wide script execution.
  • Patch Manager (baselines + compliance), State Manager (enforce desired config), Maintenance Windows (scheduled disruptive ops).
  • SSM Automation runbooks automate tasks and auto-remediate (triggered by CloudWatch alarms/EventBridge); Parameter Store for config/secrets; OpsCenter aggregates issues.
  • “Access instances without SSH/bastion” → Session Manager; “keep fleet patched/compliant” → Patch Manager + Maintenance Windows.