Azure App Service
- Azure App Service is Platform as a Service (PaaS) solution that microsoft offers to assist developing your applications, mobile app back ends, or REST APIs or Web Applications without worrying about the underlying infrastructure.
- Azure App Service allows to host the applications from following languages directly
- .NET
- .NET Core,
- Java
- Node.js
- PHP
- Python
- Ruby
- Azure app service allows allows to run docker containers in app service, which makes the way for any other web application in possibly any technology to run on Azure App Service.
- Azure App Service provides infrastrucutre capabilities such as load balancing, autoscaling, security, automated management.
- Azure App Service deployment can be integrated with Docker Hub, GitHub and Azure DevOps
Azure App Service Plan
- In Azure App Service, an app always runs in a App Service Plan.
- App Service Plan defines a set of computing resources for web app to run
- Each App Service Plan defines
- Operating System (Windows, Linux)
- Region (West US, East Us etc)
- Number of VM Instances
- Size of VM Instances (Small, Medium, Large)
- Pricing Tier (Free, Shared, Basic, Standard, Premium, PremiumV2, PremiumV3, Isolated, Isolated V2)
- Exploring App Service Plan on Azure Portal
- There are few categories of pricing tier
- Shared Compute:
- Free and Shared, the two basic tiers runs app on the same Azure VM as other Azure Service apps, including apps of other customers.
- These tiers allocate CPU quotas to each app that runs on shared resources
- Dedicated Compute:
- Basic, Standard and Premium tiers apps on dedicated Azure VMs.
- Only the apps in the Same Azure App Service plan can share the computing resources.
- The higher the tier, the more number of VM instances are available for scaling out.
-
Isolated:
- The Isolate tier runs dedicated Azure VMs on dedicated Azure Virtual Networks.
- It provides network isolation on top of compute isolation to your applications
- It provides the maximum scale-out capabilities.
-
App Running and Scaling in Azure App Service:
- When we create an app in azure app service, it is put into App Service Plan.
- When the application runs, it runs on all the VM instances configured in the App Service plan.
- If multiple apps are in the same App Service Plan, they all share the same VM Instances
- Create a Free App Service Plan
- Next Steps:
- We would deploy an web app into the plan and access it.