Copyright (c) 2026 MindMesh Academy. All rights reserved. This content is proprietary and may not be reproduced or distributed without permission.

4.2.1. Systems Manager: The Operations Platform

šŸ’” First Principle: Before Systems Manager, operating a fleet of EC2 instances meant SSH access: connecting to each instance individually, running commands, checking outputs, repeating. At scale, this doesn't work. Systems Manager provides a secure, auditable, agent-based management plane that replaces SSH with API-driven operations — no bastion hosts, no open port 22.

Systems Manager is a broad service — it's actually a collection of capabilities, each solving a specific operational problem. The exam tests knowledge of which capability to use in which scenario.

Systems Manager Capabilities — The Exam-Critical Set:
CapabilityWhat It DoesKey Exam Scenario
Run CommandExecute scripts/commands on instances without SSH"Run a patch script on 500 instances"
Session ManagerBrowser/CLI-based shell access without port 22 or bastion hosts"Securely access instance without SSH"
Patch ManagerAutomated OS patching per schedule and baseline"Ensure all instances are patched within 72 hours"
State ManagerContinuously enforce a desired configuration state"Ensure CloudWatch agent is always running"
AutomationMulti-step workflows (covered in Phase 2)"Stop instance, snapshot, resize, restart"
Parameter StoreSecure storage for config and secrets"Store DB connection string for app to retrieve"
InventoryCollect instance metadata (installed software, network config)"What version of nginx is running across our fleet?"
OpsCenterCentralized view of operational issues (OpsItems)"Track and resolve operational incidents"
Fleet ManagerGUI-based instance management"View Windows Event Logs without RDP"
DistributorPackage deployment across fleet"Install a custom agent on all instances"
Session Manager — Why It Matters:

Session Manager is the recommended replacement for SSH and RDP. It requires no inbound ports, no bastion hosts, and no key pairs. Access is controlled entirely through IAM policies. Every session is logged to CloudWatch Logs or S3.

SSHSession Manager
Requires port 22 openāŒ No inbound ports required
Requires key pair managementāŒ No key pairs
Hard to auditāœ… Full session logging
Requires bastion host for private instancesāŒ Works on private instances via SSM endpoint
IAM-based access controlāœ… IAM policy controls who can start sessions
Patch Manager:

Patch Manager automates OS patching using a patch baseline (which patches to approve) and a maintenance window (when to apply them).

ComponentDescription
Patch BaselineRules defining which patches are approved (by severity, classification, age)
Patch GroupA tag (Patch Group: production) that associates instances with a specific baseline
Maintenance WindowA scheduled time window during which patching runs
Compliance ReportShows which instances are patched, which are missing patches

AWS provides pre-defined baselines for common OSes (Windows, Amazon Linux, Ubuntu, RHEL). You can create custom baselines for stricter or more permissive requirements.

Parameter Store vs. Secrets Manager:
FeatureParameter StoreSecrets Manager
CostFree (standard tier)~$0.40/secret/month
Automatic rotationāŒ Noāœ… Yes (Lambda-based)
Cross-account accessLimitedāœ… Yes
Max size4KB (standard), 8KB (advanced)64KB
Versioningāœ… Yesāœ… Yes
Use forConfig values, non-secret parametersPasswords, API keys, database credentials requiring rotation

Use Parameter Store for non-sensitive configuration and Secrets Manager for credentials that must be rotated automatically.

āš ļø Exam Trap: Systems Manager requires the SSM Agent to be installed and running on instances, and instances need an IAM instance profile with the AmazonSSMManagedInstanceCore managed policy. Without these, instances won't appear in Systems Manager. New Amazon Linux 2 and Windows instances include the SSM Agent by default, but you must still attach the correct instance profile.

Reflection Question: A compliance audit requires that no EC2 instances in the production environment have port 22 open and that all shell access be logged and auditable. Currently, engineers use a bastion host for SSH access. What Systems Manager capability replaces the bastion host, and what three things must be configured to make it work?

Alvin Varughese
Written byAlvin Varughese
Founder•15 professional certifications