Define Your Azure Web App Infrastructure
Currently, this feature is behind the Feature Flag AZURE_WEBAPP
. Contact Harness Support to enable the feature.The target Azure environment for your Harness Web App deployment is defined in a Harness Environment's Infrastructure Definition.
You simply select the Web App's Subscription and Resource Group.
You can also provision the infrastructure and Web App as part of your Workflow.
Before You Begin
- Azure Web App Deployments Overview
- Make sure that you have connected Harness to your Azure subscription as described in Connect to Azure and Artifact Repo for Your Web App Deployments.
- Add Your Docker Image for Azure Web App Deployment
- Add Non-Containerized Artifacts for Azure Web App Deployment
Visual Summary
Supported Platforms and Technologies
See Supported Platforms and Technologies.
Step 1: Create an Environment
In your Harness Application, click Environments.
Click Add Environment.
Enter a name and select an Environment Type for your Environment, and click Submit.
The Environment Type here doesn't relate to the production or non-production slots of your Web App.
A Harness Environment Type is simply a way to organize your work environments.
Step 2: Create an Infrastructure Definition
In the new Environment, click Add Infrastructure Definition.
Enter the following settings: