AWS › AWS Systems Manager
What is Systems Manager Session Manager, and how does it improve the security of accessing EC2 instances compared to traditional SSH?
BeginnerAnswer
Session Manager lets you start a secure interactive shell session directly with an EC2 instance through the AWS console or CLI without needing to open any inbound SSH ports, manage SSH keys, or maintain a bastion host, since all connections are established using IAM permissions and logged centrally, significantly reducing the attack surface and administrative overhead compared to traditional SSH based access.
aws ssm start-session --target i-1234567890abcdef0Real-world example A company eliminates its previous bastion host architecture entirely, switching to Session Manager for all administrative access to its private EC2 instances, closing off inbound SSH access completely while still allowing authorized engineers secure shell access.