Illia Khomenko
Writing

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.

On licence-included EC2 instances AWS charges $0.166 per vCPU-hour for Windows with SQL Server Standard and $0.421 with Enterprise. Take off the $0.046 for Windows and you get $0.12 and $0.375. Those are the same rates RDS bills on its current instance classes.

One node

Here is an r7i.xlarge, 4 vCPU and 32 GiB, with SQL Server Standard, in us-east-1.

EC2RDS Single-AZ
Instance, per hour$0.2646$0.50
SQL Server Standard, 4 vCPU$0.48$0.48
Windows, 4 vCPU$0.184$0.184
Per month$677.88$849.72

The $172 a month is the price of the managed service: backups, patching, monitoring and failover. On Enterprise the gap is the same $172, on a much larger total.

Two nodes

For years the argument for RDS was the standby. RDS Multi-AZ bills the SQL Server licence once and Windows twice. On EC2 you paid full licence-included rates on both nodes.

That changed in November 2025. EC2 High Availability for SQL Server detects which node is passive and stops charging the SQL Server licence on it. The passive node pays for compute and Windows.

Two r7i.xlarge nodes, StandardPer month
EC2, both nodes fully licensed$1,355.76
EC2 with High Availability for SQL Server$1,005.36
RDS Multi-AZ$1,349.04

The feature needs Systems Manager on both instances and an IAM role, and it applies to licence-included Standard and Enterprise, SQL Server 2017 or later on Windows Server 2019 or later. It doesn't work with Reserved Instances, so cover those nodes with a Savings Plan. If you run an availability group on EC2 and haven't enabled it, you're paying $350 a month per 4-vCPU pair for a licence AWS no longer asks for.

With it enabled, EC2 is $344 a month cheaper than RDS Multi-AZ for this pair. Storage isn't in these numbers, and on EC2 a failover cluster also needs shared storage, which is a cost RDS doesn't show you separately.

What decides it

EC2 gives you the whole server. You can use any instance family, install Developer Edition on non-production, run features RDS doesn't expose, and bring licences under License Mobility. You also own patching, backups, failover testing and the 3 a.m. page.

RDS has closed some of the old gaps. It supports Developer Edition, Bring Your Own Media for licences with Software Assurance, and Optimize CPU to cut the vCPUs you're licensed for.

So I'd decide on operations and treat the licence as equal. If nobody on the team wants to run Windows clusters, $172 a month per node is cheap. If you already have DBAs and a hundred instances, it adds up to a salary.

In both cases the bigger numbers are elsewhere: the edition, the number of licensed vCPUs, and whether the database needs to be SQL Server at all.

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

If you run SQL Server on both and can't say which instances are paying for a licence they don't need, that's where an audit starts.

Short answers

Is SQL Server cheaper on EC2 than on RDS?

The licence is the same: $0.12 per vCPU-hour for Standard and $0.375 for Enterprise, plus $0.046 for Windows. The instance is cheaper on EC2. A single 4-vCPU r7i.xlarge with Standard is $678 a month on EC2 and $850 on RDS, a difference of $172, before storage.

Do I pay for a SQL Server licence on the standby node?

On RDS Multi-AZ the SQL Server licence is billed once and Windows on both nodes. On EC2, the High Availability for SQL Server feature, launched in November 2025, does the same for licence-included instances: the passive node pays for compute and Windows only.

Can I bring my own SQL Server licences to AWS?

Yes, with active Software Assurance. On EC2 that is License Mobility on shared tenancy. On RDS it is Bring Your Own Media, where you supply the installation media and AWS charges for the instance and Windows only.

Should I run SQL Server on RDS or EC2?

Decide on operations and treat the licence as equal. RDS costs about $172 a month more per 4-vCPU node and takes backups, patching and failover off your team. EC2 gives you the whole server and, with High Availability for SQL Server enabled, a cheaper two-node cluster.