Share via


Configure an Azure Web app

Configure Web app application settings

1.      In the Azure portal, on the blade of the newly created Azure Web app, click Application settings in the SETTINGS section
https://expertslab.files.wordpress.com/2017/12/12.jpg

   Note that some of the settings are currently not available. In particular, you cannot modify the following settings:

    1. Platform (currently set to 32-bit)
    2. Always On (currently set to Off)
    3. Auto Swap and Auto Swap Slot (this setting is dependent on presence of deployment slots, which you have not created yet).

All these features require either the Standard or Premium App Service plan.

2.       On the blade of the newly created Azure Web app, click Scale up (App Service plan) in the SETTINGS section.
https://expertslab.files.wordpress.com/2017/12/14.jpg

3.       On the Choose your pricing tier blade, click S1 Standard and click Select. Wait until the App Service plan is updated.
https://expertslab.files.wordpress.com/2017/12/15.jpg

4.       Switch back to the blade displaying Application settings.

5.       Configure the following settings and click Save:

  • Platform: 64-bit
  • Always On: On
  •  ARR Affinity: ON

https://expertslab.files.wordpress.com/2017/12/13.jpg

Configure Web app deployment slots

1.      Click Deployment slots in the APP DEPLOYMENT section.

2.      Click Add Slot.
https://expertslab.files.wordpress.com/2017/12/21.jpg

3.      On the Add a slot blade, specify the following settings and click OK:

·               Name: staging

·               Configuration Source: the name of the Web app
https://expertslab.files.wordpress.com/2017/12/16.jpg

4.      Switch back to the blade displaying Application settings.

5.      Scroll down to the Auto Swap setting and note the message stating that Auto swap destination cannot be configured from production slot.
https://expertslab.files.wordpress.com/2017/12/18.jpg

6.      Switch back to the deployment slots blade. Click the newly created deployment slot.
https://expertslab.files.wordpress.com/2017/12/17.jpg

7.      On the staging blade, click Application settings in the SETTINGS section.

8.      Note that the staging slot settings match those you configured for the production slot.

9.   Set Auto Swap to On and verify that production appears in the Auto Swap Slot drop down list.
https://expertslab.files.wordpress.com/2017/12/20.jpg

11.   Click Save.

Results: After completing this exercise, you have configured an Azure Web app application settings, scale up a Web app by changing its App Service plan, and configured its deployment slots.