User Data Didn't Run Again
You changed an instance's user data script, stopped and started the instance, but the new script didn't run. Why?
Choose one answer
User data only runs on instances in public subnets.
cloud-init runs user data scripts only on the first boot.
Stopping an instance deletes its user data.
The script must be base64-encoded by hand before it is saved in the console.