ladderlore
Request a guide
  • Type a service name, like S3 or IAM.

Service · Management and Governance · Builds on CLF-C02

AWS Systems Manager

Secure server access and fleet operations with no inbound ports and no bastion hosts.

You know from Cloud Practitioner

  • Systems Manager manages servers on AWS and on premises through the SSM Agent.
  • Session Manager opens a shell with no open ports, SSH keys or bastion.
  • Patch Manager, Run Command and Parameter Store are part of it.
Read the Cloud Practitioner lesson
Private
Administrator
Systems Manager
EC2
No open ports or keys
IAM, HTTPSagent
Shell access through Systems Manager. The instance opens no inbound port.
  • Shell on a private instance

    Session Manager
  • Patch a fleet in a window

    Patch Manager
  • Run a script on tagged instances

    Run Command
  • Store configuration values

    Parameter Store
  • Fix a noncompliant resource

    Automation runbook
Which Systems Manager tool for which job.

What it is

Session Manager replaces SSH and RDP through a bastion host. The agent on the instance makes outbound HTTPS calls to Systems Manager, so the security group needs no inbound rule. In a private subnet, add interface endpoints for Systems Manager or a NAT gateway so the agent can reach the service. IAM controls who can open a session, and sessions can be logged to Amazon S3 or Amazon CloudWatch Logs. The instance needs an instance profile with the managed node policy.

What it is

EC2 Instance Connect is a middle option. IAM permission lets a user connect with SSH from the console or the CLI, and AWS pushes a one-time public key that lasts 60 seconds. It still needs port 22 open, either to the user or to an Instance Connect Endpoint. Session Manager stays the answer for no open ports.

Patch Manager applies patch baselines in a maintenance window across a fleet and reports compliance. Run Command runs a script on many instances chosen by tag, with no SSH. Automation runbooks perform multi-step fixes, and AWS Config can start them to remediate. Parameter Store holds configuration, as plain text or as encrypted SecureString values.

Remember

  • Session Manager: no inbound ports, no SSH keys, no bastion, logged sessions.
  • The agent connects outbound. A private subnet needs endpoints or NAT.
  • The instance profile needs permission for Systems Manager.
  • Patch Manager uses baselines and maintenance windows.
  • Run Command targets instances by tag.

Remember

  • Automation runbooks are the targets of Config remediation.

On the exam

  • “Admins need shell access to private instances without opening port 22 or running a bastion” points to Session Manager.
  • “Patch hundreds of instances in a weekly window” points to Patch Manager.
  • “Run one script on all instances with a given tag” points to Run Command.