16 votes
Accepted

How to communicate queue-based processing delays to non-technical team members?

As with any outage communications, a non-technical reader will be primarily looking to understand: How long was it? How bad was it? Amazon CloudWatch metrics provides the following metrics for SQS ...
Anthony Neace's user avatar
10 votes
Accepted

Is it possible to trigger an AWS Lambda function directly from CloudWatch alarm?

As far as I know, it is not possible. The the offcial AWS Lambda documentation says it support CloudWatch Events, but no mention of CloudWatch Alarms (and CW Events != CW Alarms) What you are ...
Alexandre's user avatar
  • 1,955
9 votes

Is it possible to set CloudWatch alarm for a combination of metrics?

Recently AWS just announced CloudWatch Metric Math which should be suitable for your use case. References:- Amazon CloudWatch Adds Metric Math to Enable Custom Operations on Metrics Create a ...
onelaview's user avatar
  • 191
9 votes
Accepted

Is it possible to set CloudWatch alarm for a combination of metrics?

For the last overall goal, I would set the alarm on ApproximateNumberOfMessagesVisible from Cloudwatch documentation on SQS this is: The number of messages available for retrieval from the queue. ...
Tensibai's user avatar
  • 11.3k
8 votes

How to send SMS through AWS?

I believe you will need to do this programmatically using the AWS SDK as described in Sending a Message (AWS SDKs). Here is a quote a from it: To send an SMS message by using one of AWS SDKs, use ...
Mark Wragg's user avatar
7 votes

How to set up AWS Trusted Advisor alert for Service Limit warnings?

That's on my backlog but still on early stage, I just surfaced the idea, so here's are my findings so far: Using Trusted Advisor as a Web Service Mainly: Poll a Trusted Advisor Check for Status ...
Tensibai's user avatar
  • 11.3k
6 votes
Accepted

How to track unused resources in AWS?

There are a few ways to approach deleting unused resources, perhaps tagging items that are part of some trusted or known group, as some have suggested here and then manually monitoring for resources ...
llorrac's user avatar
  • 178
4 votes

How to change PagerDuty incident name?

Within the CloudWatch integration in PagerDuty, you can change the "Derive name from" field to something like "Alarm Description".
Clark Ritchie's user avatar
3 votes

How to track unused resources in AWS?

I created such a tool, it is called AWS Inventory and eventually, it will cover all available resources in your account. While it is still a work in progress, should be very easy to add the items you ...
Evgeny Zislis's user avatar
3 votes
Accepted

CloudWatch trigger for a range of GuardDuty severities

I used this post to get our Guard Duty alerts working, thanks! But a recent change at AWS caused us to stop getting any alerts. Turns out we needed to add the integer values along with floating ...
Gregory Rupp's user avatar
3 votes

How to track unused resources in AWS?

If you wish to do it purely with AWS provided tools, try this: figure out a tagging scheme that works for you tag all the resources you provision, make sure nothing is left untagged for stuff you ...
tolib's user avatar
  • 76
2 votes

How to change PagerDuty incident name?

Based on the PagerDuty documentation on Cloudwatch, it doesn't look like it's configurable: https://www.pagerduty.com/docs/guides/aws-cloudwatch-integration-guide/
Travis Thompson's user avatar
2 votes

How to scale-down in a multi-tenant environment?

Autoscaling is a good case for machine learning This is a hard problem to do well. What you really want is something like Nest Thermostat for your EC2 infrastructure. There are (aforementioned) ...
Jeremy's user avatar
  • 314
2 votes

What is the best way to find the Auto Scaling Group of an ECS cluster?

Example in AWS cli that should work to get the ASG name a=curl 'http://169.254.169.254/latest/meta-data/instance-id'; aws autoscaling describe-auto-scaling-instances --instance-ids $a --query '...
Vorsprung's user avatar
  • 285
2 votes

How to get EC2 instance tags when pulling CloudWatch data?

CloudWatch metrics contain "dimensions" that loosely match InfluxDB's concept of "tags". The list of dimensions available for EC2 metrics is available in the AWS documentation. Instances tags are not ...
Robo's user avatar
  • 745
2 votes

How to track unused resources in AWS?

That would be one way of doing, using just the AWS console. I have been using TotalCloud for many other things but this is very easily possible on the platform. It seems to be free for now. I have ...
xachela's user avatar
  • 71
2 votes
Accepted

Unable to send cloudwatch logs to loggly using a blueprint lambda - Invalid ciphertext

Follow these steps to fix InvalidCiphertextException: Open the Lambda function in AWS console. Scroll down to the Environment Variables section & click Edit: Delete the value of ...
Harish KM's user avatar
  • 311
2 votes

CloudWatch trigger for a range of GuardDuty severities

Here's the answer I got from AWS Support, slightly edited. (I would downvote them, if I could). By design, CloudWatch events do not support ranges, so you need to explicitly set the values that are ...
Danny Schoemann's user avatar
1 vote

How I can retrieve aws lambda cloudwatch logs in txt format so I can search on them?

There are several ways for exporting logs from CloudWatch in searchable text format: The easiest way of downloading logs in text format is to go to a log group -> Select a log stream -> go to ...
Ervin Szilagyi's user avatar
1 vote
Accepted

Mitigate false positives due to daylight saving time in CloudWatch anomaly dectector

My current understanding is that it is not possible to avoid false positives. At least not if traffic comes from different time zones around the world (as in the context of this question). AWS ...
Philipp Claßen's user avatar
1 vote

AWS RDS- Determine what Database Tables aren't interacted with?

I don't think any database services "internal traffic" is available to AWS services directly. That being said, you should be able to dump all sql queries to a log file on S3 and also extract all ...
jdog's user avatar
  • 650
1 vote

AWS Cloudwatch for unused accounts

You can get all used User accounts with Cloudtrail, it would then be a text processing exercise to find the unused ones.
jdog's user avatar
  • 650
1 vote

Custom metric for a Windows process on a Windows ec2 instance

Memory consumption is a metric that has to be reported from inside the guest (EC2 instance). You can use a CloudWatch agent to collect metrics from the guest directly. The agent also supports custom ...
bgdnlp's user avatar
  • 253
1 vote

How to create custom AWS CloudWatch metric for i-node

AWS have a CloudWatch agent which will submit a number of useful (configurable) metrics, including inodes_free, inodes_used, and inodes_total. They'll appear, by default, under the CWAgent namespace ...
Tim Malone's user avatar
  • 1,185
1 vote

How to create custom AWS CloudWatch metric for i-node

AWS have published a plugin for collectd which allows to send metrics collected using collectd to CloudWatch. https://github.com/awslabs/collectd-cloudwatch The collectd monitoring tool runs on the ...
Evgeny Zislis's user avatar
1 vote

How to set CloudWatch alarms for non-compliancy in AWS Config rules?

From what I know of AWS Config there's no way at the moment to directly publish a metric from which you can base an alarm. If the notification has to come from a Cloudwatch alarm then AWS Config will ...
Briansbum's user avatar
  • 1,112
1 vote

How to scale-down in a multi-tenant environment?

To be able to scale in with confidence on ECS, there's a few strategies: Create a 3rd custom metric which tracks the greater of the two metrics. For example, if CPU allocation is at 60% and memory ...
user2640621's user avatar
  • 1,395
1 vote

Is it possible to trigger an AWS Lambda function directly from CloudWatch alarm?

It is possible to trigger Lambda function from CloudWatch alarm, by using EventBridge https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch-and-eventbridge.html
Anggra S's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible