g4dn.2xlarge by Amazon Web Services

g4dn.2xlarge is a Graphics intensive [Instance store volumes] [Network and EBS optimized] Gen4 2xlarge server offered by Amazon Web Services with 8 vCPUs, 32 GiB of memory and 225 GB of storage. The pricing starts at 0.116 USD per hour.
8 vCPU
32 GiB Memory
225 GB Storage
1 GPU
Spare SCore
6,760
(All-cores)
1,285
(Single-core)

Specifications

Server Metadata

Vendor ID
aws
Name
g4dn.2xlarge
Description
Graphics intensive [Instance store volumes] [Network and EBS optimized] Gen4 2xlarge
Family
g4dn
Hw Virt
Status
active
Observed At
2026-09-17T16:16:43.191457

Availability

REGION / IDSPOTONDEMAND
Northern Virgina (US) / us-east-1
0.30854 USD/h 0.752 USD/h
Oregon (US) / us-west-2
0.363933 USD/h 0.752 USD/h
Ohio (US) / us-east-2
0.3741 USD/h 0.752 USD/h
Stockholm (SE) / eu-north-1
0.116367 USD/h 0.798 USD/h
Mumbai (IN) / ap-south-1
0.268367 USD/h 0.828 USD/h
Quebec (CA) / ca-central-1
0.29135 USD/h 0.835 USD/h
Dublin (IE) / eu-west-1
0.3994 USD/h 0.838 USD/h
Paris (FR) / eu-west-3
0.263867 USD/h 0.879 USD/h
Milan (IT) / eu-south-1
0.1832 USD/h 0.88 USD/h
London (GB) / eu-west-2
0.293833 USD/h 0.88 USD/h
California (US) / us-west-1
0.43645 USD/h 0.902 USD/h
Seoul (KR) / ap-northeast-2
0.4416 USD/h 0.925 USD/h
Frankfurt (DE) / eu-central-1
0.456267 USD/h 0.94 USD/h
Sydney (AU) / ap-southeast-2
0.446733 USD/h 0.978 USD/h
Cape Town (ZA) / af-south-1
0.47315 USD/h 0.998 USD/h
Osaka (JP) / ap-northeast-3
0.31725 USD/h 1.015 USD/h
Tokyo (JP) / ap-northeast-1
0.509867 USD/h 1.015 USD/h
Singapore (SG) / ap-southeast-1
0.4571 USD/h 1.052 USD/h
Hong Kong (HK) / ap-east-1
0.358 USD/h 1.158 USD/h
Sao Paulo (BR) / sa-east-1
0.130967 USD/h 1.278 USD/h

Processor

vCPUs
8
Hypervisor
nitro
CPU Allocation
Dedicated
CPU Cores
4
CPU Speed
2.5 GHz
CPU Architecture
x86_64
CPU Manufacturer
Intel
CPU Family
Xeon
CPU Model
8259CL
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
1 MiB
CPU L2 Cache Total
4 MiB
CPU L3 Cache
36 MiB
CPU L3 Cache Total
36 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, ss, ht, syscall, nx, pdpe1gb, rdtscp, lm, constant_tsc, rep_good, nopl, xtopology, nonstop_tsc, cpuid, aperfmperf, tsc_known_freq, pni, pclmulqdq, ssse3, fma, cx16, pcid, sse4_1, sse4_2, x2apic, movbe, popcnt, tsc_deadline_timer, aes, xsave, avx, f16c, rdrand, hypervisor, lahf_lm, abm, 3dnowprefetch, pti, fsgsbase, tsc_adjust, bmi1, avx2, smep, bmi2, erms, invpcid, mpx, avx512f, avx512dq, rdseed, adx, smap, clflushopt, clwb, avx512cd, avx512bw, avx512vl, xsaveopt, xsavec, xgetbv1, xsaves, ida, arat, pku, ospke, avx512_vnni
Ecpus
5.3
Scalability
132.5

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
16 GiB
GPU Memory Total
16 GiB
GPU Manufacturer
NVIDIA
GPU Family
Turing
GPU Model
T4
GPUs
  • NVIDIA Turing Tesla T4 (Memory amount: 15360, Firmware version: 590.48.01, BIOS version: 90.04.96.00.A0, Clock rate: 1590)
STORAGE
Storage Size
225 GB
Storage Type
nvme ssd
Storages
  • 225 GB nvme ssd
NETWORK
Network Speed Baseline
10 Gbps
Network Speed Max
25 Gbps
Network Storage Speed Baseline
1.15 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 featuring dedicated Intel Xeon processors, local NVMe storage, and an NVIDIA T4 GPU for efficient machine learning inference.

GPU AcceleratedGeneral PurposeStorage & Database

Amazon Web Services g4dn.2xlarge is a GPU-accelerated instance designed for graphics-intensive and machine learning workloads. Powered by an Intel Xeon 8259CL processor with 8 dedicated vCPUs and 32.0 GB of DDR4 memory, it features a single NVIDIA T4 GPU with 16 GB of VRAM. Storage is provided by a 225 GB local NVMe SSD, and network connectivity is rated at a 10 Gbps baseline. While general CPU benchmarks and single-threaded operations perform in the lower to average tiers, the instance delivers top-tier performance in LLM inference prompt processing and strong text generation speeds for small and medium models. This hardware profile makes the g4dn.2xlarge highly efficient for small-scale machine learning deployment, graphics rendering, and database operations requiring local NVMe caching.

Economics

Average Price per Region

Prices per Zone

Lowest Prices

Performance

Workload Profiles

0.439Score
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) 676,521 ops/sec 1,919,696 ops/sec 0.352 50.00% 50.00% -40.70%
Redis RPS (pipeline=16, SET) 4,284,617 ops/sec 11,736,081 ops/sec 0.365 20.00% 20.00% -18.30%
PassMark Memory Mark (composite) 2,315 2,418 0.957 10.00% 10.00% -0.44%
Memory bandwidth (read, 16 MB ~ L3) 53,303 MB/sec 108,260 MB/sec 0.492 10.00% 10.00% -6.85%
PassMark single-thread CPU 1,834 Mops/s 2,365 Mops/s 0.775 10.00% 10.00% -2.52%

Memory Bandwidth

Compression

OpenSSL

Geekbench Single-Core

Score: 1,125

Geekbench Multi-Core

Score: 4,267

Passmark CPU Scores

BENCHMARKSCORE
Mark
7707
Compression
100086
Encryption
3133
Extended Instructions
6149
Floating Point Maths
12135
Integer Maths
22575
Physics
922
Prime Numbers
45
Single Threaded
1834
String Sorting
11900

Passmark Memory Scores

BENCHMARKSCORE
Memory Mark
2315
Database Operations
2744
Memory Latency
55
Memory Read Cached
22451
Memory Read Uncached
10797
Memory Write
10104

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
g4dn.xlarge 416 GiB1
g4dn.4xlarge 1664 GiB1
g4dn.8xlarge 32128 GiB1
g4dn.12xlarge 48192 GiB4
g4dn.16xlarge 64256 GiB1
g4dn.metal 96384 GiB8

Similar Servers

INSTANCEVENDORvCPUsMEMORYGPUs

g4dn.2xlarge FAQs