最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

amazon web services - SSM Issue ( Aws Session manager) - Stack Overflow

programmeradmin2浏览0评论

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

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

Share Improve this question asked Jan 31 at 9:48 Kishor JoshiKishor Joshi 161 bronze badge 2
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – PatPanda Commented Feb 1 at 12:10
  • @Kishor - I've provided an answer below. If it helped resolve your issue, please consider upvoting and accepting it so others can benefit too. – Ankush Jain Commented Feb 4 at 14:13
Add a comment  | 

1 Answer 1

Reset to default 0

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.

发布评论

评论列表(0)

  1. 暂无评论