What are Azure Web Apps? How Can I take advantage of Azure Web Apps ? Get answers to these questions and learn about Designing and Implementing Azure Web App.
Azure App Service Web Apps provides a scalable, secure and easy to use environment for creating Web Apps.
2. Hybrid
• App Service Overview
• App Service Plan
• Deploying Web Apps
• Defining Deployment Slots
• Configuring Web Apps
• Scaling Web Apps
3. The Azure App Service is a Platform as a Service
offering, or PaaS, from Microsoft.
Azure App Service Overview
4. Benefits
Multiple languages and frameworks
Integrates with other SaaS Platforms or even
on-premises
Wide variety of templates already available
Integrates with Visual Studio
Highly Scalable
Any platform and on any device
5. Azure App Service Web Apps (or just Web Apps) is a
service for hosting web applications, REST APIs, and
mobile back ends.
Azure Web Apps
8. App Service Plan
• Every app needs to be associated to an app service plan.
• An App Service plan defines a set of compute resources for a
web app to run.
9. App Service Plans
Free and shared
• Test and dev
Basic
• Low traffic, manual scaling, 3 instances
Standard
• Production apps, auto-scaling and backup, 10 instances
Premium
• Can use App Service Environments (ASE), 20 instances
13. Define Deployment Slots
• Typically, we never want to deploy an app directly into
production.
• In Azure, we can deploy the deployment slots, test and
then release to production.
• Think of deployment slots as staging areas.
14. Deployment
Slots
Method to support rapid development
Not available in Free, Shared, or Basic plans
5 slots (default slot is named production)
DEV, QA, UAT environments
Each slot has its own hostname and
configuration
15. Deployment Slots Workflow
App Production
Staging
Testing
Production
Staging
Swap
Users are unware of this transaction
16. • • Settings that Swap Settings that Don't Swap
What is Swapped and What is Not Swapped
General settings
App settings
Connection strings
Handler mappings
Monitoring settings
Diagnostic settings
WebJobs content
Custom domain names
SSL certificates and bindings
Scale settings
Publishing endpoints
WebJobs schedulers
17. Demo
• Adding a Deployment Slot
named Staging to existing Web
App
1. URL is different for deployment slots.
2. a.Click on SWAP
b. Swap type – Swap / Swap with preview
c. Source – Staging
d. Destination – Production
e. Click OK
3. If you go to resource group and check, you have another web app staging.
Open Web App
Settings -> Application Settings
General Settings - > .net, php, java, python, nodejs version
Platform – 32Bit (Free, Shared) , 64Bit (Basic, Premium)
Managed Pipeline – Integrated OR Classic(used for legacy app)
ARR Affinity – Also known as sticky sessions. You could turn it on to ensure that the particular client is always directed to the same instance for the duration of that session.
Auto Swap – When ever there is a new update to staging slot then it will automatically be swapped into the production slot.
Debugging – Turn on so as to use Visual Studio to connect directly to the web app. Once on, it remained turned on for 48Hrs.
App settings
Connection Strings – To connect to database.
Default Documents
Handler Mapping – It is used to add custom script processors to configure specific extensions such as php, resp.
Open Web App
Settings -> Application Settings
General Settings - > .net, php, java, python, nodejs version
Platform – 32Bit (Free, Shared) , 64Bit (Basic, Premium)
Managed Pipeline – Integrated OR Classic(used for legacy app)
ARR Affinity – Also known as sticky sessions. You could turn it on to ensure that the particular client is always directed to the same instance for the duration of that session.
Auto Swap – When ever there is a new update to staging slot then it will automatically be swapped into the production slot.
Debugging – Turn on so as to use Visual Studio to connect directly to the web app. Once on, it remained turned on for 48Hrs.
App settings
Connection Strings – To connect to database.
Default Documents
Handler Mapping – It is used to add custom script processors to configure specific extensions such as php, resp.