AWS Amazon EC2
t2.medium
Part of the T2 General Purpose family — Balanced compute, memory, and networking for a wide range of workloads.
Name:
tBurstable General Purposet = Burstable General PurposeCost-effective instances providing baseline CPU performance with the ability to burst above baseline when workload surges.22nd Generation2 = 2nd GenerationAWS 2nd generation hardware platform with updated CPU/system architecture.mediumMediummedium = Medium2 vCPUs • 4 GB RAM • EBS only • Low to Moderate NetworkOn-demand, Linux
$0.0464/ hr
~$33.87/mo · lowest in US East (N. Virginia), us-east-1Savings Plan, Linux
$0.0231/ hr
From, with a 3-year Compute Savings Plan, No Upfront: −50% vs on-demand rate (us-east-1)Per unit
$0.0232/ vCPU-hr
$0.0116/GB-hrCompute
2vCPUs
2 cores • x86_64Memory
4GB
2.0 GB / vCPUNetwork
Low to Moderate
Baseline: 0.256 GbpsStorage & EBS
EBSOnly
EBS onlyAlternatives to t2.medium
| Option | Price vs t2.medium | Why look at it |
|---|---|---|
| t3.mediumCompare → | -10%-$0.0048/hr Linux on-demand, us-east-1 | Newer generation, same vCPU and RAM |
| t4g.mediumCompare → | -28%-$0.0128/hr Linux on-demand, us-east-1 | Graviton (arm64), newer generation, same vCPU and RAM |
On Google Cloud
The nearest Google Cloud machines to t2.medium by vCPU and memory, at On-demand Linux rates in Northern Virginia (us-east-1 ↔ us-east4).
| Machine | Size | On-demand Linux | vs t2.medium |
|---|---|---|---|
| t2.mediumThis page · AWS, us-east-1 | 2 vCPU · 4 GiB | $0.0464/hr | — |
| e2-mediumsame 2 vCPU and 4 GiB; Intel vs Intel or AMD | 2 vCPU · 4 GiB | $0.037735/hr | 19% less |
Matched on vCPU and memory, then CPU vendor, then rate; a larger size is offered only when nothing is the same size. On-demand Linux only: Spot and commitments work differently on the two clouds, so they aren't compared here.
Technical Specifications & Limits
Hardware specs, container thresholds, and system limitsCompute & Processor
ProcessorIntel Xeon Family
Architecturex86_64 (x86_64)
vCPUs / Threads2 vCPUs
Physical Cores2
Clock SpeedUp to 3.3 GHz
Intel AVX / AVX2AVX Supported
Intel Turbo BoostYes
Bare MetalNo (Virtualized)
Performance & Benchmarks
CoreMark Score41,051
CoreMark / vCPU20,525.5 / core
FFmpeg Transcoding—
CoreMark per Dollar884,720 score / $
Cost per vCPU-hr$0.0232
Cost per GB-hr$0.0116
Containers & Kubernetes
EKS Max Pods17 pods
Max ENIs3
IPv4/v6 per ENI6
Total Addressable IPs18 total IPs
CNI Prefix DelegationStandard CNI
Networking & Bandwidth
Network PerformanceLow to Moderate
Baseline Bandwidth0.256 Gbps
Burst / Peak Bandwidth1.024 Gbps
Enhanced NetworkingNo
EFA SupportNo
IPv6 SupportNative Dual-Stack Supported
Storage & EBS Optimization
Storage ConfigurationEBS only
Local NVMe DiskNone (EBS only)
EBS Baseline Throughput—
EBS Max Throughput—
EBS Baseline IOPS—
EBS Max / Burst IOPS—
Dedicated EBS Throughput1 Mbps
Platform & Architecture Details
Hypervisor / SystemXen Hypervisor
Nitro EnclavesNot Supported
Normalization Factor2
Generation StatusCurrent Generation (Recommended)
Rates by region
Live on-demand rates across all global AWS cloud regionsLowest Price Region
$0.0464/ hr
US East (N. Virginia) (us-east-1)Highest Price Region
$0.0744/ hr
South America (Sao Paulo) (sa-east-1)Global Fleet Average
$0.0546/ hr
Across all active regionsRegional Coverage
17regions
Available worldwide| Region | On-Demand Price | % vs On-Demand Rate |
|---|---|---|
ap-south-1 Asia Pacific (Mumbai) | $0.0496 | |
ap-northeast-3 Asia Pacific (Osaka) | $0.0608 | |
ap-northeast-2 Asia Pacific (Seoul) | $0.0576 | |
ap-southeast-1 Asia Pacific (Singapore) | $0.0584 | |
ap-southeast-2 Asia Pacific (Sydney) | $0.0584 | |
ap-northeast-1 Asia Pacific (Tokyo) | $0.0608 | |
us-gov-west-1 AWS GovCloud (US-West) | $0.0544 | |
ca-central-1 Canada (Central) | $0.0512 | |
eu-central-1 EU (Frankfurt) | $0.0536 | |
eu-west-1 EU (Ireland) | $0.0500 | |
eu-west-2 EU (London) | $0.0520 | |
eu-west-3 EU (Paris) | $0.0528 | |
sa-east-1 HighestSouth America (Sao Paulo) | $0.0744 | |
us-east-1 LowestUS East (N. Virginia) | $0.0464 | |
us-east-2 LowestUS East (Ohio) | $0.0464 | |
us-west-1 US West (N. California) | $0.0552 | |
us-west-2 LowestUS West (Oregon) | $0.0464 |
| Region | On-Demand Price | % vs On-Demand Rate |
|---|---|---|
ap-south-1 Asia Pacific (Mumbai) | $0.0676 | |
ap-northeast-3 Asia Pacific (Osaka) | $0.0788 | |
ap-northeast-2 Asia Pacific (Seoul) | $0.0756 | |
ap-southeast-1 Asia Pacific (Singapore) | $0.0764 | |
ap-southeast-2 Asia Pacific (Sydney) | $0.0764 | |
ap-northeast-1 Asia Pacific (Tokyo) | $0.0788 | |
us-gov-west-1 AWS GovCloud (US-West) | $0.0724 | |
ca-central-1 Canada (Central) | $0.0692 | |
eu-central-1 EU (Frankfurt) | $0.0716 | |
eu-west-1 EU (Ireland) | $0.0680 | |
eu-west-2 EU (London) | $0.0704 | |
eu-west-3 EU (Paris) | $0.0708 | |
sa-east-1 HighestSouth America (Sao Paulo) | $0.0924 | |
us-east-1 LowestUS East (N. Virginia) | $0.0644 | |
us-east-2 LowestUS East (Ohio) | $0.0644 | |
us-west-1 US West (N. California) | $0.0732 | |
us-west-2 LowestUS West (Oregon) | $0.0644 |
No regions matched your search filter.