web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :

How to deploy WordPress on Azure App Service Environment

Alessandro Graps Profile Picture Alessandro Graps 2,664

Today I would like to talk about the opportunity to deploy wordpress on Azure.

After building Web App to Environment, expand MySQL and explain how to deploy WordPress.

In order to expand WordPress create the following environment.

Image for post

The point is to set an endpoint on VNET.
By configuring the service endpoint, we can make the network complete within Azure only.
For this reason, basically you need to work with a springboard server built inside.

Deploy MySQL

MySQL needs to be expanded with General Purpose or higher.
Caution is necessary because service endpoints can not be used when deployed in Basic.
There are no notes except it.

Expand as usual.

Image for post

Create a service endpoint

Select the service endpoint from the virtual network, click Add, select “Microsoft.Sql”, and select the subnet where you deployed the Web App.

Image for post

Next select MySQL connection security and add it to VNET Rules.

Image for post

Select the target virtual network, select the subnet to which the Web App belongs, and create it.

Image for post

Add the subnet on which the Virtual Machine is deployed in the same procedure.

Image for post

Setting of the service end point is completed with the above.

Deploy WordPress

WordPress does not communicate by SSL by default.
Therefore, it is necessary to invalidate the SSL setting of MySQL.

Please refer to the following when enabling SSL and using WordPress.How to connection from WordPress installed on Azure App Service to Azure Database for MySQL via…medium.com

(We will do the work with the virtual machine on the floor.)
After installation, create a DB (schema) to connect to and use MySQL with Workbench etc. to expand WordPress.

Image for post

You download and install WordPress from kudu etc.

Image for post

After that, You will do WordPress setup.

Complete the installation using the created DB name.

When you access it, the top screen of WordPress is displayed

Build & Deploy A WordPress Site: Part 1; LocalHost. - DEV

Summary

By using the service endpoint, you can deploy it to Web App without publishing publicly.
In other words, using service endpoints It is possible to deploy various applications using Web App instead of IaaS.
I hope that you will make more use.


This was originally posted here.

Comments

*This post is locked for comments