t4g.medium
Amazon EC2 · T4g family
The t4g.medium is a general purpose Amazon EC2 instance type with 2 vCPUs and 4 GiB of memory, running on AWS Graviton2 Processor with up to 5 Gigabit networking, starting at $0.0224 per hour on demand.
- vCPUs
- 2
- memory
- 4 GiB
- processor
- Graviton
- on-demand
- $0.0336
- spot
- $0.0144
- 1-yr reserved
- $0.0211
shared / burstable
2 GiB per vCPU
2.5 GHz
$24.53/mo · us-east-1
−57% vs on-demand
−37% vs on-demand
t4g.medium price by region
36 regions · hourly list prices in USD · On-demand · Spot · 1-yr Reserved · 3-yr Reserved
| Asia Pacific (Hyderabad)ap-south-2cheapestAsia | $0.0224 | $0.0056 | $0.0142 | $0.0095 |
| Asia Pacific (Mumbai)ap-south-1cheapestAsia | $0.0224 | $0.0078 | $0.0142 | $0.0095 |
| US East (N. Virginia)us-east-1referenceNorth America | $0.0336 | $0.0144 | $0.0211 | $0.0145 |
| US East (Ohio)us-east-2North America | $0.0336 | $0.0081 | $0.0211 | $0.0145 |
| US West (Oregon)us-west-2North America | $0.0336 | $0.013 | $0.0211 | $0.0145 |
| EU (Stockholm)eu-north-1Europe | $0.0344 | $0.011 | $0.0218 | $0.0148 |
| Mexico (Central)mx-central-1North America | $0.0353 | – | $0.0221 | $0.0152 |
| Canada (Central)ca-central-1North America | $0.0368 | $0.0116 | $0.0232 | $0.0159 |
| Canada West (Calgary)ca-west-1North America | $0.0368 | $0.0157 | $0.0232 | $0.0159 |
| EU (Ireland)eu-west-1Europe | $0.0368 | $0.0145 | $0.0232 | $0.0159 |
| EU (Spain)eu-south-2Europe | $0.0368 | $0.0115 | $0.0232 | $0.0159 |
| EU (London)eu-west-2Europe | $0.0376 | $0.0133 | $0.0237 | $0.0162 |
| EU (Paris)eu-west-3Europe | $0.0376 | $0.0123 | $0.0237 | $0.0162 |
| Asia Pacific (Malaysia)ap-southeast-5Asia | $0.0382 | – | $0.024 | $0.0162 |
| Asia Pacific (Thailand)ap-southeast-7Asia | $0.0382 | – | $0.024 | $0.0162 |
| EU (Frankfurt)eu-central-1Europe | $0.0384 | $0.0133 | $0.0242 | $0.0166 |
| EU (Milan)eu-south-1Europe | $0.0384 | $0.0075 | $0.0242 | $0.0166 |
| Israel (Tel Aviv)il-central-1Middle East | $0.0386 | $0.0151 | $0.0244 | $0.0167 |
| Asia Pacific (Taipei)ap-east-2Asia | $0.0389 | – | – | – |
| AWS GovCloud (US-East)us-gov-east-1North America | $0.0392 | – | $0.0246 | $0.0189 |
| AWS GovCloud (US)us-gov-west-1North America | $0.0392 | – | $0.0246 | $0.0189 |
| US West (N. California)us-west-1North America | $0.04 | $0.015 | $0.0252 | $0.0173 |
| Middle East (Bahrain)me-south-1Middle East | $0.0402 | $0.0065 | $0.0253 | $0.0173 |
| Middle East (UAE)me-central-1Middle East | $0.0408 | $0.0082 | $0.0257 | $0.0176 |
| Asia Pacific (Seoul)ap-northeast-2Asia | $0.0416 | $0.0188 | $0.0252 | $0.018 |
| EU (Zurich)eu-central-2Europe | $0.0422 | $0.0086 | $0.0266 | $0.0182 |
| Asia Pacific (Jakarta)ap-southeast-3Asia | $0.0424 | $0.0048 | $0.0267 | $0.018 |
| Asia Pacific (Melbourne)ap-southeast-4Oceania | $0.0424 | $0.008 | $0.0267 | $0.0184 |
| Asia Pacific (Singapore)ap-southeast-1Asia | $0.0424 | $0.0144 | $0.0267 | $0.018 |
| Asia Pacific (Sydney)ap-southeast-2Oceania | $0.0424 | $0.0141 | $0.0267 | $0.0184 |
| Asia Pacific (Tokyo)ap-northeast-1Asia | $0.0432 | $0.0109 | $0.0272 | $0.0187 |
| Africa (Cape Town)af-south-1Africa | $0.0434 | $0.0081 | $0.0273 | $0.0187 |
| Asia Pacific (Osaka)ap-northeast-3Asia | $0.0435 | $0.0187 | $0.0274 | $0.0188 |
| Asia Pacific (New Zealand)ap-southeast-6Oceania | $0.0446 | – | – | – |
| Asia Pacific (Hong Kong)ap-east-1Asia | $0.0464 | $0.0073 | $0.0292 | $0.0197 |
| South America (Sao Paulo)sa-east-1South America | $0.0536 | $0.0076 | $0.0308 | $0.0231 |
Specifications
compute
- vCPUs
- 2
- Memory
- 4 GiB
- Memory per vCPU
- 2 GiB
- Processor
- AWS Graviton2 Processor
- CPU vendor
- AWS Graviton
- Architecture
- Arm64
- Clock speed
- 2.5 GHz
- Burstable CPU
- Yes (shared cores)
storage & network
- Local storage
- Network storage only
- Storage detail
- EBS only
- Network
- Up to 5 Gigabit
- Peak bandwidth
- 5 Gbps
aws details
- API name
t4g.medium- Family
- T4g
- Category
- General purpose
- Generation
- Current
- Regions
- 36 (Africa, Asia, Europe, Middle East, North America, Oceania, South America)
- Cheapest region
- Asia Pacific (Mumbai) · $0.0224/hr
- Dedicated EBS throughput
- Up to 2085 Mbps
- Enhanced networking
- No
- Normalization size factor
- 2
- Spot interruption rate (us-east-1)
- 15-20%
- Spot savings vs on-demand (us-east-1)
- 49%
t4g.medium equivalents on other clouds
closest match by vCPU, memory, CPU architecture, accelerator and class · Linux on-demand in each provider's reference region
| Provider | Instance | vCPU | Memory | Processor | On-demand | vs t4g.medium |
|---|---|---|---|---|---|---|
| AWS | t4g.medium | 2 | 4 GiB | AWS Graviton2 Processor | $0.0336 | – |
| Azure | B2pls v2 | 2 | 4 GiB | Ampere Altra | $0.0336 | 0% |
| D2pls v6dedicated CPU | 2 | 4 GiB | Azure Cobalt 100 | $0.062 | +85% | |
| Google Cloud | n4a-highcpu-2dedicated CPU | 2 | 4 GiB | Google Axion | $0.065 | +93% |
| c4a-highcpu-2dedicated CPU | 2 | 4 GiB | Google Axion | $0.0758 | +125% | |
| Akamai | Linode 4GBx86 CPU | 2 | 4 GiB | AMD EPYC | $0.036 | +7% |
| Dedicated 4GBx86 CPU · dedicated CPU | 2 | 4 GiB | AMD EPYC | $0.054 | +61% | |
| Vultr | vc2-2c-4gbx86 CPU | 2 | 4 GiB | Intel Xeon | $0.027 | -20% |
| vhf-2c-4gbx86 CPU | 2 | 4 GiB | Intel Xeon | $0.033 | -2% |
T4g family sizes
| Size | vCPU | Memory | Local storage | On-demand | Monthly | Spot | 1-yr |
|---|---|---|---|---|---|---|---|
| t4g.nano | 2 | 0.5 GiB | – | $0.0042 | $3.066 | $0.0026 | $0.0026 |
| t4g.micro | 2 | 1 GiB | – | $0.0084 | $6.132 | $0.0038 | $0.0053 |
| t4g.small | 2 | 2 GiB | – | $0.0168 | $12.26 | $0.0077 | $0.0105 |
| t4g.medium | 2 | 4 GiB | – | $0.0336 | $24.53 | $0.0144 | $0.0211 |
| t4g.large | 2 | 8 GiB | – | $0.0672 | $49.06 | $0.0301 | $0.0421 |
| t4g.xlarge | 4 | 16 GiB | – | $0.1344 | $98.11 | $0.0601 | $0.0843 |
| t4g.2xlarge | 8 | 32 GiB | – | $0.2688 | $196 | $0.1197 | $0.1686 |
Similar instance types on AWS
other AWS families with a similar shape, cheapest first
t4g.medium FAQ
How much does t4g.medium cost?
t4g.medium costs $0.0336 per hour on demand with Linux in US East (N. Virginia) (us-east-1), about $24.53 per month. Across 36 regions the Linux on-demand price ranges from $0.0224 in Asia Pacific (Mumbai) to $0.0536 in South America (Sao Paulo). Spot capacity costs $0.0144 per hour (57% less), but can be reclaimed. A 1-yr Reserved commitment brings it to $0.0211 per hour.
How many vCPUs and how much memory does t4g.medium have?
t4g.medium has 2 vCPUs and 4 GiB of memory (2 GiB per vCPU), running on AWS Graviton2 Processor. It is a general purpose instance type in the T4g family with a burstable (shared) CPU.
What is the cheapest region for t4g.medium?
Asia Pacific (Mumbai) (ap-south-1) at $0.0224 per hour for Linux on demand, 33% less than US East (N. Virginia). t4g.medium is sold in 36 AWS regions.
What are the equivalents of t4g.medium on other clouds?
The closest matches by vCPU, memory, CPU architecture and instance class are on Azure, B2pls v2 (2 vCPU, 4 GiB, $0.0336/hour in East US); on Google Cloud, n4a-highcpu-2 (2 vCPU, 4 GiB, $0.065/hour in Iowa); on Akamai, Linode 4GB (2 vCPU, 4 GiB, $0.036/hour in Newark, NJ); on Vultr, vc2-2c-4gb (2 vCPU, 4 GiB, $0.027/hour in New Jersey).
Is t4g.medium burstable?
Yes. t4g.medium shares physical CPU cores and is designed for workloads that are idle most of the time and occasionally need full CPU. Sustained high CPU use can be throttled or cost extra, so pick a general purpose size with dedicated vCPUs for steady load.