Skip to content

Latest commit

 

History

History
 
 

ase-agent

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

VSTS Build Agent in Private Virtual Network for ASE

The Azure App Service Environment (ASE) allows you to deploy Azure Web Apps into a private environment for enhanced security and access control. One challenge with this configuration is how to orchestrate Continuous Integration and Continuous Deployment (CI/CD) with Visual Studio Team Services or Team Foundation Server into such environments.

This template deploys a VSTS/TFS build agent into the Virtual Network where the ASE is deployed and connects this agent to a VSTS or TFS instance. It also adds appropriate hosts file entries to the agent to allow it to deploy to a specific Web App in an ASE.

To ensure that the configuration of the agen is correct, you need to supply:

  • TSServerUrl: Url of your VSTS/TFS instance
  • AgentPool: Name of the agent pool in the VSTS/TFS instance (needs to be created in advance)
  • PAToken: Personal Access Token for agent to register with the VSTS/TFS instance
  • AseIp: The IP address of the ASE environment.
  • AppDns: The DNS name of the app, e.g. myapp.contoso-internal.us