Menu

Virtual Geek

Tales from real IT system administrators world and non-production environment

Create and deploy a website with Microsoft Azure web app service plan

I was testing Microsoft Azure web app resource service for one of a incoming project, it allows you to publish and manage your website easily without having to work with the the underlying servers, storage, or network assets, basically it is a PAAS (Platform as a service), it is helps you to focus on your website features and rely on the robust azure platform to provide secure access to your site.

Part 1: Create and deploy a website with Microsoft Azure web app service plan
Part 2: Configure a custom domain in Azure Web Apps
Part 3: Uploading to Azure Web Apps Using FTP
Part 4: Add and manage TLS SSL certificates on Azure Web App

To start I will create a new resource group, it is container that groups the all related resources for azure services solution, resources within resource groups share same lifecycle, permissions and policies. Click on menu icon 3 lines on the top - left hand side. Move the cursor on Resource group, wait for 2 seconds it pops up create button. Click it.

Microsoft Azure Windows Resource Group Creation home dashboard web app service plan dumb service IAAS Paas platform as a service create a resource domain.png

On the create a resource group wizard choose the subscription (All resources in a subscription are billed together) and provide resource group name. Choose a region (location of datacenters). Next assign Tags, they help you to logically organize resources categorically. Click Review + Create.

Microsoft Azure Windows Resource group location tags app service plan hosting web app service plan paas iis linux docker container review cloud services domain.png

Azure will validate the configuration, Click create and wait for a few seconds, once it is created, Either click on Notification >> Go to resource group or go to list of Resource groups.

Go to resource group microsoft azure cloud provider IAAS infrastructure as a service Paas Platform as service app service plan configure web server taga location region subscription.png

On the Resource groups, overview page click Add to start adding resources. (There are no resources to display yet).

Resource Group rg location region microsoft Azure softcurry web app app service plan dumb paas server Platform as server windows azure add resource services delete access control (IAM).png

Next shows the list of resource categories, select Web from the list and choose App Service Plan. In nutshell, App Service Plan is a PAAS, it is a Virtual Machine where you don't have access, you cannot RDP/SSH, This server is managed by Microsoft example: patching, licensing etc. basically it is a dumb server for users.

While configuration select subscription, resource group (They are the same we choose earlier for resource group) I am keeping Linux as operating system on App service plan server. Select Region for the plan, The same region you will select for web apps later. Sku and Size I am selecting here is B1, you can go with lower or higher, but I am looking for Custom domain / SSL feature (to configure and purchase custom domains with SNI SSL bindings), click Apply after that Review + Create to proceed, It will creating it. (I have skipped adding tags (optional) as this is just a lab).

Microsoft Azure New Resource Group Web App service plan iis server nginx online paas platform as service os linux aky size acu custom domain ssl manual scale production.png

On the Review + Create tab press create button, it will take few seconds to deploy Azure new App service plan resource in the background, press Go to resource once it is completed.

app service plan microsoft.web-asp-portal deployment is complete microsoft azure subscription sponsership resource group sku size acu memory region Paas platformas service.png

Under my Resource Group I see App service plan is installed successfully, I will create Web App instance on this App service plan. Azure Web Apps delivers a platform to build an App in Azure without having to deploy, configure and maintain your own Azure VM's. You can build Web App using the ASP.NET, PHP, Node. js and Python. They also integrate common development environments which could be Visual Studio and GitHub, Just for small example, Nginx server is installed on Linux and you are keeping your html files on the instance (This can be complete application).

On Resource Group >> Overview click Add button, From the list click Web and select Web App.

Microsoft resource group azure activity log add App service plan web app logic app paas service platform service as a server deployment location resion isp provider.png

On the configuration choose same Subscription and Resources Group as selected for App service plan. In the instance details provide unique name for web app (All letters in small no space between, Azure will validate it to create unique website url). I will keep default for publish as code and here I am selecting runtime stack as PHP 7.3, as I will be hosting php html application. Operating system is a Linux matching to earlier created app service plan (App service plan created earlier is a  linux). Region again same as app service plan created earlier. Click Review + Create, proceed with Create, then go to the resource.

Microsoft Azure Web app paas platform as a service subscription sponsered free resource group services instance details publish code docker container runtime stack region sku plan size.png

You can view new web app under Resource group. Go to the web app resource, Copy the url.

Microsoft Azure softcurry web app service plan url ftps app service plan export template website hosting php code free sponsership azure account.png

Open the url in the browser, you will see the basic website is deployed and successful opening the web page. Azure website url will always have domain name azurewebsites.net in it. I have purchased one domain name which I will use in next article.

Azurewebsites.net microsoft azure deployment center web app service plan business sku plan size php url website hosting isp provider resource group free subscription sponsership.png

Useful Articles
PART 1 : MICROSOFT AZURE CREATION AND CONFIGURATION OF VPN TUNNEL SERIES
PART 2 : MICROSOFT AZURE CREATING RESOURCE GROUP 
PART 3 : MICROSOFT AZURE CREATING AND ADMINISTERING VIRTUAL NETWORK (VNET) 
PART 3.1 : MICROSOFT AZURE POWERSHELL CREATING AND ADMINISTERING VIRTUAL NETWORK (VNET)
PART 4 : MICROSOFT AZURE CREATING AND ADMINISTRATING LOCAL NETWORK GATEWAY VPN
PART 4.1 : MICROSOFT AZURE POWERSHELL CREATING AND ADMINISTRATING LOCAL NETWORK GATEWAY 

Go Back

Comment

Blog Search

Page Views

11272076

Follow me on Blogarama