Aws Cloud Init Logs

Published on May 30, 2022 | Tags: AWS TIL

When a new instance is created, if there is any script running as the instance starts the output/logs of the running commands will go on /var/log/cloud-init-output.log.

So, to check the running logs of an instance just created a very useful command to know is

tail -f /var/log/cloud-init-output.log

Ferran Jovell