How can I send user-data output to the console logs on an EC2 instance for Windows Server 2022

0

How can I send user-data output to the serial console on an EC2 instance for Windows Server 2022.

Ritesh
asked 5 months ago303 views
1 Answer
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.

AWS
SUPPORT ENGINEER
answered 5 months ago
profile picture
EXPERT
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions