m4.2xlarge vs trn1.2xlarge
| m4.2xlarge | trn1.2xlarge |
| General purpose | Machine Learning ASIC |
| Obsolete. Not recommended for use Small to medium size databases, data processing, caching, backends. m – Multi purpose 4 – Generation 2xlarge – Size | Machine Learning (ML) training trn – AWS Trainium 1 – Generation 2xlarge – Size |
| 8 | 8 |
| 32 GiB | 32 GiB |
| x86_64 | x86_64 |
| Intel Xeon E5-2676 v3 (Haswell) | Intel Xeon Scalable (Icelake) |
| 2.4 GHz | 3.5 GHz |
| 2 | 2 |
| no | no |
| 1 | |
| no | no |
| 32 GiB | |
| no | no |
| m4.10xlarge, m4.16xlarge, m4.2xlarge, m4.4xlarge, m4.large, m4.xlarge | trn1.2xlarge, trn1.32xlarge |
| m2.2xlarge, m3.2xlarge, m4.2xlarge, m5.2xlarge, m6i.2xlarge, m7i.2xlarge, m8i.2xlarge | |
| ml.m4.2xlarge | ml.trn1.2xlarge |
| db.m4.2xlarge | |
| m4.2xlarge.search | |
| cache.m4.2xlarge | |
| no | no |
| no | no |
| yes | no |
| 26 | |
| EBS only | 1 x 475 NVMe SSD |
| default | default |
| supported | supported |
| unsupported | required |
| 1000 MBps | up to 20480 MBps |
| 1000 Mbps | 5000 Mbps |
| 125 Mbps | 625 Mbps |
| 8000 IOPS | 16250 IOPS |
| 8000 IOPS | 65000 IOPS |
| 1000 Mbps | 20000 Mbps |
| 125 Mbps | 2500 Mbps |
| High | 12500 Megabit |
| yes | yes |
| 4 | 4 |
| 1 | 1 |
| 15 | 15 |
| 15 | 15 |
| yes | yes |
| unsupported | required |
| no | no |
| no | yes |
| no | no |
| 1.00x | 2.83x |
Regional Prices
Geography | Region | m4.2xlarge | trn1.2xlarge |
|---|---|---|---|
| Hidden | Hidden (hidden-1) | 0.4200 | n/a |
| Hidden | Hidden (hidden-10) | 0.5040 | n/a |
| Hidden | Hidden (hidden-11) | 0.5160 | n/a |
| Hidden | Hidden (hidden-12) | 0.5160 | n/a |
| Hidden | Hidden (hidden-13) | 0.6360 | n/a |
| Hidden | Hidden (hidden-2) | 0.4440 | n/a |
| Hidden | Hidden (hidden-3) | 0.4440 | n/a |
| Hidden | Hidden (hidden-4) | 0.4640 | n/a |
| Hidden | Hidden (hidden-5) | 0.4680 | n/a |
| Hidden | Hidden (hidden-6) | 0.4800 | n/a |
| Hidden | Hidden (hidden-7) | 0.4920 | n/a |
| Hidden | Hidden (hidden-8) | 0.5000 | n/a |
| Hidden | Hidden (hidden-9) | 0.5000 | n/a |
| US | US East (Ohio) (us-east-2) | 0.4000 | 1.3438 |
| US | US East (Virginia) (us-east-1) | 0.4000 | 1.3438 |
| US | US West (Oregon) (us-west-2) | 0.4000 | 1.3438 |