1 Answer
- Newest
- Most votes
- Most comments
1
Hi Ritesh,
I believe the core of the ask is to get the user data execution details outside the instance and you should not login to the instance.
A better option here would be to send your user data to Cloud Watch. You can follow below article for the implementation details. https://aws.amazon.com/blogs/infrastructure-and-automation/logging-windows-amazon-ec2-userdata-activity-in-amazon-cloudwatch/
I hope the article helps you.
Relevant content
- Accepted Answerasked 8 months ago
- asked 8 months ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 4 months ago