The r8g.medium pairs 1 vCPU with 8 GiB of RAM, the 8.00 GiB-per-vCPU ratio that marks a memory-optimized instance. In the name, "r" stands for RAM, "8" is the generation, "g" marks AWS Graviton (ARM) processors and "medium" is the size within the r8g family. It runs on AWS Graviton4 Processor at 2.7 GHz, and AWS introduced it in July 2024. AWS has since shipped r9g; r9g.medium is the direct replacement at this size. mh.vs2.medium is the closest Spot shape: 2 vCPU and 16 GiB, so 1 more vCPU and 8 GiB more memory, about 81% below the US East (N. Virginia) on-demand rate.
| Region | AWS on-demand | AWS Spot | 1-yr Reserved | 3-yr Reserved | Rackspace Spot | You save |
|---|---|---|---|---|---|---|
| US East, N. Virginia | $0.059 | $0.021 | $0.039 | $0.027 | $0.011 | $0.048 savings |
| US Central, Chicago | no AWS region | $0.021 | ||||
| US Central, Dallas | no AWS region | $0.041 | ||||
| Hong Kong | $0.078 | $0.051 | $0.035 | $0.002 | $0.076 savings | |
| Sydney, Australia | $0.071 | $0.029 | $0.047 | $0.032 | $0.011 | $0.060 savings |
| London, UK | $0.069 | $0.010 | $0.046 | $0.031 | $0.011 | $0.058 savings |
| US West, San Jose | $0.065 | $0.017 | $0.043 | $0.030 | $0.031 | $0.034 savings |
| US Central, Dallas 2 | no AWS region | $0.031 |