Amazon Inspector - Unmanaged EC2 instance

0

Hi, we are having issues with AWS Inspector because all new EC2 instances are shown as "Unmanaged EC2 instance" despite of having the SSM agent installed, having the right role with "AmazonSSMManagedInstanceCore" permissions attached, and being listed in the Managed Nodes within the SSM.

When we try to run the "AWSSupport-TroubleshootManagedInstance" automation, it gets stuck in step 4 "GetEC2InstanceProperties" in Pending state. Any idea about how to fix this? Thanks.

2回答
0

Have you made sure the EC2 can reach to Systems Manager service on port 443 via IGW; NAT gateway or SSM VPC endpoint?? EC2 needs the Systems manager prerequisites as following (IAM role; OS supports; connectivity; etc.) https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-prereqs.html

AWS
Samuel
回答済み 1年前
0

If you have the agent installed and correct IAM role assigned, please create an endpoint to enable connectivity between ec2 and systems manager. https://docs.aws.amazon.com/systems-manager/latest/userguide/setup-create-vpc.html

AWS
Rishi
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ