t2.medium
Amazon EC2 · T2 family
The t2.medium is a general purpose Amazon EC2 instance type with 2 vCPUs and 4 GiB of memory, running on Intel Xeon Family with low to moderate networking, starting at $0.0464 per hour on demand.
- vCPUs
- 2
- memory
- 4 GiB
- processor
- Intel
- on-demand
- $0.0464
- spot
- $0.0203
- 1-yr reserved
- $0.0287
shared / burstable
2 GiB per vCPU
x86-64
$33.87/mo · us-east-1
−56% vs on-demand
−38% vs on-demand
t2.medium price by region
17 regions · hourly list prices in USD · On-demand · Spot · 1-yr Reserved · 3-yr Reserved
| US East (N. Virginia)us-east-1cheapestreferenceNorth America | $0.0464 | $0.0203 | $0.0287 | $0.02 |
| US East (Ohio)us-east-2cheapestNorth America | $0.0464 | $0.0168 | $0.0287 | $0.02 |
| US West (Oregon)us-west-2cheapestNorth America | $0.0464 | $0.0149 | $0.0287 | $0.02 |
| Asia Pacific (Mumbai)ap-south-1Asia | $0.0496 | $0.0177 | $0.0309 | $0.0209 |
| EU (Ireland)eu-west-1Europe | $0.05 | $0.0197 | $0.0355 | $0.0253 |
| Canada (Central)ca-central-1North America | $0.0512 | $0.0186 | $0.0319 | $0.0222 |
| EU (London)eu-west-2Europe | $0.052 | $0.0184 | $0.0363 | $0.0268 |
| EU (Paris)eu-west-3Europe | $0.0528 | $0.0169 | $0.0369 | $0.0268 |
| EU (Frankfurt)eu-central-1Europe | $0.0536 | $0.0191 | $0.0382 | $0.0276 |
| AWS GovCloud (US)us-gov-west-1North America | $0.0544 | – | $0.0378 | $0.0256 |
| US West (N. California)us-west-1North America | $0.0552 | $0.018 | $0.0401 | $0.0275 |
| Asia Pacific (Seoul)ap-northeast-2Asia | $0.0576 | $0.0136 | $0.0344 | $0.0253 |
| Asia Pacific (Singapore)ap-southeast-1Asia | $0.0584 | $0.0194 | $0.0363 | $0.0247 |
| Asia Pacific (Sydney)ap-southeast-2Oceania | $0.0584 | $0.0225 | $0.0392 | $0.0283 |
| Asia Pacific (Osaka)ap-northeast-3Asia | $0.0608 | $0.0156 | $0.0411 | $0.03 |
| Asia Pacific (Tokyo)ap-northeast-1Asia | $0.0608 | $0.0193 | $0.0411 | $0.03 |
| South America (Sao Paulo)sa-east-1South America | $0.0744 | $0.0194 | $0.0423 | $0.0323 |
Specifications
compute
- vCPUs
- 2
- Memory
- 4 GiB
- Memory per vCPU
- 2 GiB
- Processor
- Intel Xeon Family
- CPU vendor
- Intel
- Architecture
- x86-64
- Burstable CPU
- Yes (shared cores)
storage & network
- Local storage
- Network storage only
- Storage detail
- EBS only
- Network
- Low to Moderate
aws details
- API name
t2.medium- Family
- T2
- Category
- General purpose
- Generation
- Current
- Regions
- 17 (Asia, Europe, North America, Oceania, South America)
- Cheapest region
- US East (N. Virginia) · $0.0464/hr
- Enhanced networking
- No
- Normalization size factor
- 2
- Processor features
- Intel AVX; Intel Turbo
- Spot interruption rate (us-east-1)
- <5%
- Spot savings vs on-demand (us-east-1)
- 62%
t2.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 t2.medium |
|---|---|---|---|---|---|---|
| AWS | t2.medium | 2 | 4 GiB | Intel Xeon Family | $0.0464 | – |
| Azure | B2als v2 | 2 | 4 GiB | AMD EPYC 7763v (Milan) | $0.0376 | -19% |
| B2ls v2 | 2 | 4 GiB | Intel Xeon Platinum 8370C (Ice Lake) | $0.0416 | -10% | |
| Google Cloud | e2-medium | 2 | 4 GiB | AMD Rome, Intel Broadwell, Intel Haswell, Intel Skylake | $0.0335 | -28% |
| n4d-highcpu-2dedicated CPU | 2 | 4 GiB | AMD Turin | $0.0715 | +54% | |
| Akamai | Linode 4GB | 2 | 4 GiB | AMD EPYC | $0.036 | -22% |
| Dedicated 4GBdedicated CPU | 2 | 4 GiB | AMD EPYC | $0.054 | +16% | |
| Vultr | vc2-2c-4gb | 2 | 4 GiB | Intel Xeon | $0.027 | -42% |
| vhf-2c-4gb | 2 | 4 GiB | Intel Xeon | $0.033 | -29% |
T2 family sizes
| Size | vCPU | Memory | Local storage | On-demand | Monthly | Spot | 1-yr |
|---|---|---|---|---|---|---|---|
| t2.nano | 1 | 0.5 GiB | – | $0.0058 | $4.234 | – | $0.0036 |
| t2.micro | 1 | 1 GiB | – | $0.0116 | $8.468 | $0.0043 | $0.0072 |
| t2.small | 1 | 2 GiB | – | $0.023 | $16.79 | $0.0098 | $0.0144 |
| t2.medium | 2 | 4 GiB | – | $0.0464 | $33.87 | $0.0203 | $0.0287 |
| t2.large | 2 | 8 GiB | – | $0.0928 | $67.74 | $0.0403 | $0.0575 |
| t2.xlarge | 4 | 16 GiB | – | $0.1856 | $135 | $0.0758 | $0.115 |
| t2.2xlarge | 8 | 32 GiB | – | $0.3712 | $271 | $0.1539 | $0.23 |
Similar instance types on AWS
other AWS families with a similar shape, cheapest first
t2.medium FAQ
How much does t2.medium cost?
t2.medium costs $0.0464 per hour on demand with Linux in US East (N. Virginia) (us-east-1), about $33.87 per month. Across 17 regions the Linux on-demand price ranges from $0.0464 in US East (N. Virginia) to $0.0744 in South America (Sao Paulo). Spot capacity costs $0.0203 per hour (56% less), but can be reclaimed. A 1-yr Reserved commitment brings it to $0.0287 per hour. With Windows it costs $0.0644 per hour.
How many vCPUs and how much memory does t2.medium have?
t2.medium has 2 vCPUs and 4 GiB of memory (2 GiB per vCPU), running on Intel Xeon Family. It is a general purpose instance type in the T2 family with a burstable (shared) CPU.
What are the equivalents of t2.medium on other clouds?
The closest matches by vCPU, memory, CPU architecture and instance class are on Azure, B2als v2 (2 vCPU, 4 GiB, $0.0376/hour in East US); on Google Cloud, e2-medium (2 vCPU, 4 GiB, $0.0335/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 t2.medium burstable?
Yes. t2.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.