
How Systems Manager communicates with managed instances
To be managed by Systems Manager, an instance or server must run the Systems Manager Agent (SSM Agent). The SSM Agent is a small service installed on supported operating systems (EC2 instances, on‑premises servers, or VMs in other clouds). It brokers communication between the managed resource and the Systems Manager control plane so you can collect inventory, run commands, apply configurations, and fetch telemetry.

Key capabilities
Systems Manager provides a broad set of features to manage compute fleets consistently:- Centralized control: single UI and API to administer many systems.
- Resource grouping: target instances by tags, resource groups, or attributes.
- Automation: define and run safe, repeatable runbooks for routine operations.
- Patch management: schedule and automate OS patching.
- Operational insights: aggregated views via Explorer and OpsCenter.
- Remote management: secure shell access via Session Manager without open inbound ports.
- Compliance: scan and report on patch/configuration compliance.
- Hybrid support: manage on‑premises servers and other-cloud VMs.

Core subservices and typical use cases
Below are grouped Systems Manager capabilities and recommended use cases. Application management- Application Manager: visualize and investigate application components and their operational health. You can map the resources that comprise an application (for example EC2, RDS, Lambda) and identify failing components quickly.
- Parameter Store: secure, hierarchical storage for configuration data and secrets (optional KMS encryption). Use Parameter Store to avoid hard‑coding credentials and to enable runtime configuration changes.


- Change Manager: enterprise workflows to plan, approve, and implement operational changes (for example, coordinating database upgrades with required approvers).
- Automation: author runbooks to automate routine and safety‑checked tasks (e.g., hardening new instances at boot).
- Change Calendar: create blackout windows and scheduling restrictions to prevent changes during critical business periods.
- Maintenance Windows: schedule tasks (patching, updates) to run during off‑peak hours to minimize user impact.

- Compliance: scan instances for missing patches and configuration drift.
- Inventory: collect metadata about installed applications, packages, and network settings.
- Session Manager: securely connect to instances using a browser shell or CLI — no inbound SSH/RDP required.
- Run Command: execute ad‑hoc commands or scripts across fleets.
- State Manager: define and enforce desired configuration state to prevent drift.
- Patch Manager: automate scheduling and rollout of OS patches.
- Distributor: package and deploy internal software across your fleet.
- Incident Manager: detect incidents (via CloudWatch alarms), notify on‑call responders, and orchestrate runbooked mitigation and recovery steps.
- OpsCenter: centralize operational issues and findings so responders can investigate and resolve problems with linked runbooks and remediation guidance.

Quick reference: Systems Manager components
Prerequisites and best practices
To use Systems Manager effectively:- Install and run the SSM Agent on each managed instance (refer to the official documentation for OS‑specific steps).
- Attach an instance profile or provide credentials that grant Systems Manager the required permissions (for example, the managed policy
AmazonSSMManagedInstanceCore). - Ensure network connectivity to Systems Manager endpoints either via internet access or VPC endpoints for Systems Manager and related services.
Ensure SSM Agent, proper IAM permissions, and network access are in place before attempting to manage instances. Without these, Systems Manager cannot communicate with the instance.
Links and references
- AWS Systems Manager documentation: https://docs.aws.amazon.com/systems-manager/
- SSM Agent installation guide: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-install-ssm-agent.html
- Parameter Store (Systems Manager) overview: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-parameter-store.html
- Session Manager overview: https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager.html