This repository provides resources to help developers build a Scalable web app on Azure. A Scalable Web App is a set of services, code, and infrastructure deployed in Azure that applies practices from the Well-Architected Framework. This pattern is shared with three components to help you use Azure to build a web app that follows Microsoft's recommended guidance for achieving reliability, scalability, and security in the cloud.
3 components of the Scalable web app are:
- A Guide that demonstrates the guidance and explains the context surrounding the decisions that were made to build this solution
- A starting point solution that demonstrates how these decisions were implemented as code
- A starting point deployment pipeline with bicep resources that demonstrate how the infrastructure decisions were implemented
-
Pre-requisites
The createAppRegistrations.sh script is a bash script built to run on WSL for Windows users
-
- Windows users only
wsl --install
- Windows users only
-
- Windows:
powershell -ex AllSigned -c "Invoke-RestMethod 'https://aka.ms/install-azd.ps1' | Invoke-Expression"
- Linux/MacOS:
curl -fsSL https://aka.ms/install-azd.sh | bash
- Windows:
-
-
Provision the Azure resources
environmentName=relecloudresourcesdev azd provision -e $environmentName --no-prompt
-
Setup Azure App Registrations
This will create the resources in Azure AD that enable your web app to support authentication and authorization.
./infra/createAppRegistrations.sh -g "$environmentName-rg"
-
Deploy the code
azd deploy --no-prompt