A while ago I read, that you get 3 IOPS per GB for gp2 SSD volumes. For example, that would be 24 IOPS for 8 GB volume. Now I read the documentation (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) and it states:
... Between a minimum of 100 IOPS (at 33.33 GiB and below) and a maximum of 10,000 IOPS (at 3,334 GiB and above), baseline performance scales linearly at 3 IOPS per GiB of volume size. A gp2 volume can range in size from 1 GiB to 16 TiB.
So if I create 1 GB volume, will I be capped to 3 IOPS, or 100 IOPS?
UPDATE: In the official AWS forum someone from Amazon talks about 24 IOPS for 8 GB drive, but this was in 2014. What has changed since then? Limit is lifted? (https://forums.aws.amazon.com/thread.jspa?threadID=162482)
Answering my own question. When you are creating volume from EC2 Management Console, it allows you to specify the size in GiBs. It also calculates and shows IOPS for the newly created volume.
If you specify volume size above 30 GiB, it shows IOPS by using the formula:
If you specify size smaller than 30 GiB, it still shows 100 IOPS. Even for 1 GiB volume, it shows 100 IOPS.