Table of Contents
Related Searches: azure app service, azure web app, azure linux web app, azure web app for linux, what are app services in azure, azure web app on linux, introduction to azure app services
Overview - Azure App Service
Azure Offers Platform as a Service(PaaS) call Azure App Service which help end customers to host their application on Azure without provisioning of VM or any other infrastructure resources. You just deploy a Web App and it runs and keeps running.
In a nutshell, App Service is a Hypertext Transfer Protocol (HTTP)-based web application hosting service. Think of GoDaddy, but with much more power. The idea is that if you're willing to surrender full control app’s underlying infrastructure (which is what Azure Virtual Machines is for) you’ll receive in exchange
- Global replication and geoavailability
- Dynamic autoscaling
- Native integration into continuous integration/continuous deployment pipelines
Azure Web apps that are developed using any of the following programming languages or frameworks can be hosted using azure app service. it supports multiple programming languages
- .NET Core
App Service runs on an App Service Plan
All the Azure App Service types run in Azure. And Azure magically makes sure that they keep running and that they can scale up and down. Azure does that by using its Service Fabric. You might have heard of Service Fabric as this is now one of the services that you can use yourself.
For instance, when you have a Web App that is running a website, Azure App Service sure that it runs on if any of backend underlying hardware that fails, Service Fabric moves the Web App to another VM and/or physical server, so that it continues to run. Azure App Service also takes care of scaling for you. When you scale your Web App, by, for instance scaling it out over multiple instances, Azure App Service replicates your Web App over multiple VMs and keeps those running.
- Azure Subscription
- Azure App Service/Web App
- Sample code to deploy on Web app
Step 01: - Deploy Web App on Azure
In the Azure portal menu, select Create a Resource; then search for Web App. Next, click Create.
Next, We have as usual same wizard to fill like name resource group, Subscription etc. and it will be same for every resource creation in Azure.
But its different service we have different options to configure. Here we have two methods for publishing code one as traditional method using Code and the latest one is Using Docker Container.
Next option we have to use Runtime Stack as mentioned in overview here we are using .NET for testing.
Next, We have to select Region as Usual we are using East-US as its cheapest one. For App Service plan we need to create and as explained in App Service Plan is Backbone of Web App here we can Select SKU and Size according to our need.
Step 02: - Select the Right SKU and Size for Web App
In Spec Picker we can select the SKU and Size which is required. You can Select Dev/Test or Production or if you want dedicated hardware or due to compliance you can go with Isolated.
else for learning you can go with free tier.
Next We have option for select deployment method you either you can integrate with Azure DevOps CI/CD or any else, for the time being we will disable this and deploy manually.
And next tab is Monitoring here we can log and monitor our application using Azure application Insights. It will help us to debug issue and understand application behaviour.
Fine, so everything is configured now lets hit Review + Create it will validate and deploy our Web App.
Step 03: - Deploy our Code to Azure Web App Service
Lets Deploy our code to Web Service Using FTPS Credentials. also, you can browse your application using Browse option. In Overview Pane you can See App URL and FTP Credentials for login into your app.
Before Deploying our code I will show you default page provided by Azure Web App Service.
Step 04: - Push Our Code to Web App Using FileZilla client
For Deployment go to the Deployment Centre and click on FTPS Credentials. their are multiple methods for deploying our code using Code Repositories, Using DevOps or other ways, but for this article will go with FTPS manually.
For this FileZilla client should be installed on you machine so you can get access of Web App Server. Here use Username and Password provided in portal and click on connect. In the left you can see files hosted in Web App Server.
So, Here I have uploaded my code into
/site/wwwroot Directory that is our Web App Directory and its done.
Step 05: - Check our Code is uploaded and web app is running with latest code
Go to the Overview Pane. and click on Browser URL.
Here you can see our code is deployed on Web App and you can see the new code on website.
So, as per the article you can host your application using this method. and you can change update your CNAME record in DNS and point it to your Domain and your application up without any infrastructure dependency.
Azure Web Apps helps to deliver enterprise-level SLA by providing security standards, SOC2 accounting standards, and ISO information security standards to use. Azure Apps can be hosted anywhere manually or automatically on Microsoft’s global regions. App Service provides high availability with of 99.5% SLA uptime. It can be integrated with Visual Studio for creating, deploying, and debugging with the dedicated available tools.
The Azure Web App provides a detailed view of application health and performance to make right decisions for business improvement. It also provides deep insights into app’s response times CPU & memory utilization, throughput and error trends.it uses application insights to monitor and select the rights SKU.
- SLA for App Service
- Tutorial: Map an existing custom DNS name to Azure App Service
- App Service pricing