Uploaded by Hritik Rockzz

Deploying a Web application on Microsoft Azure 14 Hritik

advertisement
Deploying a Web application on Microsoft Azure.
Submitted in partial fulfilment of the requirements
for the degree of
BACHELOR OF ENGINEERING
IN
COMPUTER ENGINEERING
BY
Hritik Gaud(14)
Guided By
Dr. Vinayak D. Shinde
DEPARTMENT OF COMPUTER ENGINEERING SHREE
L. R. TIWARI COLLEGE OF ENGINEERING KANAKIA
PARK, MIRA ROAD (E), THANE -401 107, MAHARASHTRA.
Year 2021-2022.
CERTIFICATE
This is to certify that the seminar report entitled “Deploying Web Application On
Microsoft Azure” is a bonafide work of
Hritik Gaud. Roll No (14)
submitted to the University of Mumbai in partial fulfilment of the requirement for
the award of the degree of “Bachelor of Engineering” in “Computer
Engineering”.
Signature of Guide
Name: Dr. Vinayak D. Shinde
Date:
Acknowledgement
Although we were responsible for the entire presentation work but its
success was only possible because of the precious guidance and encouragement
from my guide Dr. Vinayak D. Shinde, right from the selection of topic to final
drafting, they acted as catalysts and shared their knowledge which was beneficial
at each step of this presentation. Last but not the least, our fellow colleagues who
constantly pointed out suggestions and gave us proper feedback time to time for the
success of this presentation work.
Abstract
Cloud computing is a way of computing services including servers, storage,
databases, networking, software, analytics, and intelligence over the Internet to offer
faster innovation, flexible resources, and economies of scale.
You mostly pay only for cloud services you use, helping lower your operating costs, run your
infrastructure more efficiently and scale as your business needs change.
Cloud computing is the on-demand availability of computer system. Where we can also
create virtual machines in that we can configure our server as per our need.
Thus, for hosting our application we can use cloud virtualization. Where for hosting Web
application one can use Code by fetching it from GitHub , Docker containers or make a static
web app.
Introduction
Cloud computing is the delivery of computing services which including servers,
storage, databases, networking, software, analytics, and intelligence, over the Internet (“the
cloud”) to offer faster innovation, flexible resources, and economies of scale. You typically
pay only for cloud services you use, helping lower your operating costs, run your
infrastructure more efficiently and scale as your business needs change. In cloud we can easily
create and configure virtual servers according to our need, that we can use for future
applications such as hosting, storing data etc.
•
•
•
•
•
•
•
Cloud provide many service with best performance.
We can Monitor the resources by using service metrics.
Cost estimation is done by pay as per use policy.
Azure App services for creating virtual server.
Pushing the files to GitHub and allowing access for Azure.
Publishing through GitHub Repository.
Deploying and running it on App Services.
Problem Statement
To deploy PHP web application on Microsoft Azure with Azure Using existing available technologies and
GitHub to fetch source code and to get familiar with azure cloud hosting platform.
Learning Objectives
The following are the objectives which were fulfilled by creating an online news finder web
application:
•
•
•
•
•
•
•
To understand concept of virtualization.
To understand the usage of virtual directory in Storage Account for hosting Web
Application.
To understand storage services of Azure.
To configure App Services security policy for public access.
To understand the usage of Blob Containers in Storage Account
To migrate the local code to the virtual machine on the cloud manually.
To learn how to deploy a project on Microsoft azure and make it easily accessible to
everyone.
Approach
Prerequisites:
•
•
•
HTML, CSS, Javascript
Storage Browser
Hosting Website
•
Frontend and backend development.
Familiar with Azure interface.
Requirements:
•
•
•
•
•
•
CPU with clock speed of 2Ghz or more.
4Gb Ram.
Vs Code.
Fast Internet Connection.
Azure Subscription.
Web Browser.
Azure Pricing
App Service brings together everything you need to create websites, web APIs for any
platform or device. Our Free and Shared (preview) plans are ideal for testing applications in a
managed Azure environment. Basic, Standard and Premium plans are for production
workloads and run on dedicated Virtual Machine instances. Each instance can support
Free Plan
The Free service plan is intended to be used only for development and testing purposes.There
is no SLA provided for the Free service plan. Free plans are metered on a per App basis, with
daily CPU quotas applied.
Instance
F1
Free
Cores
Ram
Shared
(60 CPU minutes / day)
1 GB
Storage
Pay as you go
₹0
1 GB
Basic Service Plan
The Basic service plan is designed for apps that have lower traffic requirements and do not
need advanced auto scale and traffic management features. Pricing is based on the size and
number of instances you run. Built-in network load balancing support automatically
distributes traffic across instances. The Basic service plan with Linux runtime environments
supports Web App for Containers.
Instance
Cores
Ram
Storage
B1
1
1.75 GB
10 GB
B2
2
3.50 GB
10 GB
B3
4
7 GB
10 GB
BasicDedicat
ed
environment
for dev/test
StandardRun
production
workloads
Free
Try
for
free
Pay as you go
₹1,053.860/month
₹2,052.254/month
₹4,104.508/month
PremiumEnh
anced
performance
and scale
IsolatedHighPerformance,
Security and
Isolation
Web,
mobile
or API
apps
10
Unlimited
Unlimited
Unlimited
Unlimited
Disk
space
1 GB
10 GB
50 GB
250 GB
1 TB
Maximu –
m
instanc
es
Up to 3
Up to 10
Up to 30*
Up to 100
Custom
domain
Auto
Scale
Hybrid
Connect
ivity
Virtual
Networ
k
Connect
ivity
Private
Endpoi
nts
–
Supported
Supported
Supported
Supported
–
–
Supported
Supported
Supported
–
Supported
Supported
Supported
Supported
–
–
Supported
Supported
Supported
–
–
–
Supported
Supported
Comput
e Type
Shar
ed
Dedicated
Dedicated
Dedicated
Isolated
Pay as
you go
price
Free
₹1,053.86
0/month
₹4,881.03
6/month
₹6,323.16
0/month
₹23,795.04
9/month
Implementation
First Login in to Azure and open your azure Portal.
Here’s the overview of storage account that has been created
Creating new Web App Service
Uploading from GitHub through Deployment Center
The Overview of Deployed Web App
Monitoring the Usage
Thus, our web application has been successfully been deployed onto Azure app services
and you can view your web application from anywhere and any time.
Result
Our web application has been successfully been deployed on azure and you can confirm it by
opening the web application which has the following URL or domain name format – “
https://votingsystem.azurewebsites.net
”.
Conclusion
Azure is Microsoft's public cloud platform. Azure offers a large collection of services, which
includes platform as a service (PaaS), infrastructure as a service (IaaS), and managed database
service capabilities. Azure is a huge collection of servers and networking hardware,which runs
a complex set of distributed applications. These applications orchestrate the configuration
and operation of virtualized hardware and software on those servers. The orchestration of
these servers is what makes Azure so powerful. With Azure, users don't have to maintain and
upgrade their hardware as Azure does this behind the scenes. Hence, we deployed our static
web Application on Azure cloud. Also, we can monitor the resources easily, Hosted
applications are available publicly which means we can access themfrom anywhere in the
world. Hosting applications in the cloud using the IaaS platform will also reduce pricing,
because we configure servers as per our needs. Thus, hosting any web application is easy by
using cloud services.
References
1. Azure Cloud Services by Location or Region | Microsoft Azure." Azure Cloud Services by Locationor
Region | Microsoft Azure. N.p., n.d. Web. 16 Apr. 2016.
2. Microsoft Azure: Cloud Computing Platform & Services." Microsoft Azure: Cloud Computing
Platform & Services. N.p., n.d. Web. 30 Apr. 2016.
3. https://azure.microsoft.com/en-in/pricing/calculator/
4. Pricing Overview - How Azure pricing works | Microsoft Azure. (n.d.). Retrieved April 15, 2016.
5. https://azure.microsoft.com/en-in/services/app-service/#overview
6. Create Your Free Azure Account Today | Microsoft Azure." Create Your Free Azure Account Today
| Microsoft Azure. N.p., n.d. Web. 15 Apr. 2016.
Download