Questions about auto scaling alarms

Hi all,

Just wondering what it means exactly when I have an alarm that has an average CPU Threshold of 80%. does that mean it averages over all my instances over a X minute period, and if their combined average is over 80% then it adds another instance? Or is it an average on each individual instance?

Also, whats a good metric/threshold to use for a websocket server?

I know that there’s options to use network bytes in or out, as well as average CPU. Which metric is better in your opinion, and what thresholds should I use for scaling up or down?

For example right now I am using average CPU and I have it set to scale up at 80%, and scale down below 50%. Im thinking this might be a bit too high, and I was thinking of changing it to scale up at 60%, and scale down at 30%.

Any suggestions?


Related discussions:

My life is way easier since I scale down/up on latency delay.

how does that work exactly?

Do you use a custom metric like this?

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-customizedmetricspecification.html

I setup a cloudwatch alarm and plug it to the scaling policy like this : Imgur: The magic of the Internet

Recovered from imgur album HTNvGuf (the album’s full listing is gone, but this item survived).