LoginSignup
22
10

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
22
10
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
22
10