In this project we will create a Website using Azure App Service.
Azure App Service is a Platform as a Service (PaaS), in other words it is a fully managed platform used for hosting web applications, like this one below, Mobile Apps, Logic Apps, API Apps and Function Apps.
Infrastructure as code (IaC) enables you to automatically provision your environment with no manual intervention. For this demo we use JSON however the same resources can be deployed using different languages such as Bicep or Terraform.
This repository is made up of three file:
- ContosoFinance-Demo-ARM - contians ARM Templates to deploy resources in Azure
- ContosoFinance-Demo-Web - contains Website code
- ContosoFinance-Demo-API - contains API code
Each file contains the required scirpts and templates to deploy the ContosoFinance Website. In each folder you will also find a README.md file highlighting what you will need to update if you make any changes to the code.
To deploy your first website using Azure App Service you will need
-
Clone this repositorary locally.
-
Open deploy.ps1 in visual studio code or PowerShell ISE.
This PowerShell script is the master script that will connect to your azure subscription and deployes all the resouces as shown below.
- When running this script the following resouces will show up in the Azure Portal