m4.xlarge vs im4gn.xlarge

Instance Typem4.xlargeim4gn.xlarge
Instance FamilyGeneral purposeStorage optimized
DetailsObsolete. Not recommended for use
Small to medium size databases, data processing, caching, backends.

mMulti purpose
4 – Generation
xlarge – 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
xlarge – Size
vCPUs44
Memory16 GiB16 GiB
CPU Architecturex86_64arm64
ProcessorIntel Xeon E5-2676 v3 (Haswell)AWS Graviton2 Processor
Clock Speed2.4 GHz2.5 GHz
Threads Per Core21
Accelerators
GPUnono
Inference Acceleratornono
FPGAnono
Instances
Sizesm4.10xlarge, m4.16xlarge, m4.2xlarge, m4.4xlarge, m4.large, m4.xlargeim4gn.16xlarge, im4gn.2xlarge, im4gn.4xlarge, im4gn.8xlarge, im4gn.large, im4gn.xlarge
Generationsm1.xlarge, m2.xlarge, m3.xlarge, m4.xlarge, m5.xlarge, m6i.xlarge, m7i.xlarge, m8i.xlarge
SageMakerml.m4.xlarge
RDSdb.m4.xlarge
OpenSearchm4.xlarge.searchim4gn.xlarge.search
ElastiCachecache.m4.xlarge
Free Tiernono
Burstablenono
Hibernationyesyes
EC2 Compute Units13
Instance StorageEBS only1 x 1875 SSD
EBS (Elastic Block Store)
EBS Optimizeddefaultdefault
Encryptionsupportedsupported
NVMeunsupportedrequired
Dedicated Throughput750 MBpsup to 9500 MBps
Optimized Baseline Bandwidth750 Mbps2500 Mbps
Optimized Baseline Throughput93.75 Mbps312.5 Mbps
Optimized Baseline Performance6000 IOPS10000 IOPS
Optimized Max Performance6000 IOPS40000 IOPS
Optimized Max Bandwidth750 Mbps10000 Mbps
Optimized Max Throughput93.75 Mbps1250 Mbps
Networking
Networking PerformanceHighUp to 25 Gigabit
Enhanced Networkingyesyes
Max Interfaces44
Max Cards11
IPv4 Addresses per Interface1515
IPv6 Addresses per Interface1515
IPv6 Supportyesyes
ENA Supportunsupportedrequired
EFA Supportnono
Encryption in Transit Supportnoyes
ENA SRD Supportnono
Avg Price Diff1.00x1.72x

Regional Prices

US Dollar ($)
Per Hour
Linux
Shared Tenancy
On Demand
Geography
Region
m4.xlarge
im4gn.xlarge
HiddenHidden (hidden-1)0.21000.4011
HiddenHidden (hidden-10)0.25200.4361
HiddenHidden (hidden-11)0.25800.4361
HiddenHidden (hidden-12)0.2580n/a
HiddenHidden (hidden-13)0.3180n/a
HiddenHidden (hidden-2)0.22200.4011
HiddenHidden (hidden-3)0.22200.4011
HiddenHidden (hidden-4)0.23200.4130
HiddenHidden (hidden-5)0.23400.4220
HiddenHidden (hidden-6)0.24000.4221
HiddenHidden (hidden-7)0.24600.4221
HiddenHidden (hidden-8)0.25000.4268
HiddenHidden (hidden-9)0.25000.4338
USUS East (Ohio) (us-east-2)0.20000.3638
USUS East (Virginia) (us-east-1)0.20000.3638
USUS West (Oregon) (us-west-2)0.20000.3638
Activate subscription to see all regions and unlock all features