Recommendation of Azure App Service Environment.

Introduction

The App Service Environment is a way to deploy App Service within a virtual network.
There are two types.

Create App Service Environment

First we will create an App Service Environment.
The essential point is to create the side. It is like a box to put App Service.

$certificate = New-SelfSignedCertificate -certstorelocation cert:\localmachine\my -dnsname "*.internal-contoso.com","*.scm.internal-contoso.com"

$certThumbprint = "cert:\localMachine\my\" +$certificate.Thumbprint
$password = ConvertTo-SecureString -String "CHANGETHISPASSWORD" -Force -AsPlainText

$fileName = "exportedcert.pfx"
Export-PfxCertificate -cert $certThumbprint -FilePath $fileName -Password $password
openssl pkcs12 -export -inkey private.pem -in full_chain.pem -out server.pfx
Enter Export Password:
Verifying - Enter Export Password:

Create App Service

I will create a Web App in the usual procedure, but first create a service plan.

192.168.250.11 envdemo-webapp.shinagawa.cloud
192.168.250.11 envdemo-webapp.scm.shinagawa.cloud

Create Application Gateway

Create the Application Gateway in the usual way.

Summary

I explained how to deploy Web App in virtual network by using App Service Environment.
You can improve security by publishing only to Application Gateway outside.
In addition, it is also possible to completely operate on a private network by connecting ExpressRoute or VPN.
Therefore, I think that it is best for the environment of the enterprise.

--

--

--

I’m Japanese, Microsoft MVP for Azure. Alibaba Cloud MVP. Cloud Solution Architect. Azure, AWS, GCP, and Alibaba Cloud. https://twitter.com/jkudo

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

uAdmin the Golang Web Framework #4 Customizing Dashboard

Eight factors to build more secure and performance software

“What Next?”: Building a Pentesting Skillset

Sync PostgreSQL with Elasticsearch

Wait Commands in Selenium WebDriver

Shopping is now a Concurrency Problem

PAI News 📰 — June 15, 2020

Writing Alfred workflows in Go

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jun Kudo

Jun Kudo

I’m Japanese, Microsoft MVP for Azure. Alibaba Cloud MVP. Cloud Solution Architect. Azure, AWS, GCP, and Alibaba Cloud. https://twitter.com/jkudo

More from Medium

Removing orphan records from Azure App Configuration Service when importing the data

Securing your Azure Functions App with API Management

Calling 3rd party API from Azure DevOps dashboard widget

Move an ADE encrypted Azure Windows VM across Azure Subscriptions