Download presentation
Presentation is loading. Please wait.
Published byAllison Glenn Modified over 6 years ago
1
6/5/2018 9:51 PM BRK3205 Tips and tricks: Build and deploy modern applications using Azure App Service Stefan Schackow Principal PM Manager © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
2
Tips and Tricks Based on common questions and support cases
6/5/2018 9:51 PM Tips and Tricks Based on common questions and support cases How can I make my app more reliable and performant? I need to (easily) hide my app from the outside world. Can I be smarter about using my compute instances? And more…. © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
3
Deployment Slots Resource Usage
6/5/2018 9:51 PM Deployment Slots Resource Usage © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
4
Tips & Tricks: Deployment Slot Resource Usage
6/5/2018 9:51 PM Tips & Tricks: Deployment Slot Resource Usage Staging slot Application SCM site Consumes resources Consumes resources App Service Plan SCM site for Staging slot SCM site for more slots More slots Consumes yet more resources © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
5
6/5/2018 9:51 PM Demo © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
6
Improve Reliability with Local Cache + Application Initialization
6/5/2018 9:51 PM Improve Reliability with Local Cache + Application Initialization © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
7
Remote UNC file share w/ site content
6/5/2018 9:51 PM Tips & Tricks: Reliability w/ Local Cache and Application Initialization Traffic routes immediately to new worker instance!! First worker instance Scale out w/ second instance Remote UNC file share w/ site content © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
8
6/5/2018 9:51 PM Tips & Tricks: Reliability w/ Local Cache and Application Initialization App Service will: Platform generated warmup ping First worker instance Copy remote site content to local disk Scale out /w second instance 2. Ping and wait on each app init Url 3. Route traffic to new worker instance Local disk Local disk Copy site content to local disk Remote UNC file share w/ site content © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
9
6/5/2018 9:51 PM Demo © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
10
Control Inbound Access via IP Address Restrictions
6/5/2018 9:51 PM Control Inbound Access via IP Address Restrictions © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
11
6/5/2018 9:51 PM Demo © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
12
Hide Common HTTP Response Headers
6/5/2018 9:51 PM Hide Common HTTP Response Headers © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
13
6/5/2018 9:51 PM Demo © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
14
E2E Client Certificate AuthN + Forcing HTTPS Only
6/5/2018 9:51 PM E2E Client Certificate AuthN + Forcing HTTPS Only © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
15
Tips & Tricks: Certificate Authentication
6/5/2018 9:51 PM Tips & Tricks: Certificate Authentication (1) Site is configured to require client certificates (4) private .pfx uploaded to website Associated with [(resource group) + (Azure region)] combination (2) public .cer uploaded and associated with specific website (3) App code loads .cer and uses it to validate the presented client cert. (5) App code loads .pfx and uses when making outbound calls to endpoints requiring certificate authentication *Uses CurrentUser store for S, P, Pv2 tiers. © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
16
6/5/2018 9:51 PM Demo © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
17
6/5/2018 9:51 PM Sticky Sessions © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
18
6/5/2018 9:51 PM Using Azure CDN © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
19
6/5/2018 9:51 PM Demo © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
20
Optimize Application Service Plans w/ Per Site Scaling
6/5/2018 9:51 PM Optimize Application Service Plans w/ Per Site Scaling © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
21
Tips & Tricks: Per Site Scaling
6/5/2018 9:51 PM Tips & Tricks: Per Site Scaling By default: every app runs on every worker in an application service plan. Apps Application Service Plan © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
22
Tips & Tricks: Per Site Scaling
6/5/2018 9:51 PM Tips & Tricks: Per Site Scaling Example Per Site Scaling App #1: max of 1 instances App #2: max of 1 instances App #3: max of 1 instance App #4: max of 1 instance App #5: max of 1 instance Application Service Plan © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
23
6/5/2018 9:51 PM Demo © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
24
Tips for Working with Pv2 Plan
6/5/2018 9:51 PM Tips for Working with Pv2 Plan © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
25
Tips and Tricks: Pv2 Plan
6/5/2018 9:51 PM Tips and Tricks: Pv2 Plan Guaranteeing you can scale into Pv2: Create a new Resource Group (RG) Create a new app + app service plan in the new RG using your desired region Select a Pv2 plan when creating app service plan Then scale down to a lower pricing tier You will always be able to scale back up in the future to Pv2 azure cli syntax: az group create --location northeurope --name MyRG az appservice plan create --resource-group MyRG --name MyAppServicePlan --sku P1V2 © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
26
6/5/2018 9:51 PM Demo © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
27
Tips and Tricks: Highlights
6/5/2018 9:51 PM Tips and Tricks: Highlights Be aware of resource impact of deployments and deployment slots Use (2 or more) worker instances + Local Cache + App Init + Slots for mission critical apps Easily lockdown inbound access w/ IP Address Restrictions Serve static content from Azure CDN Try out the new Pv2 plans w/ substantially higher performance! © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
28
Please evaluate this session
Tech Ready 15 6/5/2018 Please evaluate this session From your Please expand notes window at bottom of slide and read. Then Delete this text box. PC or tablet: visit MyIgnite Phone: download and use the Microsoft Ignite mobile app Your input is important! © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
29
App Service Sessions at Ignite!
6/5/2018 9:51 PM Title Level Speaker Time Code Room An overview of Web Apps for Containers on Linux 200 Sunitha Muthukrishna James Christianson Tuesday, 9/26, 10:45am BRK2187 OCCC S310 Tips and tricks: Build and deploy modern applications using Azure App Service 300 Stefan Schackow Tuesday, 9/26, 2:15pm BRK3205 Azure App Service inside your virtual network Christina Compy Wednesday, 9/27, 9:00am BRK3204 Diagnostics and troubleshooting in Azure App Service Support Center Praveen Babu Tirumala Shekhar Gupta Thursday, 9/28, 10:15am BRK2178 Hyatt Regency Windermere W Managing your Azure App Service resources using command line tools Ahmed Elnably Donna Malayeri Thursday, 9/28, 2:00pm BRK2261 OCCC S210 © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
30
Serverless Sessions at Ignite!
6/5/2018 9:51 PM Title Level Speaker Time Code Room Overview of the Microsoft Azure Serverless platform 200 Chris Anderson Raman Sharma Tuesday, 9/26, 4:00pm BRK2237 OCCC S310 Azure Event Grid: Powering Serverless through Eventing Dan Rosanova Wednesday, 9/27, 10:45am BRK2176 A day in the life of an Azure serverless developer 300 Donna Malayeri Wednesday, 9/27, 12:30pm BRK3246 OCCC S330 Delivering simple and powerful serverless business applications Eduardo Laureano Matthew Henderson Thursday, 9/28, 12:30pm BRK2180 Modern API development in a serverless world with Azure Functions Thursday, 9/28, 3:15pm BRK2234 OCCC S210 © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
31
Online Resources Azure App Service Team Blog:
6/5/2018 9:51 PM Online Resources Azure App Service Team Blog: FAQ for Troubleshooting Issues: © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
32
Online Resources Application Initialization + Deployment Slots:
6/5/2018 9:51 PM Online Resources Application Initialization + Deployment Slots: © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
33
Online Resources IP Address Restrictions:
6/5/2018 9:51 PM Online Resources IP Address Restrictions: © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
34
Online Resources Enforcing HTTPS for an app:
6/5/2018 9:51 PM Online Resources Enforcing HTTPS for an app: and © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
35
Online Resources Setting up and using client certificate authN:
6/5/2018 9:51 PM Online Resources Setting up and using client certificate authN: © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
36
Online Resources Using certificates stored in Azure Key Vault:
6/5/2018 9:51 PM Online Resources Using certificates stored in Azure Key Vault: © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
37
Online Resources Installing public certificates:
6/5/2018 9:51 PM Online Resources Installing public certificates: and © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
38
Online Resources Per Site Scaling:
6/5/2018 9:51 PM Online Resources Per Site Scaling: © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
39
Online Resources Additional Useful Links:
6/5/2018 9:51 PM Online Resources Additional Useful Links: © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
40
6/5/2018 9:51 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.