DevOpsLesson
DevOpsLesson

Free, comprehensive DevOps tutorials and learning roadmaps. Master Docker, Kubernetes, CI/CD, and more.

Stay Updated

Get notified about new tutorials and features.

Tutorials

  • What is DevOps?
  • Docker Tutorial
  • Terraform Tutorial
  • CI/CD Pipeline
  • All Tutorials

Roadmaps

  • DevOps Engineer
  • Cloud Engineer
  • SRE Path
  • All Roadmaps

Company

  • About Us
  • Blog
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 DevOpsLesson. All rights reserved.

DOCKERKUBERNETESTERRAFORMAWSCI/CDLINUXGITDEVOPS ROADMAPCLOUD ROADMAPSRE ROADMAPGIT CHEATSHEETDOCKER CHEATSHEETK8S CHEATSHEETTF CHEATSHEETLINUX CHEATSHEETDOCKERFILE LINTERYAML VALIDATORCRON PARSERREGEX TESTER

Aws Tutorial

Introduction to AWS
AWS Global Infrastructure
Setting Up AWS
AWS IAM
AWS EC2
AWS VPC
AWS S3
AWS RDS
AWS Lambda
AWS ECS and EKS
AWS CloudWatch
AWS CodePipeline
AWS Cost Optimization
AWS Elastic Load Balancing
AWS Auto Scaling
AWS CloudFront
AWS Route 53
AWS DynamoDB
AWS ElastiCache
AWS SQS
AWS SNS
AWS EventBridge
AWS Step Functions
AWS API Gateway
AWS ECR
AWS EKS
AWS CloudFormation
AWS Elastic Beanstalk
AWS KMS
AWS Secrets Manager
AWS WAF and Shield
AWS CloudTrail
AWS Config
AWS Systems Manager
AWS Organizations
AWS EFS
AWS EBS Deep Dive
AWS Kinesis
AWS Athena
AWS CodeDeploy
AWS CodeCommit
AWS CDK
AWS SAM

AWS Systems Manager

PreviousPrev
Next

Learn how AWS Systems Manager centralizes operational tasks such as shell access, parameter storage, patching, and remote command execution.

AWS Systems Manager is the operations hub for many EC2 and hybrid management tasks in AWS. For DevOps teams, it matters because it gives teams a unified way to access instances, store parameters, patch servers, and run commands without opening broad network access. Instead of relying on one fragile manual configuration, you can design a repeatable service boundary that stays stable while the workload behind it changes.

Systems Manager: Management Channels

EC2 Instance (SSM Agent installed)
agent polls SSM endpoint
AWS Systems Manager
Session Manager
SSH-free shell
Parameter Store
config & secrets
Patch Manager
OS patching
Run Command
remote scripts

No inbound ports required — SSM Agent initiates outbound HTTPS to the SSM service

Core ideas

The main ideas to understand are Session Manager provides shell access without bastion hosts or open inbound SSH ports; Parameter Store, Patch Manager, and Run Command cover configuration storage, patch orchestration, and remote automation at scale; the SSM Agent must be present and the instance role must allow Systems Manager actions; and Systems Manager often becomes a safer operational entry point than handing out SSH keys to many engineers. These details shape architecture decisions, but they also shape day-to-day operations. When a team chooses defaults without understanding how the service behaves under failure, scale, or security review, the platform often becomes harder to debug than the application itself.

CapabilityWhat it doesOperational win
Session ManagerBrowser or CLI shell accessNo inbound SSH required
Run CommandRemote script executionFleet-wide maintenance
Parameter StoreStore config valuesCentralised settings management

From an operations perspective, the goal is to standardise routine administration and reduce special-case access patterns that are hard to audit or revoke. The comparison below highlights the choices that usually matter first. It is often better to start with a simpler design and add sophistication only after metrics, incidents, or delivery requirements prove the change is necessary.

Practical commands

aws ssm describe-instance-information --output table
aws ssm start-session --target i-0123456789abcdef0
aws ssm send-command --instance-ids i-0123456789abcdef0 --document-name AWS-RunShellScript --parameters commands='["uname -a"]'

Practical CLI checks make the service easier to support in real environments. Use the commands below to inspect the current state and confirm that automation matches intent. Before you promote a change, verify agent registration, IAM role coverage, and session logging so Systems Manager access is both usable and auditable. A safe default is Session Manager over ad hoc SSH wherever possible to reduce key sprawl and exposed management ports. That discipline makes later troubleshooting, scaling, and security reviews far less painful.

Exercise

Systems Manager scope

Which feature lets you run commands remotely on EC2 instances through Systems Manager?

Exercise

Agent requirement

What must be present on an instance to use many Systems Manager features?

PreviousPrev
Next

Continue Learning

AWS WAF and Shield

Learn how AWS WAF filters web traffic and how Shield Standard and Shield Advanced help protect applications from DDoS events.

12 min·Intermediate

AWS CloudTrail

Learn how CloudTrail records AWS API activity, separates management and data events, and supports audit and investigation workflows.

12 min·Intermediate

AWS Config

Learn how AWS Config tracks resource configuration history and compliance with managed or custom rules and remediation actions.

12 min·Intermediate

Explore Related Topics

Te

Terraform Tutorials

Manage AWS infrastructure as code

Li

Linux Tutorials

Essential Linux skills for working with EC2

On This Page

Core ideasPractical commands