EC2 instance Compute Optimizer found that this instance's Memory is under-provisioned.

0

Hi Team,

One of my ec2 machine is memory under provisioned. Just wanted to know that what is the threshold value by default where instance say under provision or over provision. How much memory should be free for instance to run normally. Suggest any references to understand the limits where this under/over provisions trigger for instances

已提問 1 年前檢視次數 795 次
1 個回答
1
已接受的答案

Greetings,

The threshold at which an EC2 instance is considered under-provisioned or over-provisioned can vary depending on the instance type and the workload running on the instance. However, a general guideline is to ensure that there is enough free memory for the operating system and applications to function efficiently, without experiencing excessive swapping or out-of-memory errors.

For Linux-based EC2 instances, the free command can be used to view the amount of free memory. The free command displays the total, used, and free memory in kilobytes (KB), along with the amount of memory used for caching and buffers. You can use this information to determine the amount of free memory on your instance and whether it is under-provisioned.

As a rule of thumb, it is recommended to keep at least 10% of the total memory available as free memory for the operating system and applications to function efficiently. However, this can vary depending on the workload and applications running on the instance.

There are several factors that can impact memory usage on an EC2 instance, including the number of applications running, the size of the datasets being processed, and the memory requirements of individual applications. To determine the optimal amount of memory for your workload, you should monitor memory usage over time and adjust the instance type or size as needed.

Here are a few references that can help you understand the memory limits and thresholds for EC2 instances:

Amazon EC2 Instance Types: https://aws.amazon.com/ec2/instance-types/

Best practices for running applications on Amazon EC2: https://aws.amazon.com/ec2/getting-started/best-practices/

Monitoring memory usage for Amazon EC2 Linux instances: https://aws.amazon.com/premiumsupport/knowledge-center/ec2-linux-memory-use/

Please let me know if I answered your question

AWS
專家
ZJon
已回答 1 年前
profile pictureAWS
專家
已審閱 1 年前
  • Thank you a lot @Zokir for taking time to answer my question. I got answer for my question

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南