Skip to content

Instantly share code, notes, and snippets.

@akshilshah
Created December 15, 2020 06:28
Show Gist options
  • Save akshilshah/2f9966c43af828ddd6d59134cb3bd176 to your computer and use it in GitHub Desktop.
Save akshilshah/2f9966c43af828ddd6d59134cb3bd176 to your computer and use it in GitHub Desktop.
Watch ec2 user data logs
# Source: https://stackoverflow.com/questions/15904095/how-to-check-whether-my-user-data-passing-to-ec2-instance-working-or-not
tail -f /var/log/cloud-init.log
tail -f /var/log/cloud-init-output.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment