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.
您未登录。 登录 发布回答。
一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。