I think the viable answer here is the same as the popular answer when autoscaling is to use CloudWatch alerts .
Whenever you have a service that needs to be scaled automatically, you do something like a monitor for a high level of processor performance . If the processor load exceeds a certain threshold, the alarm can be set to increase your fleet. Accordingly, if the CPU usage falls below a certain threshold value, an alarm can be configured to reduce the scale of the fleet. Other alarms, such as memory, disk usage , etc., can be configured with similar alarms.
So, instead of setting up CloudWatch alarms to scale or scale your fleet, you can simply set up a CloudWatch alarm to email you when the host becomes inactive (for example, CPU usage is too low ).
source share