logo

g5.2xlarge by Amazon Web Services

g5.2xlarge is a Graphics intensive Gen5 2xlarge server offered by Amazon Web Services with 8 vCPUs, 32 GiB of memory and 450 GB of storage. The pricing starts at 0.2615 USD per hour.
8 vCPU
32 GiB Memory
450 GB Storage
1 GPU
Spare SCore
3072
(All-cores)
768
(Single-core)

Specifications

Server Metadata

Vendor ID
aws
Name
g5.2xlarge
Description
Graphics intensive Gen5 2xlarge
Family
g5
Hw Virt
Status
active
Observed At
2026-07-28T21:33:41.879787

Availability

REGION / IDSPOTONDEMAND
Ohio (US) / us-east-2
0.629467 USD/h 1.212 USD/h
Oregon (US) / us-west-2
0.632033 USD/h 1.212 USD/h
Northern Virgina (US) / us-east-1
1.06902 USD/h 1.212 USD/h
Aragón (ES) / eu-south-2
- 1.2771 USD/h
Stockholm (SE) / eu-north-1
0.52295 USD/h 1.2855 USD/h
Quebec (CA) / ca-central-1
0.5894 USD/h 1.3457 USD/h
Dublin (IE) / eu-west-1
0.971167 USD/h 1.353 USD/h
Tel Aviv (IL) / il-central-1
0.7183 USD/h 1.4206 USD/h
Mumbai (IN) / ap-south-1
0.4223 USD/h 1.4554 USD/h
United Arab Emirates / me-central-1
0.6086 USD/h 1.4867 USD/h
Seoul (KR) / ap-northeast-2
0.463033 USD/h 1.4903 USD/h
Frankfurt (DE) / eu-central-1
0.9345 USD/h 1.5156 USD/h
London (GB) / eu-west-2
0.644 USD/h 1.5385 USD/h
Paris (FR) / eu-west-3
- 1.5385 USD/h
Sydney (AU) / ap-southeast-2
0.6842 USD/h 1.5758 USD/h
Jakarta (ID) / ap-southeast-3
0.5446 USD/h 1.6963 USD/h
Tokyo (JP) / ap-northeast-1
0.86045 USD/h 1.7578 USD/h
Hong Kong (HK) / ap-east-1
0.68525 USD/h 1.8659 USD/h
Sao Paulo (BR) / sa-east-1
0.41525 USD/h 2.0602 USD/h

Processor

vCPUs
8
Hypervisor
nitro
CPU Allocation
Dedicated
CPU Cores
4
CPU Speed
3.3 GHz
CPU Architecture
x86_64
CPU Manufacturer
AMD
CPU Family
EPYC
CPU Model
7R32
CPU L1D Cache
32 KiB
CPU L1D Cache Total
128 KiB
CPU L1I Cache
32 KiB
CPU L1I Cache Total
128 KiB
CPU L2 Cache
512 KiB
CPU L2 Cache Total
2 MiB
CPU L3 Cache
16 MiB
CPU L3 Cache Total
16 MiB
CPU Flags
fpu, vme, de, pse, tsc, msr, pae, mce, cx8, apic, sep, mtrr, pge, mca, cmov, pat, pse36, clflush, mmx, fxsr, sse, sse2, ht, syscall, nx, mmxext, fxsr_opt, pdpe1gb, rdtscp, lm, constant_tsc, rep_good, nopl, nonstop_tsc, cpuid, extd_apicid, aperfmperf, tsc_known_freq, pni, pclmulqdq, ssse3, fma, cx16, sse4_1, sse4_2, movbe, popcnt, aes, xsave, avx, f16c, rdrand, hypervisor, lahf_lm, cmp_legacy, cr8_legacy, abm, sse4a, misalignsse, 3dnowprefetch, topoext, ssbd, ibrs, ibpb, stibp, vmmcall, fsgsbase, bmi1, avx2, smep, bmi2, rdseed, adx, smap, clflushopt, clwb, sha_ni, xsaveopt, xsavec, xgetbv1, clzero, xsaveerptr, rdpru, wbnoinvd, arat, npt, nrip_save, rdpid
Ecpus
4
Scalability
100

System Resources and Accelerators

MEMORY
Memory Amount
32 GiB
Memory Amount Actual
32 GiB
Memory Generation
DDR4
Memory Speed
3200 Mhz
GPU
GPU Count
1
GPU Memory Min
22 GiB
GPU Memory Total
22 GiB
GPU Manufacturer
NVIDIA
GPU Family
Ampere
GPU Model
A10G
GPUs
  • NVIDIA Ampere NVIDIA A10G (Memory amount: 23028, Firmware version: 590.48.01, BIOS version: 94.02.75.00.01, Clock rate: 1710)
STORAGE
Storage Size
450 GB
Storage Type
nvme ssd
Storages
  • 450 GB nvme ssd
NETWORK
Network Speed Baseline
5 Gbps
Network Speed Max
10 Gbps
Network Storage Speed Baseline
0.85 Gbps
Network Storage Speed Max
3.5 Gbps
Inbound Traffic
0 GB/month
Outbound Traffic
0 GB/month
IPv4
0

CPU and System Topology

Server Description

A GPU-accelerated instance combining dedicated AMD EPYC processing, local NVMe storage, and NVIDIA Ampere graphics for efficient machine learning inference.

GPU AcceleratedStorage & DatabaseGeneral Purpose

Amazon Web Services g5.2xlarge is a GPU-accelerated instance designed for graphics-intensive and machine learning workloads. Powered by the AWS Nitro hypervisor, it features an AMD EPYC 7R32 CPU with 8 dedicated vCPUs, 32 GB of DDR4 RAM, and a 450 GB local NVMe SSD. The hardware profile is highlighted by a single NVIDIA Ampere A10G GPU with 22 GB of VRAM. While synthetic CPU benchmarks show modest performance, with stress-ng scores falling in the lower tiers, the instance excels in GPU-driven tasks. Notably, LLM inference benchmarks for 135M and 7B models rank in the top 10% for both prompt processing and text generation. This instance is highly suited for machine learning inference, ray tracing, and image processing workloads, offering a cost-effective balance of GPU acceleration and local NVMe storage.

Economics

Average Price per Region

Prices per Zone

Lowest Prices

Performance

Workload Profiles

0.434Score
Precomputed compound score for Cache Intensive workloads. A weighted average (geometric mean) of benchmark scores compared to their medians: score = ∏ (x_i / m_i)^(w_i / Σw). The score of 1.0 represents a synthetic baseline server with the median performance of each component benchmark; 0.5 means roughly half the performance; and 2.0 means twice the performance of that reference profile. Component weights: 50% Redis RPS (pipeline=1, SET), 20% Redis RPS (pipeline=16, SET), 10% PassMark Memory Mark (composite), 10% Memory bandwidth (read, 16 MB ~ L3), 10% PassMark single-thread CPU. Rationale for component selection: In-memory key-value store workload, mixing direct Redis performance metrics with memory speed and latency benchmarks, and single-core CPU performance profiles.
Component Score Weight Impact
Raw Reference Normalized Target Actual
Redis RPS (pipeline=1, SET) 659,542 ops/sec 1,896,415 ops/sec 0.348 50.00% 50.00% -41.00%
Redis RPS (pipeline=16, SET) 4,331,575 ops/sec 11,539,523 ops/sec 0.375 20.00% 20.00% -17.80%
PassMark Memory Mark (composite) 2,544 2,411 1.06 10.00% 10.00% +0.58%
Memory bandwidth (read, 16 MB ~ L3) 36,860 MB/sec 107,368 MB/sec 0.343 10.00% 10.00% -10.10%
PassMark single-thread CPU 2,139 Mops/s 2,363 Mops/s 0.905 10.00% 10.00% -0.99%

Memory Bandwidth

Compression

OpenSSL

Geekbench Single-Core

Score: 1,341

Geekbench Multi-Core

Score: 5,187

Passmark CPU Scores

BENCHMARKSCORE
Mark
10578
Compression
121963
Encryption
8509
Extended Instructions
7315
Floating Point Maths
16095
Integer Maths
27006
Physics
991
Prime Numbers
44
Single Threaded
2139
String Sorting
17212

Passmark Memory Scores

BENCHMARKSCORE
Memory Mark
2544
Database Operations
2859
Memory Latency
50
Memory Read Cached
24723
Memory Read Uncached
12760
Memory Write
13515

Stress-ng Raw Scores

Stress-ng Relative Multicore Performance

LLM Inference Speed for Prompt Processing

LLM Inference Speed for Text Generation

Static Web Server

Redis

Alternatives

Servers of the Same Family

INSTANCEvCPUsMEMORYGPUs
g5.xlarge 416 GiB1
g5.4xlarge 1664 GiB1
g5.8xlarge 32128 GiB1
g5.12xlarge 48192 GiB4
g5.16xlarge 64256 GiB1
g5.24xlarge 96384 GiB4
g5.48xlarge 192768 GiB8

Similar Servers

INSTANCEVENDORvCPUsMEMORYGPUs

g5.2xlarge FAQs