Azure App Service
Tags: paas, deploymentslots, cloud, azure
Published: 2022-05-16 19:45:45

## **What is Azure App Service**
Azure App Service is a fully managed computing platform for hosting websites and web apps. Azure Cloud computing makes it possible to deliver computing capabilities over the internet. it offers services such as analytics, virtual computing, storage, networking, and more.

_Microsoft provides cloud services in three (3) ways._

1. Infrastructure as a Service (Iaas): 
This is fully managed by Microsoft, and it’s tenant can rent servers, virtual Machines, storage, network and even operating systems. The most important thing to note here is you are responsible for managing your resources.

2. Platform as a Service (Paas):
 Microsoft provides the tools for building, testing, and deploying software apps without focusing on managing underlying infrastructure. Key point here, Microsoft manages the resources.

3. Software as a service (SaaS):
This is a way of delivering applications over the Internet—as a service. Instead of installing and maintaining software, you simply access it via the Internet, freeing yourself from complex software and hardware management

_In this section I work through on how to deploy a simple Web App which is a platform as a service (Paas)._

**NOTE**: For full access to the platform a premium account is required, but Microsoft offers a free account so new users can have access to the platform.

Once access is granted, you should see something similar to

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vlzx5k8m1yzhpa6zmjtr.png)

the recent resources can be ignored, these are resources I have created before now, and over time yours would display whatsoever resource you create.

Next step is to select the
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gj9mqrd4u9ug62sl4dzl.png)

It is worthy to note that Azure App Service is an HTTP-based service for hosting web apps, REST APIs, and mobile backends, and this helps us run and scale our apps without having to bother about cloud or Operating system infrastructure.

You should see some resources that you can work with on the azure platform but for our case, we would navigate to

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x4cla9nmqfsccg7ipoyo.png)
create app and then click on create, which would take us to

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/68w89449mkgqmwfjhli7.png)

A page displayed should be seen

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i0mxsbudvli53h2kdpsv.png)
Azure app page

The subscription section of the form could be the access from your organization or just like in my case a free Azure pass.

The Resource Group of the page might sound awkward to you, but a resource group is a container that manages and arranges resources in a single unit. Your resources could be storage, Virtual machines, networks, etc. that you are purchasing from Microsoft.

Now select a unique name for your Resource Group

In the name section under the Instance Details, add a unique name.
In the publish section, select code if you will be publishing a code(code can be published using Visual studio), Docker container (packaged Softwares that have everything the software needs to run including libraries, system tools, code, and runtime), or Static web app(you can build a static web app on azure using Quickstart).
Select your runtime stack in the runtime stack drop-down list. A runtime stack simply means the programming language used in building your app.
Select your operating system, either Windows or Linux
Select a region that best suits your app service plan


The SKU and size of any resource you would be getting is dependent on pricing; Microsoft makes this easy to determine because different price options are available which is equivalent to the selected resource.

You can now click on Review + Create.

Hold whilst Microsoft review your selections, and a page like this should be available.
 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1v1hzm78nsvwu8b99ugk.png)
Our web app has been successfully deployed and ready for use, you can click on Go to Resource.

Just at the left hand of the portal

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qeyo3tnvlxb474e6gty2.png)

In the Azure side bar are different actions we could carry out to upscale, and manage our web app to meet organization specified requirement and use.

An amazing feature of using Microsoft Azure is that it gives us a Real-time breakdown, the performance and security of our app.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/plhaudvo5cayor0x9bbb.png)
App performance is a crucial part of business as any negligence can result in loss of customers, money to the organization, and cost in avoidable situations.

The Diagnose and solve problems on the Azure platform provides you with the health of your resource and also provides solutions to be taken at every point in time.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4uq3gqdaqij65eueqodk.png)
App Health

And that's it, a simple walk through on how to create an app service on Azure. Feel free to leave a comment.