Login to Linux EC2 Instances using Session Manager
In this blog post , We will learn how to login to Linux EC2 Instances using Session manager.
What is Session Manager?
Session Manager is a fully managed AWS Systems manager capability which will help us to manage EC2 instances through an interactive one-click browser-based shell.
Using Session Manager we can start a session with an instance in the AWS account.
Once the session is started , We can run bash commands as usual.
It provides secure and auditable instance management without the need to open inbound ports , maintain bastion hosts or SSH keys.
Supported Operating Systems
Session Manager supports most of the Linux operating systems.
Session manager supports Windows Server 2008 R2 – Windows Server 2019.
Prerequisites
Before connecting to Linux EC2 instances using Session Manager we need to complete the below steps.