AWS: Remote Login with Session Manager

sandeep negi
1 min readOct 21, 2019

--

So what is Session Manager imagine you want to connect to your ec2 instance not from your system but from the browzer only so in that case you can use this service

steps

  1. create an ec2 instance
  2. create role with policy for the ssm (AmazonEc2RoleForSSM)
  3. attach the role to the ec2 (go to instance setting attach IAM Role)
  4. go to AWS System Manager and Session Manager for this you have to wait for some time.
  5. then start the session it will connect to your instance.
  6. to log everything you can go to cloudwatch and create a log
  7. now go to AWS System Manager session Manager and in the preference add the cloudwatch logs now you can log everything you do there.

--

--

sandeep negi
sandeep negi

Written by sandeep negi

Software Engineer, who loves challenges and new technologies. :)

No responses yet