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.

RegionOn-demandSpot1-yr reserved3-yr reserved1-yr savings plan3-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 systemOn-demand /hr1-yr reserved /hr3-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

ComputeValue
vCPUs8
Physical cores4
Threads per core2
Architecturex86_64
ProcessorAMD EPYC 7R32
CPU makerAMD
Clock speed2.8 GHz
Sustained clock3.3 GHz
Processor featuresAMD Turbo; AVX; AVX2
BurstableNo
MemoryValue
Memory (GiB)32
AcceleratorsValue
GPUs1
GPU1 × NVIDIA A10G
GPU memory24 GB
NetworkingValue
NetworkUp to 10 Gbps
Network baseline5 Gbps
Network peak10 Gbps
Enhanced networkingYes (ENA)
EFANo
IPv6Yes
Max network interfaces4
IPv4 addresses per interface15
StorageValue
Storage1 x 450 GB NVMe SSD
Local disks1 × 450 GB SSD
EBS optimizedYes
EBS over NVMeRequired
EBS throughputUp to 3500 Mbps
EBS baseline bandwidth850 Mbps
EBS max bandwidth3,500 Mbps
EBS baseline throughput106.25 MB/s
EBS max throughput437.5 MB/s
EBS baseline IOPS3,500
EBS max IOPS15,000
Max EBS volumes25
Instance detailsValue
Instance typeg5.2xlarge
Familyg5
CategoryGPU instance
Current generationYes
Normalization factor1.204771372
Bare metalNo
HypervisorNitro
Placement groupsCluster, Partition, Spread
HibernationNo
Nitro EnclavesYes
Boot modesLegacy BIOS, UEFI

Compare g5.2xlarge

Other processors

Other generations

Other g5 sizes

SizevCPUsMemory (GiB)On-demand /hr
g5.xlarge416$1.006
g5.2xlarge832$1.212
g5.4xlarge1664$1.624
g5.8xlarge32128$2.448
g5.12xlarge48192$5.672
g5.16xlarge64256$4.096
g5.24xlarge96384$8.144
g5.48xlarge192768$16.288

Prices updated 2026-11-12 from AWS public price lists. Compare all AWS EC2 instances.