AWS · Management and Governance

AWS Systems Manager

Operations hub for fleets of EC2 and on-premises servers: patching, remote sessions, run commands, automation, inventory and parameters.

On the SAA-C03 exam listAutomationMonitoring and observabilityHybrid connectivity

What it is and what problem it solves

AWS Systems Manager manages servers (EC2, on premises, other clouds) through the SSM Agent, plus operational resources. Key capabilities:

  • Session Manager: browser or CLI shell access without SSH keys, bastion hosts or open inbound ports, with session logging.
  • Patch Manager: scan and install patches on schedules.
  • Run Command and State Manager: run scripts and keep servers in a desired state.
  • Automation: runbooks for common tasks and remediation.
  • Inventory: what software is installed where.
  • Parameter Store: configuration values and secrets (SecureString) in a hierarchy.
Who manages each layer?EC2 (IaaS)RDS (managed)Lambda (serverless)Your data and access (IAM)YouYouYouApplication codeYouAWSYouGuest OS patches, runtimeYouAWSAWSNetwork + firewall configYouYouAWSHypervisor, hardware, facilitiesAWSAWSAWSRule of thumb: the more managed the service, the more AWS does for you.
Shared responsibility shifts towards AWS as services get more managed

When to use it

  • Managing and patching many servers without logging in to each one.
  • Removing SSH and bastion hosts for administrative access.
  • Storing configuration and simple secrets for applications.

When to avoid it

  • Secrets that need automatic rotation: Secrets Manager.
  • Serverless-only applications with no servers to manage (Parameter Store and Automation still help).

Limits and quotas

ItemValueContextSource
Parameter Store standard tier Up to 10,000 parameters, 4 KB values, no parameter policies Source
checked
Parameter Store advanced tier Up to 100,000 parameters, 8 KB values, parameter policies Advanced parameters are charged. Source
checked

Quotas and limits change. Check the linked source before designing around a number.

Cost model

What you pay for

Many capabilities have no extra charge for EC2; charges apply for advanced parameters and higher Parameter Store throughput, Automation steps beyond a free amount, OpsCenter, on-premises advanced instances and some other features.

Where it is cost-efficient

Patching and access management for EC2 fleets.

Where costs grow

Many advanced parameters, high API throughput on Parameter Store, and advanced on-premises instances.

Cost controls and common surprises

Use standard parameters where possible and cache parameters in applications.

Prices differ by Region and change over time; see the pricing page linked under Sources.

Security

Controls the service provides

Session Manager removes inbound ports and keys; IAM controls who can run commands on which instances; session logs to S3 or CloudWatch.

What you configure

Grant Run Command and Session Manager access narrowly, log sessions, and encrypt SecureString parameters with KMS.

Logging and monitoring

Session logs, command output to S3 or CloudWatch Logs, CloudTrail.

Related security services

IAM, KMS, CloudWatch, Config (remediation), Inspector.

Shared responsibility

AWS runs the service. You manage the agents, permissions and what runs on your servers.

Common service combinations

Patch Manager with Inspector findings, Config remediation with Automation, Parameter Store with Lambda and ECS, VPC endpoints for private instances.

Business application examples

  • Engineers open shell sessions to private instances with no SSH keys or bastions, and every session is logged.
  • Monthly patching of 2,000 servers with maintenance windows.

Exam cues and common confusions

  • Access instances without SSH, bastions or open ports: Session Manager.
  • Patch many instances: Patch Manager. Run a script on many instances: Run Command.
  • Store configuration and secrets cheaply: Parameter Store (SecureString).

Related

Courses and lessons

Services, comparisons and patterns

Sources

Independent study material, not affiliated with or endorsed by Amazon Web Services. AWS and service names are trademarks of Amazon.com, Inc. or its affiliates.

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake