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

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ