admin管理员组文章数量:1356794
High Memory Usage (96%) in AWS Elastic Beanstalk – How to Optimize Auto Scaling Policy? I am running an AWS Elastic Beanstalk environment with the following Auto Scaling configuration:
Current Auto Scaling Policy Min Instances: 3
Max Instances: 5
Instance Type: t3a.micro
Metric: TargetResponseTime (Average, Seconds)
Upper Threshold: 1 (Scale up)
Lower Threshold: 0.6 (Scale down)
Scale Up Increment: +1
Scale Down Increment: -1
Scaling Cooldown: 360s
Fleet Composition: On-Demand (Base: 0, Above Base: 0)
Capacity Rebalancing: Deactivated
Load Balancer: Application Load Balancer (Public)
Problem My application is experiencing very high memory usage (96%), while CPU utilization remains normal. Despite this, the Auto Scaling policy is not scaling up instances efficiently. This results in performance issues.
Questions Should I change the scaling metric from TargetResponseTime to MemoryUtilization?
What is the best threshold for scaling up and down based on memory usage?
Would enabling Capacity Rebalancing improve stability?
Are there other best practices for managing memory-heavy workloads on Elastic Beanstalk?
I want to keep using t3a.micro instances and avoid changing instance types. Any guidance on improving the Auto Scaling policy would be greatly appreciated!
本文标签:
版权声明:本文标题:amazon web services - High Memory Usage (96%) in AWS Elastic Beanstalk – How to Optimize Auto Scaling Policy? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743952565a2567556.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论