drosofff
1/21/2017 - 4:47 PM

How to warm up a newly launched EC2 instance (warm up volume) From http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-initialize.html

How to warm up a newly launched EC2 instance (warm up volume) From http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-initialize.html


[ec2-user ~]$ sudo lsblk

[ec2-user ~]$ sudo apt-get install -y fio
[ec2-user ~]$ sudo fio --filename=/dev/xvda1 --rw=randread --bs=128k --iodepth=32 --ioengine=libaio --direct=1 --name=volume-initialize