CLOUDWATCH

Icon

Icon 1 7 Troubleshooting Commands

Icon 2 Contributed by Jonathan Funk

Icon 2 Codecollection: rw-public-codecollection


Performs a suite of security checks against a set of AWS EC2 instances. Checks include untagged instances, dangling volumes, open routes.

Tasks:
  • Check For Untagged instances
  • Check For Dangling Volumes
  • Check For Open Routes
  • Check For Overused Instances
  • Check For Underused Instances
  • Check For Underused Volumes
  • Check For Overused Volumes

Icon 1 1 Troubleshooting Commands

Icon 2 Contributed by Jonathan Funk

Icon 2 Codecollection: rw-public-codecollection


Retrieve number of results from an AWS CloudWatch Insights query.

Tasks:
  • Running CloudWatch Log Query And Pushing The Count Of Results

Icon 1 5 Troubleshooting Commands

Icon 2 Contributed by

Icon 2 Codecollection: rw-public-codecollection


Triage and troubleshoot performance and usage of an AWS EC2 instance

Tasks:
  • Get Max VM CPU Utilization In Last 3 Hours
  • Get Lowest VM CPU Credits In Last 3 Hours
  • Get Max VM CPU Credit Usage In Last 3 hours
  • Get Max VM Memory Utilization In Last 3 Hours
  • Get Max VM Volume Usage In Last 3 Hours

Icon 1 1 Troubleshooting Commands

Icon 2 Contributed by Jonathan Funk

Icon 2 Codecollection: rw-public-codecollection


Retrieve aggregate results from multiple AWS Cloudwatch Metrics Insights queries ran against tagged resources. This codebundle fetches a list of instance IDs filtered by tags, and uses them to run a set of AWS metric queries against the CloudWatch metrics insights API and pushes an aggregated/transformed value provided by the API as a metric.

Tasks:
  • Run CloudWatch Metric Query Across Set Of IDs And Push Metric

Icon 1 1 Troubleshooting Commands

Icon 2 Contributed by Jonathan Funk

Icon 2 Codecollection: rw-public-codecollection


Creates a URL to a AWS CloudWatch metrics dashboard with a running query.

Tasks:
  • Get CloudWatch MetricQuery Insights URL

Icon 1 1 Troubleshooting Commands

Icon 2 Contributed by Jonathan Funk

Icon 2 Codecollection: rw-public-codecollection


Retrieve the result of an AWS CloudWatch Metrics Insights query.

Tasks:
  • Running CloudWatch Metric Query And Pushing The Result

Icon 1 1 Troubleshooting Commands

Icon 2 Contributed by Jonathan Funk

Icon 2 Codecollection: rw-public-codecollection


Retrieve binary result from an AWS CloudWatch Insights query. Pushes 0 (success) if logs are found (activity) or 1 if no logs were found in the time window.

Tasks:
  • Running CloudWatch Log Query And Pushing 1 If No Results Found

Icon 1 1 Troubleshooting Commands

Icon 2 Contributed by jon-funk

Icon 2 Codecollection: rw-cli-codecollection


Queries AWS CloudWatch for a list of EC2 instances with a high amount of resource utilization, raising issues when overutilized instances are found.

Tasks:
  • Check For Overutilized Ec2 Instances