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 年前檢視次數 223 次
1 個回答

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南