Score:2

AWS CloudWatch Alarm on Max Average CPU from ASG

hu flag

I am trying to create an alarm in CloudWatch which triggers when any node in a given ASG has greater than 90% average CPU utilisation.

I don't want to just do MAX, because we often see short spikes to above 90%, where the AVG would still be ~80% for that time.

I'm only interested if a node in the ASG is consistently over 90% utilisation.

You can do this in Explorer web interface with an "Aggregate" but it looks like it's actually adding a metric for each instance - so I can't make an alarm for it because it references the instances by their ID (which will change over time):

CloudWatch query

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.