Illia Khomenko

Writing

Notes on where .NET money leaks on AWS, each one written up from a line I found on a real bill.

Moving a .NET application from SQL Server to PostgreSQL on RDS

The same 4-vCPU Multi-AZ database costs $1,349 a month on SQL Server Standard, $2,094 on Enterprise and $698 on PostgreSQL. Most of the migration work for a .NET codebase is in the T-SQL outside the ORM.

Finding Microsoft licences in the Cost and Usage Report

Windows and SQL Server licences are spread across EC2, RDS and Fargate lines in the Cost and Usage Report. These are the operation codes and usage types that identify them, with queries you can run in Athena.

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.

SQL Server Developer Edition on RDS: stop licensing dev and test

RDS runs SQL Server Developer Edition with no SQL Server licence fee. A 4-vCPU test database on Standard pays $350 a month for a licence it doesn't need, and on Enterprise $1,095.

Optimize CPU on RDS for SQL Server: licence fewer vCPUs, keep the memory

On RDS, SQL Server and Windows are licensed per active vCPU. Optimize CPU lets you turn vCPUs off and keep the instance's memory. Halving a 16-vCPU Enterprise database saves $29,504 a year.

Can .NET Framework run on Linux on AWS? No. How to cut the bill until you port

No. .NET Framework 4.x runs only on Windows, and Windows costs $0.046 per vCPU-hour on EC2. Porting to modern .NET is the long-term answer. Optimize CPUs, rightsizing, schedules and container density reduce the bill this quarter.

RDS SQL Server Reserved Instances vs Database Savings Plans: what each one covers

A reserved DB instance for SQL Server applies only to the exact size, edition and deployment you bought. A Database Savings Plan survives a resize or an engine change, but for SQL Server it discounts the instance price only, not the licences.

SQL Server on EC2 vs RDS: cost and licensing compared

AWS charges the same per-vCPU licence rates for SQL Server on EC2 and on RDS. What differs is the instance rate, how the standby node is licensed, and who runs the database: a 4-vCPU Standard node is $678 a month on EC2 and $850 on RDS.

SQL Server Standard vs Enterprise on RDS: what the extra $0.255 buys

On RDS, Enterprise costs $0.375 per vCPU-hour and Standard costs $0.12. The difference is $2,234 a year for every vCPU. Here is what it pays for, and how to tell whether your database uses any of it.

Windows vs Linux on EC2: what the Windows licence adds per vCPU

Windows Server on EC2 costs $0.046 per vCPU-hour on top of the Linux rate, about $403 a year for every vCPU. It nearly doubles the price of a general-purpose instance, and no Savings Plan discounts it.

.NET on Graviton (ARM64): how much cheaper it is and whether your app runs

Modern .NET on Linux runs on Graviton after a recompile: publish for linux-arm64 and build a multi-arch image. An m7g.xlarge costs 19% less than an m7i.xlarge before any performance gain. .NET Framework can't make the move.

Why is RDS for SQL Server so expensive? The licence line on your bill explained

On current RDS instances the SQL Server licence has its own line on the bill. On a 4-vCPU Multi-AZ Standard database it is $619 of $1,349 a month, almost as much as the instance, and it's usually the line nobody has opened.

Rightsizing theatre: why your Savings Plan made things worse

Commitments bought before the shape is fixed lock in the wrong edition, the wrong OS and the wrong size. On RDS for SQL Server there's no size flexibility to get you out.