Skip to content

Latest commit

 

History

History
52 lines (26 loc) · 2.24 KB

README.md

File metadata and controls

52 lines (26 loc) · 2.24 KB

Introduction

In this project we will create a Website using Azure App Service.

What is 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.

Why Should you use Infrastructure as Code?

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.

Repository Structure

This repository is made up of three file:

  1. ContosoFinance-Demo-ARM - contians ARM Templates to deploy resources in Azure
  2. ContosoFinance-Demo-Web - contains Website code
  3. 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.

Architecture Design

ArchitectureDesignDiagram

What you will need

To deploy your first website using Azure App Service you will need

  1. Azure Subscription
  2. Visual Studio Code
  3. GitHub Repository

Deploy ContosoFinance Web App

  1. Clone this repositorary locally.

  2. 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.

DeploymentDiagram

  1. When running this script the following resouces will show up in the Azure Portal

DeployedResources