How to modify user data on an existing EBS backed instance?
You can modify the User Data of an existing EBS-backed EC2 instance by selecting the instance in the AWS Console, going to Actions → Instance settings → Edit user data, updating the script, and saving the changes; the instance may need to be stopped first