I would like to ask if there is a way to re-execute user data on a launched instance. I want to restart a service and to edit ~./ssh/autorized_keys.
I found information at https://aws.amazon.com/premiumsupport/knowledge-center/execute-user-data-ec2/ but the cloud log from the console does not show anything to have changed.