Skip to content

Simple Azure App Service Landing Zone consisting of an Internal Load Balanced (ILB) App Service Environment (ASE), An Application Gateway and a Point-to-site (P2S) VPN connection

Notifications You must be signed in to change notification settings

fortunkam/ase-appgateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Deploy an ASE with an App Gateway

Before running the Terraform scripts there is a powershell script that needs to be run first to generate and import the certificates needed for the Point-to-site VPN. /Terraform/scripts/CreateVPNCert.ps1

This repo has been tested using the following configuration

  • Terraform v0.12.24
  • Powershell Core v7 ("Classic" powershell won't work, I need a feature that was introduced in v6 !)

Once that is done, navigate to the Terraform folder in a powershell console. Run terraform init then terraform apply to install everything. WARNING: This script takes a while to deploy (~2 hours), the ASE,AppPlan and VPN Gateways make up the majority of this time!

What you are getting is..

  • 2 peered vnets
  • A VPN Gateway configured for a Point-to-site VPN
  • An ILB ASE
  • An App Gateway
  • A VM (Bastion) for remote access (if the P2S VPN doesn't work)
  • 2 private DNS zones for the ASE
  • An App Plan and Website running on the ASE.

NOTE: The App Gateway deployed assumes that only the single site is accessible on port 80. If you want to use host name routing on the App Gateway (and therefore multiple applications exposed) you need to configure it by using an internet resolvable domain name. See here https://docs.microsoft.com/en-us/azure/app-service/environment/integrate-with-application-gateway for more details

In order to use the Point-to-site VPN, Once the deploy is complete you will need to go to the azure portal to download the VPN client from the VPN gateway. The required certificate should already be installed on your machine (CurrentUser store)

About

Simple Azure App Service Landing Zone consisting of an Internal Load Balanced (ILB) App Service Environment (ASE), An Application Gateway and a Point-to-site (P2S) VPN connection

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published