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
It turns out everything is correct, but the script is executed after more than 5 minutes since starting the instance.
로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.
좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.