Save on Cost with Amazon EBS

Seeing Amazon evaluate EBS usage as:

$ 0.10 per GB per month of reserved storage; $ 0.10 per 1 million I / O requests

Despite the fact that the value is in millions, the I / O request is adding up quite quickly ... I was wondering if there were any recommendations for reducing I / O requests there. For instance. Use an instance with more than enough RAM needed for your application. Tweak some OS level options .. do not β€œsync” every couple of minutes :), etc.

+3
source share
1 answer

Therefore, general advice on avoiding premature * micro * optimizations should probably apply here. Think about it first to make sure that you are using the PaaS architecture appropriately, and configure the settings as soon as you have the data. Repeat the more specific question (as Gareth said).

But I have one specific optimization, as you asked: add ramdisk to your Linux machines so that the temporary files do not touch the storage:

echo "none /tmp/ tmpfs defaults 0 0" >>/etc/fstab

and use vmstat -Sm 5to see how much IO is running.

+1
source

Source: https://habr.com/ru/post/1730339/


All Articles