2 Answers
- Newest
- Most votes
- Most comments
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.
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
answered 4 months ago
Relevant content
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago
The following document may be helpful for downloading from the command line. https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/download-cloudwatch-agent-commandline.html
Thanks Riku