How to fix Session Manager – Quick Tip – AWS SSM Agent | Tutorial 2022

How to fix Session Manager – Quick Tip – AWS SSM Agent | Tutorial 2022


How to fix Session Manager – Quick Tip – AWS SSM Agent | Tutorial 2022

Hello, today a quick #tutorial on Session Manager and Amazon #aws SSM Agent. If you are having problems connecting to EC2(Windows system), using Session Manager then you should watch this video. You will learn from it how I deal with such problems.

🔔 SUBSCRIBE:    / @wojciechlepczynski  

Before you start, make sure you have a role connected to #EC2 with the correct permissions. What those permissions should be, you’ll learn from this article: https://lepczynski.it/en/aws_en/sessi

The article and detailed description:
https://lepczynski.it/en/aws_en/quick

If you are interested in cloud computing and kubernetes, I encourage you to check out my blog:
https://lepczynski.it/en




FOLLOW ME :
📓 Blog: https://lepczynski.it/en
🚀 Facebook: https://www.facebook.com/lepczynski.it
⭐️ Twitter: https://twitter.com/WLepczynski

#fix
___
Music from Uppbeat (free for Creators!):
https://uppbeat.io/t/mojo/rumble
License code: 86FQBF6HC1ODHO4Q


Content

0.12 -> welcome on my channel Wojciech Lepczyński here
2.137 -> Today I have quick tip for you
5.58 -> if you have a problem with  connection to ec2 by session manager
10.98 -> then you definitely should stay  and see how I solve this problem
18.84 -> first check the IAM role connected to ec2
21.78 -> what the role should contain you can read  in the article on my blog LEPCZYNSKI.IT
26.1 -> don't worry link you can find in  the description and let's move on
30.84 -> assuming the role is valid and you  still cannot connect via session manager
35.88 -> you should connect by RDP
38.52 -> if you forgot your password don't worry
40.68 -> you can read them from the  key assignment to the machine
43.62 -> just choose your key and decrypt password
46.98 -> and login to your machine
50.4 -> if you use VPN
52.98 -> you should use VPN because it's more secure
57.36 -> if you use VPN you need to  First connect to your VPN
61.68 -> then by RDP to your ec2
64.62 -> if you don't use VPN you can  just connect by RDP to your ec2
69.78 -> very often the problem with search manager is  that the service 'Amazon SSM agent' is not running
74.88 -> as you can see sometimes the service all the  status starting all the time starting not running
82.2 -> and sometimes the service has not started at all
86.7 -> if you click Start and that service  start then you are very lucky  
91.68 -> however open the service will not  start and you will get an error
98.34 -> this problem can usually be solved by  running two simple command in PowerShell
103.02 -> you need just fix routing table
105.24 -> don't worry you can also find this command  on my blog https://lepczynski.it/en
108.63 -> you can just copy paste from there
110.28 -> now you should be able to run the  SSM agent without any problems
120.6 -> after refreshing Connect using session manager
125.22 -> if you are unlucky and it does not work for you
129 -> then you need to look at the logs
131.58 -> usually you find them in  the program data directory
135.42 -> you can also try reinstalling the SSM agent
138.6 -> if you like this movie then give a thumbs up
141.78 -> subscribe to the channel and you  will find out about my new videos
146.16 -> and if you ring the bell  you'll find out even faster
150.84 -> good luck and see you in next video

Source: https://www.youtube.com/watch?v=maOO7zKOOrs