Ec2Config enable UserData on reboot

0

Hi,

We have a template instance that we use to the create multiple child instances using a special json files with specific user data that is used when creating certain instances. In order for this user data to work, of course, the "Enable UserData execution" has to be checked in the Ec2 Config Service settings. However, when the template machine is shut down, if my colleagues forget to enable this in the Ec2 Config, then our child instances do not work properly because the user data is not enabled.

I've searched and have come up with no easy way to simply re-enable the User Data checkbox in the Ec2 Config automatically when the parent instance is rebooted. Any suggestions from anyone?

Thanks!

Tim
質問済み 4年前221ビュー
1回答

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

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

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

関連するコンテンツ