Skip to content

AWS Fargate pricing explained: vCPU, memory, ARM, Spot and the bill around it

How AWS Fargate bills vCPU and memory per second, what ARM, Spot and Savings Plans save, the load balancer, NAT and IPv4 extras, and three worked bills.

Abhishek Jaiswal

7 min

On this page 10 sections

AWS Fargate bills for the vCPU and memory a task or pod reserves, per second, from the moment its image starts downloading until it stops, with a one-minute minimum on Linux. In US East (N. Virginia), Linux on x86 is about $0.0405 per vCPU-hour and $0.0044 per GB-hour, so the smallest task (0.25 vCPU, 0.5 GB) running all month is about $9. ARM (Graviton) is about 20% cheaper.

The rest of the setup bills separately: a load balancer, a NAT gateway or public IP addresses, logs and a registry.

This post walks through each line, from AWS’s published prices for US East (N. Virginia) as of 2026-10-27, and works three monthly bills.

TL;DR

  • Fargate bills reserved vCPU and memory per second. Busy or idle, a running task costs the same.
  • Linux on x86: $0.0404784 per vCPU-hour and $0.004446 per GB-hour. Linux on ARM: $0.03237984 and $0.00356004.
  • A 1 vCPU, 2 GB task running all month is about $36 on x86 and about $29 on ARM.
  • Fargate Spot is up to 70% cheaper for work that can be interrupted. Compute Savings Plans cut the price for a one-year or three-year commitment.
  • An Application Load Balancer adds about $22 a month, and a NAT gateway about $33 per Availability Zone. For a small app, these can cost more than the containers.

How does Fargate pricing work?

You define a task (on ECS) or a pod (on EKS) with a vCPU and memory size. Fargate bills those two numbers for every second the task runs:

Line Linux on x86 Linux on ARM
vCPU $0.0404784 per vCPU-hour $0.03237984 per vCPU-hour
Memory $0.004446 per GB-hour $0.00356004 per GB-hour
Ephemeral storage above 20 GB $0.00011088 per GB-hour $0.00011088 per GB-hour

AWS publishes these as per-second rates. Hourly figures are the per-second rate times 3,600. Each task gets 20 GB of ephemeral storage at no charge.

Windows containers cost more: about $0.0915 per vCPU-hour, an extra $0.046 per vCPU-hour for the Windows license, and $0.01 per GB-hour, with a five-minute minimum.

Billing runs from when Fargate starts pulling the image until the task stops, rounded up to the second. The CPU and memory you choose are billed whether the app uses them or not.

What do Fargate task sizes cost a month?

Running all month (730 hours) in US East (N. Virginia):

Task size x86 a month ARM a month
0.25 vCPU, 0.5 GB $9.01 $7.21
0.5 vCPU, 1 GB $18.02 $14.42
1 vCPU, 2 GB $36.04 $28.83
2 vCPU, 4 GB $72.08 $57.67
4 vCPU, 8 GB $144.16 $115.34

Each vCPU size allows a range of memory, so you can pair 1 vCPU with anything from 2 GB to 8 GB. Memory is the cheaper of the two lines, about $3.25 per GB a month on x86 against about $29.55 per vCPU.

How do ARM, Spot and Savings Plans lower the price?

ARM (Graviton)

ARM tasks cost about 20% less than x86 for the same size. Most interpreted languages (Node, Python, Ruby) and Go run on ARM without changes. You need an image built for linux/arm64, which docker buildx produces alongside the x86 one.

Fargate Spot

Fargate Spot runs tasks on spare AWS capacity for up to 70% less than the regular price. AWS can stop a Spot task with a two-minute warning when it needs the capacity back. It suits queue workers, batch jobs and extra copies of a stateless service behind a load balancer, with regular tasks as the base. Fargate Spot is available on ECS, not EKS.

Compute Savings Plans

A Compute Savings Plan commits you to a dollar amount of compute per hour for one or three years, and in return Fargate (along with EC2 and Lambda) bills at a lower rate. It fits a baseline you are sure of for that long.

What else is on a Fargate bill?

The containers are one line. A service reachable from the internet needs more around it:

Line US East (N. Virginia) About a month
Application Load Balancer $0.0225 per hour plus $0.008 per LCU-hour $22 with one LCU
NAT gateway, for tasks in private subnets $0.045 per hour per Availability Zone plus $0.045 per GB processed $33 per zone, plus data
Public IPv4 address, for tasks in public subnets $0.005 per hour per address $3.65 per task
Data transfer to the internet Free for the first 100 GB a month across the account, then from $0.09 per GB Depends on traffic
CloudWatch Logs, ECR storage, Secrets Manager Per GB ingested, stored or per secret Small for most apps

The load balancer and NAT gateway are fixed costs that do not shrink with your app. A NAT gateway in each of two zones, as most templates create, is about $66 a month before any data. Our NAT gateway cost guide covers ways to reduce it.

What do real Fargate bills look like?

All three are in US East (N. Virginia) and assume tasks run all month unless stated.

A small API

One 0.5 vCPU, 1 GB task on x86 in a public subnet with a public IP, behind an Application Load Balancer.

Line Monthly
Fargate task $18.02
Application Load Balancer (with one LCU) $22.27
Public IPv4 address $3.65
Total $43.94

The load balancer costs more than the container. Logs, the registry and a database are extra.

A production service

Two 1 vCPU, 2 GB tasks on ARM in private subnets across two Availability Zones, an Application Load Balancer averaging two LCUs, and NAT gateways in both zones processing 50 GB.

Line Monthly
Fargate tasks (2 x $28.83) $57.66
Application Load Balancer (with two LCUs) $28.11
NAT gateways (2 x $32.85) $65.70
NAT data processing (50 GB at $0.045) $2.25
Total $153.72

The NAT gateways are the biggest line. VPC endpoints for ECR, S3 and CloudWatch Logs cut the data they process, though endpoints bill by the hour too.

A nightly job

One 2 vCPU, 4 GB task on x86 that runs for an hour every night, launched by an EventBridge schedule.

Line Monthly
Fargate task (30 hours at $0.0987 an hour) $2.96
Total $2.96

Nothing bills between runs, so short scheduled work like this costs very little on Fargate’s per-second billing.

Fargate vs EC2: which is cheaper?

Per vCPU and GB, an EC2 instance running all the time costs less than Fargate, and Savings Plans or Reserved Instances widen the gap. Fargate costs less in time: there are no instances to patch, size or replace, and no spare capacity to pay for between deploys.

Fargate tends to win for a few services with uneven load and a small team. EC2 (or EKS on EC2) tends to win for many services at steady load, where you can pack containers tightly onto instances and someone owns the cluster.

What does the same app cost on a developer platform?

Ownkube runs containers built from your GitHub or GitLab repository, with a *.ownkube.app hostname and TLS included, so there is no load balancer, NAT gateway or public IP to pay for. Metered services bill CPU and memory on actual usage, per minute, at about $18 per vCPU and $6 per GiB a month.

Setup Fargate (US East) Ownkube metered
0.5 vCPU, 1 GB API with a public URL $43.94 at most $13.50
Two 1 vCPU, 2 GB copies with a public URL $153.72 at most $54

The Ownkube figures assume the app uses its full CPU and memory limits all month, so they are the ceiling. An app that idles bills much less on CPU. A service can also opt into a flat reserved box, from $5 a month.

When to stay on Fargate

Stay on Fargate if:

  • The rest of your system lives in AWS and the containers need to reach it inside a VPC.
  • You need a region Ownkube does not run in. Ownkube Compute runs in Germany and Mumbai.
  • You use Spot and Savings Plans heavily.
  • Your team already runs ECS with infrastructure as code.

FAQ

How much does AWS Fargate cost a month?

In US East (N. Virginia), the smallest Linux task (0.25 vCPU, 0.5 GB) is about $9 a month on x86 and about $7 on ARM. A 1 vCPU, 2 GB task is about $36 on x86. A load balancer, NAT gateway or public IP address, logs and data transfer are extra.

Does Fargate bill when the container is idle?

Yes. Fargate bills the vCPU and memory you reserve for as long as the task runs, whatever the load. To stop billing, stop the task or scale the service to zero tasks.

Is Fargate cheaper than EC2?

Per unit of CPU and memory, no. EC2 is cheaper for steady workloads you can pack onto instances. Fargate saves the time spent running those instances, and it saves money for bursty or scheduled work.

Does Fargate have a free tier?

No. Fargate has no always-free allowance. New AWS accounts may have promotional credits that apply to it.

What is the minimum charge for a Fargate task?

One minute on Linux and five minutes on Windows. After the minimum, billing is per second.

Where Ownkube fits

If you want containers without the VPC, load balancer and NAT gateway around them, Ownkube builds your repo into a container, gives it a public URL with TLS, runs managed Postgres and a cache beside it, and bills per minute from a prepaid wallet. Read container as a service explained for how the options compare. Deploy my first app.

Abhishek Jaiswal · Founder and Engineer

Abhishek Jaiswal is the founder and engineer behind Ownkube, a cloud for personal software. He builds the platform and writes here about cloud cost, migrations, and running production infrastructure in your own AWS account without a DevOps team.

Share

Deploy your first app in five minutes.

Push a repo and get a live URL, with no cloud account or config.

$5 of signup credit.