4 thoughts on “AWS EC2 Instance Metadata & Userdata

  1. As per “If you stop an instance, modify the user data, and start the instance, the new user data is not executed automatically”. But in lifecycle blog it has been mentioned that when instance is at the stop state it’s user data can be modified. Then what is the use of that modification if that is not going to take any affect? also for Ec2config it has been mentioned ”
    EC2Config service is started when the instance is booted. It performs tasks during initial instance startup (once) and each time you stop and start the instance.” – Could you please clarify?

    1. There seems to be an enhancement with a workaround to execute the user data scripts on every restart/stop-start action now. Will check and update accordingly.

Comments are closed.