Sending IIS (Windows Server) log to CloudWatch without SSM - possible?

0

Hello,

  • chatGPT states that you don't need to use any SSM features when installing and configuring CloudWatch agent on Windows machine to send IIS log.
    • But another videos on Youtube recommend using except cloudwatch role, also some ssm role for EC2 instance and SSM agent/features to reach the goal.
  • ** One video even points on necessity of having enabled 'Endpoint ssm' feature (in VPC) to make the final configuration working.

What is the correct answer?

Can I do it as a beginner without all those SSM-related stuff?

Thanks a lot

Edd
질문됨 4달 전292회 조회
2개 답변
0

All that’s required is the cloud watch agent installing and configuring on the instance and with connectivity to the logs public or private endpoint.

And

A role with permissions to write to cloud watch log groups will be required too.

SSM isn’t required but may be used to configure and or install the agent in an automated way.

profile picture
전문가
답변함 4달 전
profile picture
전문가
검토됨 4달 전
profile picture
전문가
검토됨 4달 전
0

hey,

install the CloudWatch agent in your server and configure it to push the logs.

Make sure to create and attach an IAM instance profile i.e., an IAM role to the server which should have permissions to send logs to CloudWatch.

Following document will help you to setup the CloudWatch agent and required policies https://repost.aws/knowledge-center/cloudwatch-push-metrics-unified-agent

profile picture
답변함 4달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠