2 Answers
- Newest
- Most votes
- Most comments
1
Without an agent/application or scheduled script there is no way for the operating system metrics to be sent to cloudwatch and therefore no way to set an alert.
Most commonly customers install the cloudwatch agent to send OS metrics + custom metrics to cloudwatch. If using an AMI with SSM already installed the agent can be deployed via SSM
1
To create custom metrics without using CloudWatch Agent, you must use AWS CLI or AWS SDK to create a script to fetch the necessary values.
If the only metrics you want to get are disk and memory, it would be easier to include CloudWatch Agent than to create a script.
Relevant content
- Accepted Answerasked 4 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated a year ago