Serverless web application on Azure. 10/16/2018; 16 minutes to read Contributors. In this article. This reference architecture shows a serverless web application. The application serves static content from Azure Blob Storage, and implements an API using Azure Functions.
But first, let’s get our initial Lambda set up and triggered from an API Gateway endpoint. The backbone of the serverless stack is an event . An event kicks off the allocation of compute resources to complete some action.
The Lambda function processes the request and responds to API Gateway, which then passes the response back to the user. There’s a slight complication: in my testing, using API Gateway with Lambda means that even if you set up CORS headers on API Gateway, they will not be included in any response.