Created
May 16, 2021 10:56
-
-
Save rafamdr/2e3bab67a7f411ab1f2b16067f093fe2 to your computer and use it in GitHub Desktop.
Get logs of AWS EC2 "user_data" script execution inside instance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# grep cloud-init /var/log/messages | |
# OR | |
# tail -f /var/log/messages | grep cloud-init | |
# Source: https://stackoverflow.com/questions/50255413/var-log-cloud-init-output-log-is-not-present-on-rhel-7-5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment