logo

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.1359 USD per hour.
8 vCPU
32 GiB Memory
225 GB Storage
1 GPU
Spare SCore
6760
(All-cores)
1285
(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-08-04T07:51:00.325247

Availability

REGION / IDSPOTONDEMAND
Ohio (US) / us-east-2
0.270467 USD/h 0.752 USD/h
Oregon (US) / us-west-2
0.2926 USD/h 0.752 USD/h
Northern Virgina (US) / us-east-1
0.3655 USD/h 0.752 USD/h
Stockholm (SE) / eu-north-1
0.204133 USD/h 0.798 USD/h
Mumbai (IN) / ap-south-1
0.255767 USD/h 0.828 USD/h
Quebec (CA) / ca-central-1
0.2872 USD/h 0.835 USD/h
Dublin (IE) / eu-west-1
0.4014 USD/h 0.838 USD/h
Paris (FR) / eu-west-3
0.2759 USD/h 0.879 USD/h
Milan (IT) / eu-south-1
0.2101 USD/h 0.88 USD/h
London (GB) / eu-west-2
0.303867 USD/h 0.88 USD/h
California (US) / us-west-1
0.47565 USD/h 0.902 USD/h
Seoul (KR) / ap-northeast-2
0.3178 USD/h 0.925 USD/h
Frankfurt (DE) / eu-central-1
0.448733 USD/h 0.94 USD/h
Sydney (AU) / ap-southeast-2
0.559467 USD/h 0.978 USD/h
Cape Town (ZA) / af-south-1
0.34505 USD/h 0.998 USD/h
Osaka (JP) / ap-northeast-3
0.351 USD/h 1.015 USD/h
Tokyo (JP) / ap-northeast-1
0.486567 USD/h 1.015 USD/h
Singapore (SG) / ap-southeast-1
0.4896 USD/h 1.052 USD/h
Hong Kong (HK) / ap-east-1
0.363867 USD/h 1.158 USD/h
Sao Paulo (BR) / sa-east-1
0.258333 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 an NVIDIA T4 GPU and local NVMe storage, optimized for machine learning inference and graphics workloads.

GPU AcceleratedGeneral PurposeStorage & Database

Amazon Web Services g4dn.2xlarge is a GPU-accelerated instance designed for graphics-intensive and machine learning workloads. It features an Intel Xeon 8259CL processor with 8 vCPUs, 32.0 GB of DDR4 memory, a single NVIDIA T4 GPU with 16 GB of VRAM, and 225 GB of local NVMe SSD storage. Running on the Nitro hypervisor, it delivers a baseline network bandwidth of 10 Gbps. Benchmark data shows weak single-core and multi-core CPU performance, but top-tier results in LLM inference prompt processing and strong text generation speeds for 135M and 7B models. This hardware profile presents a tradeoff between lower CPU-bound efficiency and high GPU-driven performance. It is suited for machine learning inference, graphics processing, and database workloads utilizing local NVMe storage.

Economics

Average Price per Region

Prices per Zone

Lowest Prices

Performance

Workload Profiles

0.441Score
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,910,660 ops/sec 0.354 50.00% 50.00% -40.50%
Redis RPS (pipeline=16, SET) 4,284,617 ops/sec 11,608,287 ops/sec 0.369 20.00% 20.00% -18.10%
PassMark Memory Mark (composite) 2,315 2,416 0.958 10.00% 10.00% -0.43%
Memory bandwidth (read, 16 MB ~ L3) 53,303 MB/sec 107,896 MB/sec 0.494 10.00% 10.00% -6.81%
PassMark single-thread CPU 1,834 Mops/s 2,364 Mops/s 0.776 10.00% 10.00% -2.50%

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