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.
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.
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.
On the Resource groups, overview page click Add to start adding resources. (There are no resources to display yet).
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).
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.
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.
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.
You can view new web app under Resource group. Go to the web app resource, Copy the url.
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.
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