Skip to content

Latest commit

 

History

History
34 lines (18 loc) · 1.7 KB

7-webAppContainers.md

File metadata and controls

34 lines (18 loc) · 1.7 KB

Step 7 - Deploying to Azure App Service (Containers)

For this step, we'll use the portal to quickly create a Windows OS, Docker Container based Web App. The portal makes light work of pulling our image from the Azure Container Registry.

web app for containers create

Once the image has been pulled, the application is available, running from the same Azure Database.

web app for containers running

https://docs.microsoft.com/en-gb/azure/app-service/configure-custom-container?pivots=container-linux#use-an-image-from-a-private-registry

Using Azure AD for SQL Authentication

Managed Identities provide a great way for Azure services to access other Azure services with a clear RBAC system.

An Azure Web Application can be given an identity which is then leveraged when accessing the SQL Database. You will need to change your code to get an access token to use with the SQL database connection. Read more

Application Settings

Key Vault integration

Observability

  1. Logs
  2. Application Insights

Application Insights

Enable Auto-Instrumentation of your Web App Container to automatically attach an agent to the container. It will collect metrics such as requests, dependencies, latency, and stack traces.

Scalability

ARR affinity is supported.