4 ms·
Ask HN: Are AWS network charges in GB (gigabytes) or GiB (gibibytes)
- 1 GB = 1000 MB (1000 bytes ^ 3)
- 1 GiB = 1073 MB (1024 bytes ^ 3)
The docs don't seem to explicitly mention it. They just say GB.
But AWS has been known to use GB for simplicity in docs - as in https://aws.amazon.com/s3/pricing/.
I have been tearing my hair out trying to get to the bottom of this. It starts to matter when making cost calculations are large scale.
- solardev 2y ago> Amazon S3 storage usage is calculated in binary gigabytes (GB), where 1 GB is 2^30 bytes. This unit of measurement is also known as a gibibyte (GiB), defined by the International Electrotechnical Commission (IEC). Similarly, 1 TB is 2^40 bytes, i.e. 1024 GBs. Just scroll down a bit. It's in the "S3 Pricing Details" section of that page you linked to: (https://aws.amazon.com/s3/pricing/#:~:text=Amazon%20S3%20storage%20usage%20is%20calculated%20in%20binary%20gigabytes%20(GB)%2C%20where%201%20GB%20is%20230%C2%A0bytes.%20This%20unit%20of%20measurement%20is%20also%20known%20as%20a%20gibibyte%20(GiB)%2C%20defined%20by%20the%20International%20Electrotechnical%20Commission%20(IEC).%20Similarly%2C%201%20TB%20is%20240%C2%A0bytes%2C%20i.e.%201024%20GBs https://aws.amazon.com/s3/pricing/#:~:text=Amazon%20S3%20sto....)