AWS - Unable to connect using Session manager

Need an IAM role with AmazonSSMManagedInstanceCore permission, so we can attach it to EC2 instance.

IAM is static in the AWS Playground. You should use SSH to connect to your EC2 instance:

ssh -i "bob.pem" [email protected]