# EC2 pricing explained

AWS pricing explained · Updated 17 November 2026

**Short answer:** You pay for each EC2 instance by the second while it is running (60-second minimum for Linux), at an hourly rate set by instance type, operating system and Region; an m7i.large on Linux costs $0.1008 per hour on demand in us-east-1 at the time of writing, about $73.58 for a 730-hour month. Storage (EBS), public IPv4 addresses and data transfer out are billed separately and often add 10–30% on top.

## What you pay for

| Dimension | Unit | us-east-1 price |
|---|---|---|
| m7i.large (2 vCPU, 8 GiB, Intel) | instance-hour | $0.1008 |
| m7g.large (2 vCPU, 8 GiB, Graviton) | instance-hour | $0.0816 |
| t3.micro / t4g.small | instance-hour | $0.0104 / $0.0168 |
| EBS gp3 root volume | GB-month | $0.08 |
| Public IPv4 address | hour | $0.005 |
| Data transfer out to the internet | GB (first 10 TB tier) | $0.09 |

Linux on-demand prices from the AWS Price List API, us-east-1, at the time of writing. Windows, RHEL and SQL Server instances carry a licence uplift in the hourly rate.

The hourly rate is the same whether the instance is idle at 2% CPU or flat out. What changes the bill is how many hours each instance runs and which family you picked; a stopped instance stops the compute charge but not the EBS one.

## Worked monthly examples

**1. Two-instance web tier.** Two m7i.large instances running all month, each with a 30 GB gp3 root volume and a public IPv4 address:

- Compute: 2 × 730 h × $0.1008 = $147.17
- EBS: 60 GB × $0.08 = $4.80
- Public IPv4: 2 × 730 h × $0.005 = $7.30
- **Total: $159.27 a month**, before data transfer and load balancer.

**2. Same tier on Graviton.** Swapping to m7g.large: 2 × 730 × $0.0816 = $119.14 for compute, a difference of $28.03 a month for the same vCPU and memory, provided your software runs on arm64.

**3. A dev box that sleeps.** A t3.medium ($0.0416/h) used 10 hours a day on 22 working days runs 220 hours: 220 × $0.0416 = $9.15, against $30.37 if left on for 730 hours. Its 30 GB gp3 volume still costs $2.40 a month while the instance is stopped.

## Pricing models: on-demand, commitments and Spot

- **On-demand**: the rates above, no commitment.
- **Savings Plans and Reserved Instances**: a one- or three-year commitment for a lower hourly rate; see [Savings Plans pricing](https://cloudconsole.dev/aws-pricing/savings-plans-pricing) and [Reserved Instances pricing](https://cloudconsole.dev/aws-pricing/reserved-instances-pricing).
- **Spot**: spare capacity at a fluctuating discount that AWS can reclaim with a two-minute warning; see [Spot instance pricing](https://cloudconsole.dev/aws-pricing/spot-instance-pricing).
- **Dedicated Hosts and Dedicated Instances**: single-tenant hardware, priced separately and mostly relevant for licensing.

## Free tier and what is included

Newer AWS accounts get free-tier credits or hours on small instance types for a limited period; the exact offer depends on when the account was created, so check the Free Tier page for your account rather than assuming 750 free hours. Inbound data transfer is free, and the first 100 GB of data out to the internet each month is free, aggregated across services. Basic CloudWatch metrics at five-minute resolution cost nothing; detailed one-minute monitoring is a paid CloudWatch feature.

## Charges people miss

- **Public IPv4 addresses**, in use or idle, at $0.005 an hour each. See [public IPv4 pricing](https://cloudconsole.dev/aws-pricing/public-ipv4-pricing).
- **Cross-AZ traffic**: instances talking to each other across Availability Zones pay per GB in each direction; see [data transfer pricing](https://cloudconsole.dev/aws-pricing/data-transfer-pricing).
- **NAT gateway processing** for private instances that reach the internet; see [NAT gateway pricing](https://cloudconsole.dev/aws-pricing/nat-gateway-pricing).
- **EBS snapshots** taken by backup tooling, which outlive the instances they came from.
- **Stopped is not terminated**: volumes, Elastic IPs and snapshots keep billing.

## How to see EC2 cost

In Cost Explorer, filter Service = "EC2-Instances" for compute and "EC2-Other" for EBS, snapshots, NAT gateways and data transfer. Group by Usage type: compute shows as `BoxUsage:m7i.large` in us-east-1 (other Regions add a prefix such as `EUW2-`), and gp3 storage as `EBS:VolumeUsage.gp3`.

```
aws ce get-cost-and-usage \
  --time-period Start=2026-10-01,End=2026-11-01 \
  --granularity MONTHLY --metrics UnblendedCost \
  --filter '{"Dimensions":{"Key":"SERVICE","Values":["Amazon Elastic Compute Cloud - Compute"]}}' \
  --group-by Type=DIMENSION,Key=USAGE_TYPE
```

For a walk through the console views, see [how to see your AWS cost breakdown](https://cloudconsole.dev/how-to/see-aws-cost-breakdown).

Cutting it: [BoxUsage line items explained](https://cloudconsole.dev/costs/boxusage) and [what is in EC2-Other](https://cloudconsole.dev/costs/ec2-other-costs).

## Questions

### How much does EC2 cost per hour?

It depends on the instance type: in us-east-1 at the time of writing a t3.micro is $0.0104 per hour and an m7i.large is $0.1008 per hour for Linux on demand. Billing is per second with a 60-second minimum for Linux.

### How much does an EC2 instance cost per month?

Multiply the hourly rate by the hours it runs; AWS uses 730 hours for a full month. An m7i.large running all month is about $73.58 in us-east-1, plus its EBS volume and any public IPv4 address.

### Do I pay for a stopped EC2 instance?

Not for compute. You still pay for attached EBS volumes, snapshots and any Elastic IP addresses while it is stopped.

### Is Graviton cheaper than Intel on EC2?

Usually per hour: an m7g.large is $0.0816 against $0.1008 for an m7i.large in us-east-1 at the time of writing. Whether it is cheaper per request depends on how your workload performs on arm64.

## When this happens away from your desk

An instance left running over a weekend is the classic surprise. CloudConsole is being built to show resources and costs on your phone so you can spot it without opening a laptop.

[About the CloudConsole app](https://cloudconsole.dev/aws-console-app) · [Download on the App Store](https://apps.apple.com/app/cloudconsole-for-aws/id6835419710)

## Sources

- [Amazon EC2 On-Demand pricing](https://aws.amazon.com/ec2/pricing/on-demand/)
- [AWS Cost Explorer user guide](https://docs.aws.amazon.com/cost-management/latest/userguide/ce-what-is.html)

## Related

- [AWS Savings Plans pricing explained](https://cloudconsole.dev/aws-pricing/savings-plans-pricing)
- [Reserved Instances pricing explained](https://cloudconsole.dev/aws-pricing/reserved-instances-pricing)
- [EC2 Spot instance pricing explained](https://cloudconsole.dev/aws-pricing/spot-instance-pricing)
- [What is "EC2 - Other" on my AWS bill?](https://cloudconsole.dev/costs/ec2-other-costs)
- [What is BoxUsage on my AWS bill?](https://cloudconsole.dev/costs/boxusage)
- [Amazon EBS pricing explained](https://cloudconsole.dev/aws-pricing/ebs-pricing)
- [AWS data transfer pricing explained](https://cloudconsole.dev/aws-pricing/data-transfer-pricing)

---

Source: https://cloudconsole.dev/aws-pricing/ec2-pricing

CloudConsole is an independent iPhone and Android app for Amazon Web Services by Cloudconcur Ltd. It is not affiliated with Amazon Web Services.
