This is complicated, there is a lot of ways to save but it can get tricky to calculate and predict your savings. On-Prem is easy cause you just add everything up (Electric, Cooling, Employee Time, Hardware, Software) and you are good.
Any Service normally has 2 or 3 metrics combined.
EXAMPLE:
You want to have a Database and you choose Cosmos DB
You are then charged in the following ways….
Operations + Consumed Storage + Optional Dedicated Gateway + Backup Storage = Price
…
Operations | 400 RU/s = $23.36 |
Consumed Storage | 100GB = $25.00 |
Optional Dedicated Gateway | $277.40 if chosen to use |
Backup Storage | 7 backups = $60.00 |
Price | $385.76 |
And not discussed is bandwidth or other applications to run the DB
SOME SERVICES THAT ARE FREE
- Virtual Network
- Private IP Address
- Azure Migrate
- Inbound Internet Traffic
- 5GB of outbound internet traffic
- Azure Policy
- Azure AD
- 1 million executions Azure Functions
- Azure App Service
Something you could do is run a small blog on Azure for free as long as it stays under a certain threshold
CHARGE BY THE TIME SERVICE
- Virtual Machine usage
- App Services
- Databases
- Load Balancers
- Managed Storage
- Public IP Addresses
Some services are by the minute and some by the hour
CHARGED BY THE GIGABYTE
- Database Storage
- Backups
- Unmanaged disks
- Network traffic (between regions)
- Network traffic (more than the 5GB/month free)
CHARGED BY THE OPERATION
- Unmanaged storage (reads, writes, deletes)
- Databases (queries)
- Messaging
CHARGED BY THE EXECUTION
- Azure Functions (consumption model)
- Serverless Databases
- Messaging Services
- Logic Apps (Consumption Model)
You get 1 million executions free but you go over that you start getting charged.
PRICING CHANGES PER REGION!!