AWS Builder Center

AWS Systems Manager Session Manager: Secure EC2 Access

Learn how AWS Systems Manager Session Manager allows you to securely access EC2 instances without opening SSH port 22. A simple and useful approach for beginners learning AWS and DevOps.

Devops Enginner

AWS Systems Manager Session Manager

Session Manager allows you to connect to EC2 instances without using SSH or managing SSH keys.
Instead of exposing port 22, users can connect through the AWS Console or AWS CLI.
Example:
aws ssm start-session --target <instance-id>

Benefits

  • No need to open SSH port 22
  • No SSH keys required
  • Secure EC2 access
  • Useful for troubleshooting
  • Great for DevOps environments
Session Manager is a simple way to make EC2 administration more secure.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article