title: How to build serverless web site on Azure (rather then on AWS Amazon)
body: <p>How to build serverless web site on Azure, as "auto-scaling, pay-per-execution, event-driven app"?</p>
  
  <p>There are tons of good examples how to build serverless-arhitecture web site on AWS Amazon, e.g. <a href="https://zanon.io/posts/building-serverless-websites-on-aws-tutorial" rel="nofollow noreferrer">https://zanon.io/posts/building-serverless-websites-on-aws-tutorial</a>
  It consumes <strong>S3</strong> for HTML and JS, <strong>Lambda</strong> for REST API, <strong>Simple DB</strong> for data.</p>
  
  <p>Microsoft has Azure Functions that is analogue for AWS Lambda, but it is "serverless computing", not "serverless web site". I can create "serverless REST API" with Azure Functions, but what about HTML, JS, CSS for web site, database, etc. ?</p>
  
  <p>I tried Azure App Service, but it lacks "pay only for what you use" option, as all plans have Monthly payments, as well as Azure SQL for database. And App Service doesn't seem to be constructed to host serverless-architecture web sites, more for classic ASP.NET web sites that you can easily deploy there.</p>
  
  <p>Also, there is popular library <a href="https://github.com/serverless/serverless" rel="nofollow noreferrer">https://github.com/serverless/serverless</a> and they even mentioned Azure: "using AWS Lambda, Azure Functions, Google CloudFunctions &amp; more", but there is no a single example how to use it for Azure and all Docs are for Amazon AWS.</p>
  
  <p>Thanks!</p>