Not able to launch directory service administrator ec2 instance

0

Hi All,

actually we are trying to launch admin ec2 instance for our managed directory but it is getting timed out at step waituntilinstancessmmanaged, i am not sure why this is happening and what is the possible solution to resolve this. currently we are accessing th account using IAM role and and performing all the actions in account with IAM role only.

3回答
0

Hello,

The step "waituntilinstancessmmanaged" is to check if the instance is reporting with an "Online" Status to the SSM service or not. If it does not report online status, then the check will timeout and fail.

Hence please refer to the below document to check if the instance is having necessary IAM role attached, network connectivity to SSM endpoint and SSM agent installed.

https://repost.aws/knowledge-center/systems-manager-ec2-instance-not-appear

AWS
サポートエンジニア
回答済み 7ヶ月前
0

I am also facing the same problem. Its windows agent and its taking time to launch and automation service is timeout before even the ec2 comes online with all checks.. and i cant edit the timeout of 240s

回答済み 5ヶ月前
0

I've gone through this over the last day, basically, it boils down to having the instance running on the same subnet as that of the domain controller, which is most probably running on a private subnet. Since I have not setup the private subnet to have a NAT gateway, it's unable to communicate to the external web which SSM is by default set into.

To do the change, I copied the "AWS-CreateDSManagementInstance" run book, and modified the subnet on the "LaunchInstance" and "LaunchInstanceNoKey" actions to have the value of the public subnet I want it to be launched in. Took me a while to realize that there's a different run for the LaunchInstanceNoKey so you need to modify that too.

Oh, and if you don't have auto-assign public IP enabled, you need to assign an elastic IP just as the instance is launching. :)

Andrew
回答済み 2ヶ月前

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

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

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

関連するコンテンツ