EC2 g5g instance prices
GPU instance · AWS Graviton2 Processor
The g5g series is a gpu instance EC2 line running on AWS Graviton2. It has 5 sizes, from the g5g.xlarge with 4 vCPUs and 8 GiB to the g5g.16xlarge with 64 vCPUs and 128 GiB, and it is compute-heavy with a median of 2.0 GiB per vCPU.
In US East the Linux on-demand price runs from $0.4200/hour to $2.74/hour, or $307 to $2,003 a month. The median price per vCPU-hour across the series is $0.0517. These are Arm (Graviton) instances, which need arm64 builds of your software.
Price per vCPU-hour is not flat across the series: the g5g.8xlarge is the cheapest per vCPU at $0.0429 and the g5g.xlarge the dearest at $0.1050, a 145% gap, so the size you choose changes your unit cost as well as your total. All sizes are sold in the same 5 of the 12 regions we track. Each size below links to a page with prices in every tracked region, reserved-instance savings, Windows pricing and cheaper alternatives of the same shape.
| Size | vCPU | Memory | $/hour | $/month | Regions |
|---|---|---|---|---|---|
| g5g.xlarge | 4 | 8 GiB | $0.4200 | $307 | 5 |
| g5g.2xlarge | 8 | 16 GiB | $0.5560 | $406 | 5 |
| g5g.4xlarge | 16 | 32 GiB | $0.8280 | $604 | 5 |
| g5g.8xlarge | 32 | 64 GiB | $1.37 | $1,002 | 5 |
| g5g.16xlarge | 64 | 128 GiB | $2.74 | $2,003 | 5 |