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
已提問 6 個月前檢視次數 330 次
1 個回答
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
支援工程師
已回答 6 個月前
profile picture
專家
已審閱 2 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南