AWS: Remote Login with Session Manager
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
- create an ec2 instance
- create role with policy for the ssm (AmazonEc2RoleForSSM)
- attach the role to the ec2 (go to instance setting attach IAM Role)
- go to AWS System Manager and Session Manager for this you have to wait for some time.
- then start the session it will connect to your instance.
- to log everything you can go to cloudwatch and create a log
- now go to AWS System Manager session Manager and in the preference add the cloudwatch logs now you can log everything you do there.