26
13

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

AWS EC2でuserdataの実行結果Logの確認

Last updated at Posted at 2021-03-01

確認方法

  • userdataを利用すると、起動後にインスタンスにユーザーデータを渡し、一般的な自動設定タスクを実行したり、スクリプトを実行したりできます。
  • userdataはcloud-initを介して実行されるので、cloud-initの出力ログファイルを見ることで、userdataの実行結果ログが確認できます。
cat /var/log/cloud-init-output.log
26
13
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
26
13

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?