EC2 UserData not working

0

Hi, I am trying to initialize an EC2 instance with UserData in cloudformation:
https://ibb.co/KG04gKp
The cloud-init.log also seems normal:
https://ibb.co/mGbHs29

However, I don't see the hello.txt file when I SSH into the instance. What did I do wrong?

Edited by: san1127 on Jul 5, 2021 7:30 AM

san1127
질문됨 3년 전909회 조회
1개 답변
0

It turns out everything is correct, but the script is executed after more than 5 minutes since starting the instance.

san1127
답변함 3년 전

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

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

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

관련 콘텐츠