
In this Azure tutorial, we will discuss Azure Function Pricing. Along with this, we will also discuss a few other topics as below
- Azure Pricing
- Azure Storage Pricing
- Azure Blob Storage Pricing
- Azure Bot Services Pricing
- Azure Monitor pricing
- Azure Data Lake Storage pricing
- Azure Managed Disks pricing
- Azure Files Pricing
- Azure App Service Pricing
- Azure Cloud Services pricing
- Azure Function Timeout
- Azure Cosmos DB Pricing
- Azure Functions
Table of Contents
- Azure Function Pricing
- Azure Pricing
- Azure Bot Services Pricing
- Azure Machine Learning pricing
- Azure Monitor pricing
- Azure VM Pricing
- Azure Storage Pricing
- Azure Data Lake Storage pricing
- Azure Managed Disks pricing
- Azure Files Pricing
- Azure App Service Pricing
- Azure Cloud Services pricing
- Azure Function Timeout
- Azure Cosmos DB Pricing
- Azure Functions
- Wrapping Up
Azure Function Pricing
The Azure Functions Pricing model is basically based on three plans as below. You can choose the plan for the Azure functions costs based on your requirement
- Consumption plan
- Premium plan
- App Service plan
Consumption plan:
As per the Consumption plan, Azure provides you with all the computing resources that are needed for the activity. You need not worry about the compute resources. You just need to pay for the time your code is running. Azure functions are billed based on the resource consumption that is measured by GB seconds.
Functions that are running on a Consumption Plan have a timeout of five minutes by default.
How this will be calculated exactly is they will multiply the average memory size in GB by the execution time that takes to execute the function in milliseconds. The memory used by the function is calculated from 128 MB to the max 1,536 MB.
The minimum execution time is 100 ms and the minimum memory for a single function execution is 128 MB. Functions pricing that includes a monthly free grant of 4,00,000 GB seconds.
Premium plan:
As per the Premium plan, Azure will provide you if any of the additional computing resources needed for the activity. You need to pay for the resources running continuously that are initially defined by you and also any additional instances you need to use as Azure scales your application in and out operations.
App Service plan:
As per the App Service plan, If you using your App Service for your other applications, your Azure functions can run on the same App Service plan at no extra cost.
It is unlimited for this plan. No default time out for this particular plan. Your Function may run for as long as it needs to.
As part of this plan, we need to provision a dedicated Virtual Machine meaning you need to pay for those resources even if you are not using them completely.
If you will go a little in-depth
Meter | Pricing Details | FREE GRANT (PER MONTH) |
Execution Time | You need to pay ₹0.001058/GB-s | 4,00,000 GB-s |
Total Executions | You will have to pay ₹13.220 / million executions | 1 million executions |
As per the Premium Plan
Meter | Pricing Details |
vCPU duration | vCPU: You need to pay ₹11.434652 vCPU/hour |
Memory duration | Memory: You will have to pay ₹0.812984 GB/hour |
For more information on the Azure Functions billing details, you can refer to the Microsoft Official site.
Azure Pricing
We will discuss here about the Azure Pricing. In this context, we will discuss about each Azure key services pricing details. Let’s discuss each Azure service pricing one by one.
Azure Bot Services Pricing
Below is the Azure Bot Services Pricing Details
Different Channels | Free | S1 |
Standard channels | You will get unlimited messages | You will get unlimited messages |
Premium channels | You will get 10,000 messages/month | You will have to pay $0.50 per 1,000 messages |
Check out more details on Azure Bot Services Pricing now.
Azure Machine Learning pricing
Azure Machine Learning pricing is based on the Bs-series, Av2 Standard, D2-64 v3, D2s-64s v3, D1-5 v2, D1s-5s v2, Fsv2-series, F-series, E2-64 v3, E2s-64s v3, D11-15 v2, D11S-15S v2, G-series, M-series, etc.
Instance Details | vCPU(s) | RAM Size | Price of Linux VM | Total Price(Pay As You Go) | One Year Reserved Total Price | Three Year Reserved Total Price |
For B2S | 2 | 4 GiB | You need to pay $0.042 per hour | You will have to pay $0.042 per hour | You need to pay $0.025/hour per hour | You need to pay $0.016 per hour |
For B2MS | 2 | 8 GiB | You need to pay $0.084 per hour | You will have to pay $0.084 per hour | You need to pay $0.049 per hour | You need to pay $0.032 per hour |
For B4MS | 4 | 16 GiB | You need to pay $0.166 per hour | You will have to pay $0.166 per hour | You need to pay $0.098 per hour | You need to pay $0.063 per hour |
For B8MS | 8 | 32 GiB | You need to pay $0.333 per hour | You will have to pay $0.333 per hour | You need to pay $0.195 per hour | You need to pay $0.126 per hour |
For B12MS | 12 | 48 GiB | You need to pay $0.499 per hour | You will have to pay $0.499 per hour | You need to pay $0.293 per hour | You need to pay $0.188 per hour |
For B16MS | 16 | 64 GiB | You need to pay $0.666 per hour | You will have to pay $0.666 per hour | You need to pay $0.390 per hour | You need to pay $0.251 per hour |
For B20MS | 20 | 80 GiB | You need to pay $0.832 per hour | You will have to pay $0.832 per hour | You need to pay $0.487 per hour | You need to pay $0.314 per hour |
For more details, you can check the Azure Machine Learning pricing now.
Azure Monitor pricing
Well, let’s discuss about the Azure Monitor pricing details.
Capacity Reservations
The below price is based on the capacity reservations where it’s based on selected capacity reservations for ingesting data.
Capacity1 | Price |
For 100 GB per day | You need to pay $219.52 per day |
For 200 GB per day | You need to pay $412.16 per day |
For 300 GB per day | You need to pay $604.80 per day |
For 400 GB per day | You need to pay $788.48 per day |
For 500 GB per day | You need to pay $968.80 per day |
For more than 500 GB per day | You need to pay $968.80 per day and $193.76 per day for every 100 increments. |
For more information, you need to check out Azure Monitor pricing now.
Azure VM Pricing
Here we will discuss Azure VM Pricing. As part of Azure VM Pricing, we will discuss Windows Virtual Machines Pricing and Linux Virtual Machines Pricing.
Windows Virtual Machines Pricing
Let’s discuss the Windows Virtual Machines Pricing details.
Details | Specs | Pricing Details |
General purpose—Av2 | A1 v2 1 vCPU(s) 2 GiB RAM | You need to pay $0.005 per hour |
Compute optimised—Fsv2 | F2s v2 2 vCPU(s) 4 GiB RAM | You need to pay $0.011 per hour |
General purpose—Dv3 | D2 v3 2 vCPU(s) 8 GiB RAM | You need to pay $0.013 per hour |
Memory optimised—Ev3 | E2 v3 2 vCPU(s) 16 GiB RAM | You need to pay $0.016 per hour |
For more details, you can check out the Windows Virtual Machines Pricing now.
Linux Virtual Machines Pricing
Let’s discuss the Linux Virtual Machines Pricing details.
Details | Specs | Pricing Details (Spot) |
General purpose—Av2 | A1 v2 1 vCPU(s) 2 GiB RAM | You need to pay $0.005 per hour |
Compute optimised—Fsv2 | F2s v2 2 vCPU(s) 4 GiB RAM | You need to pay $0.0103 per hour |
General purpose—Dv3 | D2 v3 2 vCPU(s) 8 GiB RAM | You need to pay $0.0124 per hour |
Memory optimised—Ev3 | E2 v3 2 vCPU(s) 16 GiB RAM | You need to pay $0.0151 per hour |
Check out the Linux Virtual Machines Pricing for more details now.
Azure Storage Pricing
Azure Storage Pricing depends on multiple storage options like Block Blobs, Azure Data Lake Storage, Managed Disks, Files, etc. we will discuss all these storage options pricing one by one.
Azure Blob Storage Pricing
Well, let’s discuss about the Azure Blob Storage Pricing.
The pricing of the block blob storage depends on multiple factors like the selected Data redundancy option, volume of data stored, the operation type and the quantity, etc. The Redundancy options are LRS, ZRS, GRS, RA GRS, GZRS, RAGZRS, etc.
Prices for the Data Storage
Details | Premium | Hot | Cool | Archive |
For the First 50 terabytes (TB) / month | You need to pay $0.15/GB | You will have to pay $0.0208/GB | You need to pay $0.0152/GB | You will have to pay $0.00099/GB |
For the Next 450 TB / month | You will have to pay $0.15/GB | You need to pay $0.0200/GB | You need to pay $0.0152/GB | You need to pay $0.00099/GB |
For the Next Over 500 TB / month | You need to pay $0.15/GB | You need to pay $0.0192/GB | You need to pay $0.0152/GB | You need to pay $0.00099/GB |
For more information, you can check out the Azure Block blob pricing now.
Azure Data Lake Storage pricing
You need to pay for the Azure Data Lake Storage Pricing based on few factors like Redundancy options, File Structure, etc.
Details | Premium | Hot | Cool | Archive |
For the First 50 terabyte (TB) / month | You need to pay $0.15/GB | You will have to pay $0.0208/ GB | You need to pay $0.0152/GB | You will have to pay $0.00099/GB |
For the Next 450 TB / month | You need to pay $0.15/GB | You will have to pay $0.02/GB | You need to pay $0.0152/GB | You need to pay $0.00099/GB |
For Over 500 TB / month | You need to pay $0.15/GB | You need to pay $0.0191/GB | You need to pay $0.0152/GB | You need to pay $0.00099/GB |
For more information, you can check out the Azure Data Lake Storage pricing now.
Azure Managed Disks pricing
Microsoft offers different types of managed disks and those are Ultra Disk, Premium SSD Managed Disks, Standard SSD Managed Disks, Standard HDD Managed Disks. Microsoft uses to charge you on an hourly basis for Azure managed disks. Basically, we use the Azure managed disks along with the Virtual machine.
Details | Disk Size GiB/TiB | Price/month | 1-Year Reserved Price/Month | IOPS/disk | Throughput/disk | Price per mount/month (Shared Disk) |
P1 | The Disk Size will be 4 GiB | You need to pay $0.60 per month | You can get Up to 3,500 Provisioned 120 | You can get 170 MB/second Provisioned 25 MB/second | ||
P2 | The Disk Size will be 8 GiB | You need to pay $1.20 per month | You can get Up to 3,500 Provisioned 120 | You can get 170 MB/second Provisioned 25 MB/second | ||
P3 | The Disk Size will be 16 GiB | You need to pay $2.40 per month | You can get Up to 3,500 Provisioned 120 | You can get 170 MB/second Provisioned 25 MB/second | ||
P4 | The Disk Size will be 32 GiB | You need to pay $2.40 per month | You can get Up to 3,500 Provisioned 120 | You can get 170 MB/second Provisioned 25 MB/second | ||
P6 | The Disk Size will be 64 GiB | You need to pay $2.40 per month | You can get Up to 3,500 Provisioned 240 | You can get 170 MB/second Provisioned 50 MB/second | ||
P10 | The Disk Size will be 128 GiB | You need to pay $19.71 per month | You can get Up to 3,500 Provisioned 500 | You can get 170 MB/second Provisioned 100 MB/second | ||
P15 | The Disk Size will be 256 GiB | You need to pay $38.02 per month | You can get Up to 3,500 Provisioned 1,100 | You can get 170 MB/second Provisioned 125MB/second | You need to pay $1.83 per month | |
P20 | The Disk Size will be 512 GiB | You need to pay $73.22 per month | You can get Up to 3,500 Provisioned 2,300 | You can get 170 MB/second Provisioned 150 MB/second | You need to pay $3.29 per month | |
P30 | The Disk Size will be 1 TiB | You need to pay $135.17 per month | You need to pay $128.4167 per month | Provisioned 5,000 | Provisioned 200 MB/second | You need to pay $6.57 per month |
P40 | The Disk Size will be 2 TiB | You need to pay $259.05 per month | You need to pay $246.0834 per month | Provisioned 7,500 | Provisioned 250 MB/second | You need to pay $13.14 per month |
P50 | The Disk Size will be 4 TiB | You need to pay $495.57 per month | You need to pay $470.8334 per month | Provisioned 7,500 | Provisioned 250 MB/second | You need to pay $25.55 per month |
P60 | The Disk Size will be 8 TiB | You need to pay $946.08 per month | You need to pay $898.75 per month | Provisioned 16,000 | Provisioned 500 MB/second | You need to pay $51.10 per month |
P70 | The Disk Size will be 16 TiB | You need to pay $1,802.06 per month | You need to pay $1,712 per month | Provisioned 18,000 | Provisioned 750 MB/second | You need to pay $109.50 per month |
P80 | The Disk Size will be 32 TiB | You need to pay $3,604.11 per month | You need to pay $3,423.9167 per month | Provisioned 20,000 | Provisioned 900 MB/second | You need to pay $219 per month |
For more information, you can check out Azure Managed Disks pricing now.
Azure Files Pricing
Well, let’s discuss on the pricing structure of the Azure Files.
Details | Premium | Transaction Optimized | Hot | Cool |
For Data at-rest (GiB/month) | You need to pay $0.16 per provisioned GiB | You need to pay $0.06 per used GiB | You need to pay $0.0287 per used GiB | You need to pay $0.0228 per used GiB |
For Snapshots (GiB/month) | You need to pay $0.136 per used GiB | You will have to pay $0.06 per used GiB | You need to pay $0.0287 per used GiB | You need to pay $0.0228 per used GiB |
For Metadata at-rest (GiB/month) | Here it is included | Here it is included | You need to pay $0.030 per used GiB | You need to pay $0.030 per used GiB |
For more information, check out the Azure Files Pricing now.
Azure App Service Pricing
Well, here we will discuss Azure App Service Pricing. One thing to remember here is App Service plans are billed on a per second basis.
Basic Service Plan
Instance Details | Cores | RAM capacity | Storage | Pricing |
For B1 | 1 | Here it is 1.75 GB | 10 GB | You need to pay $0.075/hour |
For B2 | 2 | Here it is 3.50 GB | 10 GB | You need to pay $0.15/hour |
For B3 | 4 | Here it is 7 GB | 10 GB | You need to pay $0.30/hour |
For more information, check out the Azure App Service Pricing now.
Azure Cloud Services pricing
Well, let’s discuss here the details on the Cloud Services pricing.
Instance Details | Cores | RAM size | Temporary Storage Capacity | Pricing Details |
A0 | 1 | You will get 0.75 GB | You will get 20 GB | You need to pay $0.02/hour |
A1 | 1 | You will get 1.75 GB | You will get 225 GB | You will have to pay $0.08/hour |
A2 | 2 | You will get 3.50 GB | You will get 490 GB | You need to pay $0.16/hour |
A3 | 4 | You will get 7.00 GB | You will get 1,000 GB | You will have to pay $0.32/hour |
A4 | 8 | You will get 14.00 GB | You will get 2,040 GB | You need to pay $0.64/hour |
Check out Azure Cloud Services pricing for more information now.
Azure Function Timeout
Remember, that there is a default time out duration for the function app based on the plan you have and the runtime version you are using. As we know already, there are different plans are available for the Azure functions and those are Consumption Plan, Premium Plan, App Service Plan.
You can also change the default time out duration to a specific time based on the plan and the runtime version you are using.
The below table will show you the default timeout option based on your Azure Function App plan.
Plan | Runtime Version | Default time out duration | Maximum Time out duration you can update |
For Consumption Plan | If you are using Runtime version 1.x | 5 minutes | You can set the maximum time out as 10 minutes |
For Consumption Plan | If you are using Runtime version 2.x | 5 minutes | You can set the maximum time out as 10 minutes |
For Consumption Plan | If you are using Runtime version 3.x | 5 minutes | You can set the maximum time out as 10 minutes |
For Premium Plan | If you are using Runtime version 1.x | 30 minutes | You can set the unlimited maximum time out |
For Premium Plan | If you are using Runtime version 2.x | 30 minutes | You can set the unlimited maximum time out |
For Premium Plan | If you are using Runtime version 3.x | 30 minutes | You can set the unlimited maximum time out |
For App Service Plan | If you are using Runtime version 1.x | Unlimited | You can set the unlimited maximum time out |
For App Service Plan | If you are using Runtime version 2.x | 30 | You can set the unlimited maximum time out |
For App Service Plan | If you are using Runtime version 3.x | 30 | You can set the unlimited maximum time out |
Azure Cosmos DB Pricing
Well, For the Azure Cosmos DB, you need to pay based on the database operations and how much storage you consumed.
With the Azure Cosmos DB free tier, you can get 5 GBs storage per month and 400 request units/second throughput. You can check out the Azure Cosmos DB Pricing for more information.
Azure Functions
Azure Functions is simply a “Functions-as-a-service” that helps us by providing the solution to run a few lines of code or functions in the cloud environment. You just need to worry about writing the code. No need to take any headache for the whole application or the infrastructure.
Check out more information on Azure Functions now.
You may also like following the below articles
- Microsoft Azure Free Training (Get a free voucher for AZ-900 Certification)
- Cannot Find Module ‘@azure/functions’ or its Corresponding Type Declarations
Wrapping Up
In this article, we have discussed, Azure Function Pricing, Azure Pricing, Azure Bot Services Pricing, Azure Monitor pricing, Azure Data Lake Storage pricing and we also discussed Azure Managed Disks pricing, Azure Files Pricing, Azure Storage Pricing, Azure Blob Storage Pricing, Azure App Service Pricing, Azure Cloud Services pricing, Azure Function Timeout, Azure Cosmos DB Pricing, Azure Functions. Hope you have enjoyed this article !!!