g5.2xlarge

Amazon EC2 G5 instances are the latest generation of NVIDIA GPU-based instances that can be used for a wide range of graphics-intensive and machine learning use cases.

The g5.2xlarge is a aws ec2 instance type featuring multiple vCPUs and optimized memory, commonly used for ec2 workloads.

Last updated at Tue May 05 2026
Instance Info
Compute Value
vCPUs 8
Memory 32 GiB
Physical Processor AMD EPYC 7R32
Clock Speed 2.8 GHz
CPU Architecture 64-bit
GPU 1
GPU Memory 24 GB
Network Value
Network Performance Up to 10 Gigabit
Enhanced Networking Yes
Storage Value
Storage 1 x 450 GB NVMe SSD
EBS Throughput Up to 3500 Mbps
Amazon Value
Current Generation Yes
Instance Type g5.2xlarge
Family GPU instance
Family Instances
Instance vCPUs Memory
g5.xlarge 4 16
g5.2xlarge 8 32
g5.4xlarge 16 64
g5.8xlarge 32 128
g5.12xlarge 48 192
g5.16xlarge 64 256
g5.24xlarge 96 384
g5.48xlarge 192 768
Related Instances
Instance vCPUs Memory
m8i-flex.2xlarge 8 32 GiB
m8g.2xlarge 8 32 GiB
m8a.2xlarge 8 32 GiB
m8gn.2xlarge 8 32 GiB
m8gb.2xlarge 8 32 GiB