1 Answer
- Newest
- Most votes
- Most comments
0
Autoscaling will use pretty much any CloudWatch Metric that you are providing. As long as you are tracking memory on the instances you're good to go.
Note that you can also use Metric Match to scale on different metrics: for example, if memory and CPU are both over 70% then scale up.
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 6 months ago
- I can't use Amazon EC2 Auto Scaling to launch EC2 instances with encrypted AMIs or encrypted volumesAWS OFFICIALUpdated 8 months ago
In my case the scaled up server is not supporting the memory of my first server.what could be the reason
It sounds like you may have setup the CloudWatch Alarm to look a a metric for a specific instance. When you push the memory metrics to CloudWatch it should be to a single shared metric (for example, one with the dimension "AutoScalingGroupName:<Name>". Also make sure that whatever mechanism you're pushing the metrics with (ex: CWAgent) is automatically installed and configured on the new instances