Web apps are becoming more and more popular these days and it’s not
hard to see why. They allow you to reach customers on the web using one
of the most popular standards around – HTML, CSS and JavaScript.
To Learn more About https://thinkcloudly.com/
1. Azure Web Apps: What it is and how
to get started
Web apps are becoming more and more popular these days and it’s not
hard to see why. They allow you to reach customers on the web using one
of the most popular standards around – HTML, CSS and JavaScript –
without having to worry about your own infrastructure, maintenance or
scalability – Azure Web Apps do all that for you in the cloud.
The Microsoft Azure App Service not only adds security, load balancing,
auto-scaling, and automated management functions to your application.
Additionally, it offers features such as continuous deployment via Azure
DevOps, GitHub, Docker Hub, and other sources, as well as package
management, staging environments, custom domains, and TLS/SSL
certificates.
If you are looking at creating an Azure web app that your customers can
access from a browser (on their desktop, laptop, tablet or mobile phone)
then read on to learn what an Azure Web App is and how easy it is to get
started with one.
Are you interested in becoming a Microsoft certified Azure Administrator?
Check out the Thinkcloudly Azure Administrator certification today!
What is Azure Web App?
Azure App Service lets you host web applications, REST APIs, mobile apps,
and mobile back ends on HTTP. You can use any language that you want –
.NET, .NET Core, Java, Ruby, NodeJS, PHP, or Python.
Web apps can be built with ASP.NET, PHP, Node.js, and Python.
Besides Visual Studio and GitHub, they also incorporate common
development environments.
Azure Web Apps enable you to build apps in Azure without having
to deploy, configure, and maintain Azure VM.
2. Azure Web Apps Features
1. Multi-language support: Web Apps offers a wide variety of
languages, including .NET, .NET Core, Java, Ruby, Node.js, PHP,
and Python. Scripts or executables can also be used as background
services.
2. Deployment is Easy: Using DevOps, we can deploy our web apps
directly from a repository such as Microsoft Visual Studio Team
Services, GitHub, and Bitbucket.
3. Serverless code: Start a piece of code running on-demand,
without having to provision or manage any infrastructure and
paying only for the time that it actually runs.
4. Application Templates: The Azure Marketplace offers a wide
selection of application templates, including WordPress, Joomla,
and Drupal.
5. Security: The App Service is ISO, SOC, and PCI compliant. You can
log in with your Azure Active Directory account, Google,
Facebook, Twitter, or Microsoft account.
Azure Web Apps: Deploying Web Apps
To deploy your web apps, you can use a few different methods. you can
manually copy the files using FTP or Transfer the files and folders from a
cloud storage service, such as OneDrive or Dropbox, to App Service.
3. Deploying to Azure App Service is also supported by Web Deploy, which is
an option with Visual Studio, WebMatrix, and Visual Studio Team Services.
To upload code to the new web app and make it accessible for browsing,
you need to configure deployment credentials.
If you are deploying through Git or FTP, you will need to configure
deployment credentials. Knowledge of deployment credentials will allow
you to upload the web app’s code and content to the new web app, to make
it available for browsing.
Become certified in the most popular cloud technology Azure!
How to deploy an Azure Web App?
Task 1: Create
Go to the Azure portal and click + Create a resource.
To create a Web App resource, click on Web App.
4. Next, you need to fill out the app service plan, resource group, and
name.
Click on Next: Docker > and now do the following configurations.
Image and Tab: mcr.microsoft.com/azuredocs/aci-helloworld
Startup command is optional keep it blank as it is not required.
5. Click on Review + Create and then Create.
Task 2: Test the Web App
Before testing the web app, wait for the app to deploy.
Click on Go to Resource.
Copy the URL from the Overview tab.
Open the URL in the new tab or new browser. The welcome
message: Welcome to Azure Container Instances! will be
displayed on the screen.
6. You can scroll down in Overview Tab to observe several charts which track
Data in, Data out, Response time, Requests, etc. You can try refreshing the
URL page in step 3 to see the difference in charts.
Hurray! You have finally learnt how to create your first Web App using
Azure Services.
Final Thoughts:
In a nutshell, Azure Web Apps are basically pre-configured solutions that
provide you with a server/platform for your web application. You can
create one with just a few clicks. Using one also frees you from having to
deal with hardware and infrastructure issues so you can focus on writing
great code. We hope you’ll give it a try! Leave us some feedback in the
comments section below if you have any questions or thoughts. Thanks for
reading!
Is your Azure interview coming up?
Here are the most recent Azure interview questions and answers.