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개 답변

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠