Reputation: 16
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
Reputation: 7069
SSM Agent needs permission to connect with Systems Manager service. Make sure you do the following things.
AmazonSSMManagedInstanceCore
managed policy to that IAM Role.This AmazonSSMManagedInstanceCore
managed policy grants instances the permissions needed for core Systems Manager functionality.
Upvotes: 0