September 18, 2018

How to check whether the script in User Data section of EC is executed?

To check whether the script in User Data section of EC2 is executed or not,

  1. SSH  to the EC2 instance
  2. Check log of your user data script in /var/log/cloud-init.log and /var/log/cloud-init-output.log

No comments:

Post a Comment