g4dn.2xlarge vs trn1.2xlarge
| g4dn.2xlarge | trn1.2xlarge |
| GPU instance | Machine Learning ASIC |
| Machine Learning (ML), 3D visualizations, graphics-heavy remote workstations, 3D rendering, application streaming, video encoding, and server-side graphics tasks. g – GPU (Graphics Processing Unit) 4 – Generation d – Instance store volume n – Network and EBS optimized 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 Family | Intel Xeon Scalable (Icelake) |
| 2.5 GHz | 3.5 GHz |
| 2 | 2 |
| yes | no |
| T4 | |
| NVIDIA | |
| 1 | 1 |
| 16 GiB | |
| 16 GiB | |
| no | no |
| 16 GiB | 32 GiB |
| no | no |
| g4dn.12xlarge, g4dn.16xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.metal, g4dn.xlarge | trn1.2xlarge, trn1.32xlarge |
| g4ad.2xlarge | |
| ml.g4dn.2xlarge | ml.trn1.2xlarge |
| no | no |
| no | no |
| no | no |
| 225 GB NVMe SSD | 1 x 475 NVMe SSD |
| default | default |
| supported | supported |
| required | required |
| 3500 MBps | up to 20480 MBps |
| 1150 Mbps | 5000 Mbps |
| 143.75 Mbps | 625 Mbps |
| 6000 IOPS | 16250 IOPS |
| 20000 IOPS | 65000 IOPS |
| 3500 Mbps | 20000 Mbps |
| 437.5 Mbps | 2500 Mbps |
| Up to 25 Gigabit | 12500 Megabit |
| yes | yes |
| 3 | 4 |
| 1 | 1 |
| 10 | 15 |
| 10 | 15 |
| yes | yes |
| required | required |
| no | no |
| yes | yes |
| no | no |
| 1.00x | 1.45x |
Regional Prices
Geography | Region | g4dn.2xlarge | trn1.2xlarge |
|---|---|---|---|
| Hidden | Hidden (hidden-1) | 0.7980 | n/a |
| Hidden | Hidden (hidden-10) | 0.9250 | n/a |
| Hidden | Hidden (hidden-11) | 0.9400 | n/a |
| Hidden | Hidden (hidden-12) | 0.9480 | n/a |
| Hidden | Hidden (hidden-13) | 0.9480 | n/a |
| Hidden | Hidden (hidden-14) | 0.9780 | n/a |
| Hidden | Hidden (hidden-15) | 0.9980 | n/a |
| Hidden | Hidden (hidden-16) | 1.0150 | n/a |
| Hidden | Hidden (hidden-17) | 1.0150 | n/a |
| Hidden | Hidden (hidden-18) | 1.0520 | n/a |
| Hidden | Hidden (hidden-19) | 1.1580 | n/a |
| Hidden | Hidden (hidden-2) | 0.8280 | n/a |
| Hidden | Hidden (hidden-20) | 1.2780 | n/a |
| Hidden | Hidden (hidden-3) | 0.8350 | n/a |
| Hidden | Hidden (hidden-4) | 0.8380 | n/a |
| Hidden | Hidden (hidden-5) | 0.8790 | n/a |
| Hidden | Hidden (hidden-6) | 0.8800 | n/a |
| Hidden | Hidden (hidden-7) | 0.8800 | n/a |
| Hidden | Hidden (hidden-8) | 0.9020 | n/a |
| Hidden | Hidden (hidden-9) | 0.9220 | n/a |
| US | US East (Ohio) (us-east-2) | 0.7520 | 1.3438 |
| US | US East (Virginia) (us-east-1) | 0.7520 | 1.3438 |
| US | US West (Oregon) (us-west-2) | 0.7520 | 1.3438 |
Activate subscription to see all regions and unlock all features
Related Comparisons
Other instances worth weighing against these.