Amazon EC2 provides a variety of instance types optimized to fit different use cases. These include instances that are optimized for compute, memory, storage, and GPU processing.
Amazon EC2 Instance Comparison
G4dn instances are part of the GPU instance family and are well suited for GPU-intensive workloads. They are equipped with NVIDIA Tesla GPUs and provide a high-performance platform for graphics applications, machine learning inference, and video processing.
| API Name | vCPUs | GPUs | GPU model | GPU memory | hourly | monthly |
|---|---|---|---|---|---|---|
| g4dn.xlarge | 4 | 1 | NVIDIA T4 Tensor Core | 16 | $0.53 | $241.63 |
| g4dn.2xlarge | 8 | 1 | NVIDIA T4 Tensor Core | 16 | $0.75 | $346.02 |
| g5.xlarge | 4 | 1 | NVIDIA A10G | 24 | $1.01 | $462.66 |
| g4dn.4xlarge | 16 | 1 | NVIDIA T4 Tensor Core | 16 | $1.20 | $554.07 |
| g5.2xlarge | 8 | 1 | NVIDIA A10G | 24 | $1.21 | $557.40 |
| g5.4xlarge | 16 | 1 | NVIDIA A10G | 24 | $1.62 | $746.88 |
| g4dn.8xlarge | 32 | 1 | NVIDIA T4 Tensor Core | 16 | $2.18 | $1,000.83 |
| g5.8xlarge | 32 | 1 | NVIDIA A10G | 24 | $2.45 | $1,125.84 |
| g4dn.12xlarge | 48 | 4 | NVIDIA T4 Tensor Core | 64 | $3.91 | $1,799.45 |
| g5.16xlarge | 64 | 1 | NVIDIA A10G | 24 | $4.10 | $1,883.75 |
| g4dn.16xlarge | 64 | 1 | NVIDIA T4 Tensor Core | 16 | $4.35 | $2,001.66 |
| g5.12xlarge | 48 | 4 | NVIDIA A10G | 96 | $5.67 | $2,608.55 |
| g4dn.metal | 96 | 8 | NVIDIA T4 Tensor Core | 128 | $7.82 | $3,598.17 |
| g5.24xlarge | 96 | 4 | NVIDIA A10G | 96 | $8.14 | $3,745.43 |
| g5.48xlarge | 192 | 8 | NVIDIA A10G | 192 | $16.29 | $7,490.85 |