Pricing Models Compared
What makes up a database bill on each cloud, commitment discounts, licensing rules, data transfer, and how to compare prices fairly.
What makes up a database bill
All three clouds charge for databases in much the same way: compute by the hour or second, storage by the gigabyte per month, and extras such as licenses, backups, standbys, and data transfer. The differences are in the discounts, the licensing rules, and the small print, and those can change the total more than the headline price.
- Compute
- Usually the biggest part: the CPU and memory, charged per second or hour while the database runs. On all three clouds, a standby that doubles your compute doubles this part too.
- License
- For Oracle and SQL Server, either included in the hourly price or brought from licenses the company owns. Open source engines have no license cost.
- Storage and I/O
- Storage is charged per gigabyte per month. Some services also charge for performance (provisioned IOPS) or for each I/O request, such as Aurora Standard.
- Backups
- Each provider includes some backup storage, often up to the size of the database, and charges for the rest, such as long retention periods or extra copies in another region.
- Data transfer
- Data coming in is free on all three. Data going out, called egress, to the internet or to another region, is charged after a free allowance.
Pay-as-you-go and commitment discounts
All three start with pay-as-you-go: no commitment, billed for what runs. For steady production databases, each offers a discount in return for a commitment, but the commitments work differently:
| AWS | Azure | OCI | |
|---|---|---|---|
| Database discount | Reserved Instances for RDS, Aurora, and ElastiCache, and reserved capacity for DynamoDB | Reservations for Azure SQL, PostgreSQL and MySQL Flexible Server, and Cosmos DB | Annual commitment (Universal Credits): commit to a yearly spend, and get a discount on everything |
| Term | 1 or 3 years, paid upfront, partly upfront, or monthly | 1 or 3 years, paid upfront or monthly | Usually 1 year or more, as agreed with Oracle |
| What it's tied to | An engine, region, and instance family; some can change size within the family | A service, region, and tier, with some flexibility in size | Not tied to a resource: credits can be spent on any OCI service |
| Other discounts | Savings Plans for compute such as EC2, which suit self-managed databases on VMs | Azure savings plan for compute, for databases on VMs | BYOL pricing and Oracle Support Rewards |
The trade-off is flexibility. A reservation for a specific database on AWS or Azure saves the most when that database stays the same for the whole term. OCI's commitment is to a total spend rather than a resource, so it's easier to change plans, but it needs a good estimate of the year's spending.
Licensing compared
For commercial engines, licensing rules often decide which cloud is cheapest:
| Engine | AWS | Azure | OCI |
|---|---|---|---|
| Oracle Database | RDS: License Included for Standard Edition 2 only, or BYOL. Under Oracle's cloud policy, two vCPUs count as one processor license. | Oracle Database@Azure: License Included or BYOL. On Azure VMs: BYOL, with two vCPUs counted as one processor license. | License Included for every edition, or BYOL, where one processor license covers two OCPUs. Higher editions include extra-cost options. |
| SQL Server | RDS: License Included. Bringing your own license is limited, mostly to EC2 Dedicated Hosts. | License Included, or the Azure Hybrid Benefit, which reuses licenses with Software Assurance on Azure SQL and VMs. | No managed service; run on Compute with an included or your own license. |
| PostgreSQL, MySQL, MariaDB | No license cost on any cloud. | ||
In short, Oracle workloads usually cost least to license on OCI, or through Oracle Database@ in another cloud, and SQL Server usually costs least on Azure with the Azure Hybrid Benefit. Always check the company's actual contracts with its licensing team: they can include terms that change the picture.
Data transfer
| AWS | Azure | OCI | |
|---|---|---|---|
| Data in | Free | Free | Free |
| Free data out to the internet each month | 100 GB | 100 GB | 10 TB |
| Between regions | Charged | Charged | Charged |
Egress rarely matters for a database that only talks to applications in the same region. It matters a lot when reports, exports, or replication send large amounts of data out to users, other clouds, or on-premises systems. Cross-region disaster recovery copies also add transfer charges every month on all three clouds.
Other differences that affect the bill
- Prices by region
- AWS and Azure prices vary from region to region, sometimes by a lot. OCI charges the same price in every commercial region.
- Support
- AWS and Azure sell support plans, with business-level plans priced as a share of the monthly bill. OCI includes support with its cloud services.
- Free tiers
- All three give new accounts free credits or free usage for a limited time, and some services are free forever within limits, such as OCI's Always Free Autonomous Databases and Azure SQL Database's free offer.
- Pricing tools
- Each has a calculator for estimates before you build: the AWS Pricing Calculator, the Azure pricing calculator, and the OCI Cost Estimator.
Comparing prices fairly
Comparisons between clouds are easy to get wrong. To compare like with like:
- Match the processing power. One OCI OCPU equals two vCPUs, so compare 4 OCPUs with 8 vCPUs.
- Match the availability. Include the standby or replicas on every cloud, since some include high availability in the price and others charge for it separately.
- Include the license, using the license model you'd really use: included, BYOL, or Azure Hybrid Benefit.
- Include storage, I/O, backups, and data transfer, based on the database's real size and traffic.
- Include support, and the commitment discount you'd realistically sign up for.
- Use each provider's calculator, and keep the estimate's date: prices change often, so never rely on numbers from memory or an old article.
In practice: a fair comparison
Kofi's manager asks: "Would our main Oracle database be cheaper on AWS or OCI?" The database runs Enterprise Edition on 8 physical cores, with a standby. Kofi builds the comparison carefully:
- Compute: 8 OCPUs on OCI, compared with 16 vCPUs on AWS, the same number of physical cores.
- Licenses: the company owns Oracle licenses, so Kofi counts them under each cloud's rules, and checks the contract with the licensing team.
- Availability: a Data Guard standby on OCI against a Multi-AZ deployment on AWS, both included.
- Data transfer: a 2 TB nightly export to the on-premises data warehouse falls within OCI's free allowance, but is mostly charged on AWS.
- Support and commitments: AWS business support is extra; both clouds offer discounts for a one-year commitment.
Kofi presents both totals with every assumption written down and the date of the prices, so the decision is made on a like-for-like comparison, not on headline hourly rates.
Key takeaways
- A database bill is compute, license, storage, I/O, backups, standbys, and data transfer on every cloud.
- All three offer pay-as-you-go and commitment discounts: Reserved Instances on AWS, reservations on Azure, and spend-based annual commitments on OCI.
- Licensing often decides the cheapest cloud: Oracle usually costs least on OCI or Oracle Database@, and SQL Server on Azure with the Azure Hybrid Benefit.
- OCI includes far more free egress, the same prices in every region, and support in the price.
- Compare fairly: match cores, availability, license, storage, backups, transfer, and support, and use current prices from each calculator.