g5g.xlarge vs g4dn.xlarge

Instance Typeg5g.xlargeg4dn.xlarge
Instance FamilyGPU instanceGPU instance
DetailsMachine Learning (ML), 3D visualizations, graphics-heavy remote workstations, 3D rendering, application streaming, video encoding, and server-side graphics tasks.

gGPU (Graphics Processing Unit)
5 – Generation
g – AWS Graviton processor
xlarge – Size
Machine Learning (ML), 3D visualizations, graphics-heavy remote workstations, 3D rendering, application streaming, video encoding, and server-side graphics tasks.

gGPU (Graphics Processing Unit)
4 – Generation
d – Instance store volume
n – Network and EBS optimized
xlarge – Size
vCPUs44
Memory8 GiB16 GiB
CPU Architecturearm64x86_64
ProcessorAWS Graviton2 ProcessorIntel Xeon Family
Clock Speed2.5 GHz2.5 GHz
Threads Per Core12
Accelerators
GPUyesyes
GPU NameT4gT4
GPU ManufacturerNVIDIANVIDIA
GPUs11
GPU Memory16 GiB16 GiB
GPU Total Memory16 GiB16 GiB
Inference Acceleratornono
Accelerator Memory16 GiB16 GiB
FPGAnono
Instances
Sizesg5g.16xlarge, g5g.2xlarge, g5g.4xlarge, g5g.8xlarge, g5g.metal, g5g.xlargeg4dn.12xlarge, g4dn.16xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.metal, g4dn.xlarge
Variantsg5.xlargeg4ad.xlarge
SageMakerml.g4dn.xlarge
Free Tiernono
Burstablenono
Hibernationnono
Instance StorageEBS only125 GB NVMe SSD
EBS (Elastic Block Store)
EBS Optimizeddefaultdefault
Encryptionsupportedsupported
NVMerequiredrequired
Dedicated Throughputup to 3500 MBps3500 MBps
Optimized Baseline Bandwidth1188 Mbps950 Mbps
Optimized Baseline Throughput148.5 Mbps118.75 Mbps
Optimized Baseline Performance6000 IOPS3000 IOPS
Optimized Max Performance20000 IOPS20000 IOPS
Optimized Max Bandwidth4750 Mbps3500 Mbps
Optimized Max Throughput593.75 Mbps437.5 Mbps
Networking
Networking PerformanceUp to 10 GigabitUp to 25 Gigabit
Enhanced Networkingyesyes
Max Interfaces43
Max Cards11
IPv4 Addresses per Interface1510
IPv6 Addresses per Interface1510
IPv6 Supportyesyes
ENA Supportrequiredrequired
EFA Supportnono
Encryption in Transit Supportnoyes
ENA SRD Supportnono
Avg Price Diff1.00x1.29x

Regional Prices

US Dollar ($)
Per Hour
Linux
Shared Tenancy
On Demand
Geography
Region
g5g.xlarge
g4dn.xlarge
EuropeEurope (Spain) (eu-south-2)0.4687n/a
HiddenHidden (hidden-1)0.51660.5580
HiddenHidden (hidden-10)n/a0.6470
HiddenHidden (hidden-11)n/a0.6580
HiddenHidden (hidden-12)n/a0.6630
HiddenHidden (hidden-13)n/a0.6630
HiddenHidden (hidden-14)n/a0.6840
HiddenHidden (hidden-15)n/a0.6980
HiddenHidden (hidden-16)n/a0.7100
HiddenHidden (hidden-17)n/a0.7100
HiddenHidden (hidden-18)n/a0.7360
HiddenHidden (hidden-19)n/a0.8100
HiddenHidden (hidden-2)0.52540.5790
HiddenHidden (hidden-20)n/a0.8940
HiddenHidden (hidden-3)0.56690.5840
HiddenHidden (hidden-4)0.58770.5870
HiddenHidden (hidden-5)n/a0.6150
HiddenHidden (hidden-6)n/a0.6150
HiddenHidden (hidden-7)n/a0.6160
HiddenHidden (hidden-8)n/a0.6310
HiddenHidden (hidden-9)n/a0.6450
USUS East (Ohio) (us-east-2)n/a0.5260
USUS East (Virginia) (us-east-1)0.42000.5260
USUS West (Oregon) (us-west-2)0.42000.5260
Activate subscription to see all regions and unlock all features  

Related Comparisons

Other instances worth weighing against these.