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 年前

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

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

回答問題指南