Kishor Joshi
Kishor Joshi

Reputation: 16

SSM Issue ( Aws Session manager)

SSM Agent is not online The SSM Agent was unable to connect to a Systems Manager endpoint to register itself with the service.

I created new ec2 but this is the error I'm getting while accessing the ec2 via session manager.

Ec2 should be connecting through session manager

Upvotes: 0

Views: 94

Answers (1)

Ankush Jain
Ankush Jain

Reputation: 7069

SSM Agent needs permission to connect with Systems Manager service. Make sure you do the following things.

  1. Attach an IAM role (instance profile) to EC2
  2. Attach AmazonSSMManagedInstanceCore managed policy to that IAM Role.

This AmazonSSMManagedInstanceCore managed policy grants instances the permissions needed for core Systems Manager functionality.

Upvotes: 0

Related Questions