Illia Khomenko
Writing

Fargate pricing for .NET: Windows, Linux and ARM compared

The same 1 vCPU, 2 GB .NET task costs $75 a month on Fargate for Windows, $36 on Linux x86 and $29 on Linux ARM. More than half of the Windows price is the OS licence and the higher Windows rates.

Fargate has three price lists that matter to a .NET team, and the one a task lands on is decided by the base image.

These are the on-demand rates in us-east-1.

Per vCPU-hourPer GB-hourOS licence per vCPU-hour
Windows$0.046552$0.0051118$0.046
Linux x86$0.04048$0.004445none
Linux ARM$0.03238$0.00356none

Windows is more expensive on every line. The vCPU and memory rates are 15% higher than Linux x86, and then the OS licence fee is added per vCPU. It's the same $0.046 that EC2 charges for Windows Server.

What a task costs

For a task that runs all month:

Task sizeWindowsLinux x86Linux ARM
1 vCPU, 2 GB$75.03$36.04$28.84
2 vCPU, 4 GB$150.05$72.08$57.67
4 vCPU, 8 GB$300.10$144.16$115.34

A service with twenty 1 vCPU tasks costs $1,501 a month on Windows, $721 on Linux x86 and $577 on ARM. The move from Windows to Linux saves 52%. Going on to ARM takes the total saving to 62%.

On Windows, $33.58 of each vCPU's monthly cost is the licence fee. For the twenty-task service that's $672 a month.

Which list your service is on

A .NET Framework application needs a Windows base image, so it's on the first list and stays there until it's ported.

A modern .NET service can use any of the three. If its Dockerfile starts from a Windows Server Core or Nano Server image, it's paying Windows rates by choice. Changing the base image to the Linux ASP.NET runtime image moves it to the second list. That's often a small change. The things to check are file paths, anything that calls Windows APIs, and native libraries.

Moving to ARM

Fargate ARM runs on Graviton. For a modern .NET service the steps are:

  1. Build the image for linux/arm64. With docker buildx you can publish one tag that contains both architectures.
  2. In the task definition, set runtimePlatform.cpuArchitecture to ARM64.
  3. Deploy to one service and compare latency and CPU for a week.

Native dependencies are what can stop you. A NuGet package that ships a native binary needs an ARM64 build of it. I went through the usual ones in .NET on Graviton.

Finding it on the bill

In the Cost and Usage Report each list has its own usage types. Windows tasks appear as Fargate-Windows-vCPU-Hours, Fargate-Windows-GB-Hours and Fargate-Windows-OS-Hours. ARM tasks appear as Fargate-ARM-vCPU-Hours and Fargate-ARM-GB-Hours. Linux x86 has no marker: Fargate-vCPU-Hours and Fargate-GB-Hours.

Group ECS cost by usage type and you can see how much of your Fargate spend is on each list. The Fargate-Windows-OS-Hours line is the licence on its own.

Savings Plans

A Compute Savings Plan covers Fargate and follows a task from Windows to Linux to ARM, so committing doesn't lock you to a platform. It's still better to move first. A commitment sized to twenty Windows tasks is more than twice what the same service needs on ARM.

Prices above are AWS list prices for us-east-1, on demand, November 2026.

If you run .NET on Fargate and haven't checked which of the three lists each service is on, that's where an audit starts.

Short answers

How much more does Fargate cost on Windows than on Linux?

About twice as much. In us-east-1 a Windows task pays $0.046552 per vCPU-hour plus a $0.046 OS licence fee, and $0.0051 per GB-hour. Linux x86 pays $0.04048 per vCPU-hour and $0.004445 per GB-hour. A 1 vCPU, 2 GB task is $75.03 a month on Windows and $36.04 on Linux.

Is Fargate on ARM cheaper?

Yes. Linux ARM tasks pay $0.03238 per vCPU-hour and $0.00356 per GB-hour, 20% less than Linux x86. The same 1 vCPU, 2 GB task is $28.84 a month.

Can .NET run on Fargate ARM?

Modern .NET can. Build the image for linux/arm64 and set the task definition's CPU architecture to ARM64. .NET Framework cannot, because it needs Windows.