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
gefragt vor 6 Monaten330 Aufrufe
1 Antwort
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-TECHNIKER
beantwortet vor 6 Monaten
profile picture
EXPERTE
überprüft vor 2 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen