One of the top 3 items in our free list is something called a Function App. It is a web application that is pure PaaS. It lets you run code and get the responses back. With the free tier, you get 1,000,000 requests per month. Yes, one million requests per month for free! There are some interesting limits though. From the Microsoft page:
Azure Functions pricing
Azure Functions consumption plan is billed based on per-second resource consumption and executions. Consumption plan pricing includes a monthly free grant of 1 million requests and 400,000 GB-s of resource consumption per month per subscription in pay-as-you-go pricing across all function apps in that subscription. Azure Functions Premium plan provides enhanced performance and is billed on a per second basis based on the number of vCPU-s and GB-s your Premium Functions consume.
What that means is that you get 1 million requests, but you can't use the requests to calculate PI to 1 million digits with each call. The total amount of CPU time and memory used impacts the number of calls you can make and stay within the free budget. The amount you get for free is still extremely large because you are using excess resources. You see, Azure Functions act sort of like Spackle. You are using resources that open up between the larger, more expensive jobs.
Let's try one out. Create a new resource by clicking <create a resource>
PowerShell is a cross platform scripting language. It won't require a lot of code to do a lot of work. Now just click on <create> and we will have our function
https://cheapsitefunction.azurewebsites.net/api/HttpTrigger1?code=<a big secret>==
This HTTP triggered function executed successfully. Pass a name in the query string or in the request body for a personalized response.