g5.2xlarge
g5.2xlarge is an AWS EC2 instance with 8 vCPUs, 32 GiB memory, 1 GPU (AMD EPYC 7R32). In US East (N. Virginia) it costs $1.212 per hour on demand ($884.76 per month) for Linux; a 1-year reserved instance with no upfront costs $0.7636 per hour, 37% less. Spot capacity is about $0.8303 per hour. It is sold in 19 regions.
Prices by region
USD per hour, Linux. Reserved prices are no upfront, standard. Cheapest on-demand first.
| Region | On-demand | Spot | 1-yr reserved | 3-yr reserved | 1-yr savings plan | 3-yr savings plan |
|---|---|---|---|---|---|---|
| US East (N. Virginia) us-east-1 | $1.212 | $0.8303 | $0.7636 | $0.5236 | $0.9545 | $0.6545 |
| US East (Ohio) us-east-2 | $1.212 | $0.6613 | $0.7636 | $0.5236 | $0.9545 | $0.6545 |
| US West (Oregon) us-west-2 | $1.212 | $0.6277 | $0.7636 | $0.5236 | $0.9545 | $0.6545 |
| Europe (Spain) eu-south-2 | $1.277 | $1.277 | – | – | $1.006 | $0.6896 |
| EU (Stockholm) eu-north-1 | $1.286 | $0.3442 | $0.8099 | $0.5553 | $1.012 | $0.6942 |
| Canada (Central) ca-central-1 | $1.346 | $1.346 | $0.8478 | $0.5814 | $1.06 | $0.7267 |
| EU (Ireland) eu-west-1 | $1.353 | $0.8116 | $0.8524 | $0.5845 | $1.065 | $0.7306 |
| Israel (Tel Aviv) il-central-1 | $1.421 | $0.1867 | $0.895 | $0.6137 | $1.119 | $0.7671 |
| Asia Pacific (Mumbai) ap-south-1 | $1.455 | $0.6284 | $0.9169 | $0.6287 | $1.146 | $0.7859 |
| Middle East (UAE) me-central-1 | $1.487 | $0.3893 | $0.9366 | $0.6423 | $1.171 | $0.8028 |
| Asia Pacific (Seoul) ap-northeast-2 | $1.49 | $0.6764 | $0.9389 | $0.6438 | $1.174 | $0.8048 |
| EU (Frankfurt) eu-central-1 | $1.516 | $0.5272 | $0.9548 | $0.6547 | $1.194 | $0.8184 |
| EU (London) eu-west-2 | $1.538 | $0.4894 | $0.9693 | $0.6646 | $1.212 | $0.8308 |
| EU (Paris) eu-west-3 | $1.538 | $0.5614 | – | – | $1.212 | $0.9342 |
| Asia Pacific (Sydney) ap-southeast-2 | $1.576 | $1.576 | $0.9928 | $0.6808 | $1.241 | $0.851 |
| Asia Pacific (Jakarta) ap-southeast-3 | $1.696 | $0.1729 | $1.069 | $0.7328 | $1.336 | $0.916 |
| Asia Pacific (Tokyo) ap-northeast-1 | $1.758 | $0.8507 | $1.107 | $0.7594 | $1.384 | $0.9492 |
| Asia Pacific (Hong Kong) ap-east-1 | $1.866 | – | $1.176 | $0.8061 | $1.469 | $1.008 |
| South America (Sao Paulo) sa-east-1 | $2.06 | $0.3247 | $1.298 | $0.89 | $1.622 | $1.113 |
Prices by operating system in US East (N. Virginia)
| Operating system | On-demand /hr | 1-yr reserved /hr | 3-yr reserved /hr |
|---|---|---|---|
| Linux | $1.212 | $0.7636 | $0.5236 |
| Ubuntu Pro | $1.226 | – | – |
| RHEL | $1.327 | $0.8788 | $0.6388 |
| SUSE | $1.337 | $0.8236 | $0.5776 |
| RHEL HA | $1.467 | $1.019 | $0.7788 |
| Windows | $1.58 | $1.132 | $0.8916 |
Specs
| Compute | Value |
|---|---|
| vCPUs | 8 |
| Physical cores | 4 |
| Threads per core | 2 |
| Architecture | x86_64 |
| Processor | AMD EPYC 7R32 |
| CPU maker | AMD |
| Clock speed | 2.8 GHz |
| Sustained clock | 3.3 GHz |
| Processor features | AMD Turbo; AVX; AVX2 |
| Burstable | No |
| Memory | Value |
|---|---|
| Memory (GiB) | 32 |
| Accelerators | Value |
|---|---|
| GPUs | 1 |
| GPU | 1 × NVIDIA A10G |
| GPU memory | 24 GB |
| Networking | Value |
|---|---|
| Network | Up to 10 Gbps |
| Network baseline | 5 Gbps |
| Network peak | 10 Gbps |
| Enhanced networking | Yes (ENA) |
| EFA | No |
| IPv6 | Yes |
| Max network interfaces | 4 |
| IPv4 addresses per interface | 15 |
| Storage | Value |
|---|---|
| Storage | 1 x 450 GB NVMe SSD |
| Local disks | 1 × 450 GB SSD |
| EBS optimized | Yes |
| EBS over NVMe | Required |
| EBS throughput | Up to 3500 Mbps |
| EBS baseline bandwidth | 850 Mbps |
| EBS max bandwidth | 3,500 Mbps |
| EBS baseline throughput | 106.25 MB/s |
| EBS max throughput | 437.5 MB/s |
| EBS baseline IOPS | 3,500 |
| EBS max IOPS | 15,000 |
| Max EBS volumes | 25 |
| Instance details | Value |
|---|---|
| Instance type | g5.2xlarge |
| Family | g5 |
| Category | GPU instance |
| Current generation | Yes |
| Normalization factor | 1.204771372 |
| Bare metal | No |
| Hypervisor | Nitro |
| Placement groups | Cluster, Partition, Spread |
| Hibernation | No |
| Nitro Enclaves | Yes |
| Boot modes | Legacy BIOS, UEFI |
Compare g5.2xlarge
Other processors
Other generations
Other g5 sizes
| Size | vCPUs | Memory (GiB) | On-demand /hr |
|---|---|---|---|
| g5.xlarge | 4 | 16 | $1.006 |
| g5.2xlarge | 8 | 32 | $1.212 |
| g5.4xlarge | 16 | 64 | $1.624 |
| g5.8xlarge | 32 | 128 | $2.448 |
| g5.12xlarge | 48 | 192 | $5.672 |
| g5.16xlarge | 64 | 256 | $4.096 |
| g5.24xlarge | 96 | 384 | $8.144 |
| g5.48xlarge | 192 | 768 | $16.288 |
Prices updated 2026-11-12 from AWS public price lists. Compare all AWS EC2 instances.