g5g.2xlarge vs im4gn.2xlarge

Instance Typeg5g.2xlargeim4gn.2xlarge
Instance FamilyGPU instanceStorage optimized
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
2xlarge – Size
NoSQL databases (like Cassandra, MongoDB, Redis), in-memory databases (such as Aerospike), scalable transactional databases, data warehousing, Elasticsearch, and analytics tasks.

imIOPS / storage optimized with a one to four ratio of vCPU to memory
4 – Generation
g – AWS Graviton processor
n – Network and EBS optimized
2xlarge – Size
vCPUs88
Memory16 GiB32 GiB
CPU Architecturearm64arm64
ProcessorAWS Graviton2 ProcessorAWS Graviton2 Processor
Clock Speed2.5 GHz2.5 GHz
Threads Per Core11
Accelerators
GPUyesno
GPU NameT4g
GPU ManufacturerNVIDIA
GPUs1
GPU Memory16 GiB
GPU Total Memory16 GiB
Inference Acceleratornono
Accelerator Memory16 GiB
FPGAnono
Instances
Sizesg5g.16xlarge, g5g.2xlarge, g5g.4xlarge, g5g.8xlarge, g5g.metal, g5g.xlargeim4gn.16xlarge, im4gn.2xlarge, im4gn.4xlarge, im4gn.8xlarge, im4gn.large, im4gn.xlarge
Variantsg5.2xlarge
OpenSearchim4gn.2xlarge.search
Free Tiernono
Burstablenono
Hibernationnoyes
Instance StorageEBS only1 x 3750 SSD
EBS (Elastic Block Store)
EBS Optimizeddefaultdefault
Encryptionsupportedsupported
NVMerequiredrequired
Dedicated Throughputup to 4500 MBpsup to 9500 MBps
Optimized Baseline Bandwidth2375 Mbps5000 Mbps
Optimized Baseline Throughput296.875 Mbps625 Mbps
Optimized Baseline Performance12000 IOPS20000 IOPS
Optimized Max Performance20000 IOPS40000 IOPS
Optimized Max Bandwidth4750 Mbps10000 Mbps
Optimized Max Throughput593.75 Mbps1250 Mbps
Networking
Networking PerformanceUp to 10 GigabitUp to 25 Gigabit
Enhanced Networkingyesyes
Max Interfaces44
Max Cards11
IPv4 Addresses per Interface1515
IPv6 Addresses per Interface1515
IPv6 Supportyesyes
ENA Supportrequiredrequired
EFA Supportnono
Encryption in Transit Supportnoyes
ENA SRD Supportnono
Avg Price Diff1.00x1.23x

Regional Prices

US Dollar ($)
Per Hour
Linux
Shared Tenancy
On Demand
Geography
Region
g5g.2xlarge
im4gn.2xlarge
EuropeEurope (Spain) (eu-south-2)0.6205n/a
HiddenHidden (hidden-1)0.68390.8022
HiddenHidden (hidden-10)n/a0.8722
HiddenHidden (hidden-11)n/a0.8722
HiddenHidden (hidden-2)0.69550.8022
HiddenHidden (hidden-3)0.75050.8022
HiddenHidden (hidden-4)0.77800.8260
HiddenHidden (hidden-5)n/a0.8440
HiddenHidden (hidden-6)n/a0.8442
HiddenHidden (hidden-7)n/a0.8442
HiddenHidden (hidden-8)n/a0.8535
HiddenHidden (hidden-9)n/a0.8675
USUS East (Ohio) (us-east-2)n/a0.7276
USUS East (Virginia) (us-east-1)0.55600.7276
USUS West (Oregon) (us-west-2)0.55600.7276
Activate subscription to see all regions and unlock all features