The cloud is the harbinger of the biggest changes in the IT industry in the modern world. It has introduced new capabilities and opportunities for driving innovation, while providing cost-effectiveness, agility and scalability as needed by the organizations in the constantly evolving digital world.
The businesses, to make full use of cloud, need a reliable cloud solution provider like MDSC1 that can guide them the right way and hold their hand to bring them to the cloud world. Hence, the purpose of this blog of ours is to guide businesses to build and deploy new applications in cloud that can add to their topline.
Microsoft Azure – a flexible, open, enterprise – grade cloud computing platform.
Microsoft provides a consistent cloud platform that makes it easier for a business to build and deploy new applications that can add to a business’s revenue. It provides a number of tools and resources with which the intelligent apps can be built and deployed without a change in code. The built apps can be deployed anywhere: on cloud, on premises, and to edge devices, with the capability of global distribution to more data centers than any other provider.
A range of deployment options, popular stacks and languages, and a complete set of data engines are supported by Azure. It offers options to choose your favorite technologies including open source, to capitalize the flexibility, performance, scale, and security delivered by Microsoft technologies to build apps for any scenario.
It is easy to build apps using Azure because it brings analytics and artificial intelligence to your data in the languages you use. Windows Azure cloud server also allows scaling up or down the resources as required for a number of app hosting scenarios which makes it adjust as per the changing needs of a business.
Steps to build a cloud application with Microsoft Azure:
You can select the type of app you want to build, from the different app types available, which include- Web Apps, Web App for Containers, Functions App, API Apps, Mobile Apps and Logic Apps. All these applications are useful for different operations, so you can select the application of your requirement. Further select templates and create the app with the language you are familiar with.
We will give only the basic steps to build an HTML web application in Azure as there are tons of permutations combinations – much beyond the scope of a simple blog to cover, as to how you can use the Azure platform to build your apps.
Below are the steps to create a static HTML Web App in Azure-
Using the Azure subscription, install the Git.
Run the command
Run the given command in a terminal window for cloning the sample app repository to local machine.
View the HTML
Open the index.html file in browser, by navigating to the directory containing sample HTML.
Launch Azure Cloud Shell
Click on the Cloud Shell button on the menu in the upper-right corner of the Azure portal. This will open an interactive shell for running further steps.
Create a deployment user
Create deployment credentials in Cloud Shell, with az webapp deployment user set command. Replace <username> and <password> from the command below with a unique username and a strong password. These credentials are different from Azure subscription credentials.
az webapp deployment user set –user-name >username> –password <password>
Create a resource group
Create a resource group in the Cloud Shell with az group create command. Resource group acts as a logical container for deploying and managing Azure resources like storage accounts, web apps and databases.
The resource group is created in a region near you. See all supported locations for Azure Web Apps by running – az appservice list-locations command.
Create Azure App Service plan
Create App Service plan using az appservice plan create command. It defines location, features, size of the web server farm that will host your app.
Create a Web App
Create a Web app in myAppServicePlan App Service plan using az webapp create command. Replace the <app_name> in the command below with a unique name.
The Azure CLI will show information when the Web app has been created. Check your newly created App by browsing with your <app_name> at
Configure local Git deployment
Use the az webapp deployment source config-local-git> command to configure local Git deployment to the Web App. App Service supports various ways of deploying content to a web app, like local Git, FTP, Bitbucket and more. For example, here deployment is done by Git command for pushing from any local repository to Azure’s.
with the name of your web app’s name in the command below
az webapp deployment source config-local-git –name <app_name> –resource-group myResourceGroup –query url –output tsv
You’ll get an output with the format below-
Use this URI for the next step.
Push to Azure from Git
Add an Azure remote to your local Git repository in the local terminal window.
git remote add azure <URI from previous step>
Push to the Azure remote for installing your app using the following command-
git push azure master
Browse to the App
Visit the following Azure web app URL in a browser-
The page that appears is running as an Azure App Service web app.
You’ve done it!
If you are not already a user of Azure, the first thing to do is to sign up for an Azure Subscription. Buy Microsoft Azure cloud from MDSC1, a prominent Microsoft Azure partner, who provides several services on Microsoft Azure including- Infrastructure as a service (IaaS), Platform as a service (PaaS), Software as a service (SaaS), Azure multifactor authentication, Secure storage and DR, and rapid availability.