Create a web app from the Azure Marketplace

The Azure Marketplace provides a wide range of popular web apps developed by open source software communities, for example WordPress and Umbraco CMS. In this tutorial, you learn how to create WordPress app from Azure marketplace. which creates an Azure Web App and MySQL database.

Example WordPress web app dashboard

Before you begin

If you don't have an Azure subscription, create a free account before you begin.

Deploy from Azure Marketplace

Follow the steps below to deploy WordPress from Azure Marketplace.

Sign in to Azure

Log in to the Azure portal.

Deploy WordPress Template

The Azure Marketplace provides templates for setting up resources, setup the WordPress Template to get started.

Enter the following information to deploy the WordPress app and its resources.

WordPress create flow

Field Suggested Value Description
App Name mywordpressapp Enter a unique app name for your Web App Name. This name is used as part of the default DNS name for your app <app_name>, so it needs to be unique across all apps in Azure. You can later map a custom domain name to your app before you expose it to your users
Subscription Pay-As-You-Go Select a Subscription. If you have multiple subscriptions, choose the appropriate subscription.
Resource Group mywordpressappgroup Enter a resource group. A resource group is a logical container into which Azure resources like web apps, databases that is deployed and managed. You can create a resource group or use an existing one
App Service Plan myappplan App Service plans represent the collection of physical resources used to host your apps. Select the Location and the Pricing tier. For more information on pricing, see App service pricing tier
Database mywordpressapp Select the appropriate database provider for MySQL. Web Apps supports ClearDB, Azure Database for MySQL and MySQL in-app. For more details, see Database configuration section below.
Application Insights ON or OFF This is optional. Application Insights provides monitoring services for your web app by clicking ON.

Database Configuration

Follow the steps below based on your choice of MySQL database provider. It is recommended that both Web App and MySQL database be in the same location.


ClearDB is a third-party solution for a fully integrated MySQL service on Azure. In order to use ClearDB databases, you will need to associate a credit card to your Azure account. If you selected ClearDB database provider, you can view a list of existing databases to choose from or click Create new button to create a database.

ClearDB Create

Azure Database for MySQL (Preview)

Azure Database for MySQL provides a managed database service for app development and deployment that allows you to stand up a MySQL database in minutes and scale on the fly on the cloud you trust most. With inclusive pricing models, you get all the capabilities you want like high-availability, security, and recovery – built in, at no extra cost. Click Pricing tier to choose a different pricing tier. To use an existing database or existing MySQL server, use an existing resource group in which the server resides.

Configure the database settings for the web app


Azure Database for MySQL (Preview) and Web App on Linux (Preview) are not available in all regions. To learn more about Azure Database for MySQL (Preview) and Web App on Linux limitations.

MySQL in-app

MySQL in-app is a feature of App Service which enables running MySql natively on the platform. The core functionality supported with the release of the feature:

  • MySQL server running on the same instance side by side with your web server hosting the site. This boosts performance of your application.
  • Storage is shared between both MySQL and your web app files. Note with Free and Shared plans you may hit our quota limits when using the site based on the actions you perform. Check out quota limitations for Free and Shared plans.
  • You can turn on Slow query logging and general logging for MySQL. Note that this can impact the site performance and should NOT always be turned ON. The logging feature helps investigating any application issues.

For more details, check out this article

MySQL in-app management

You can watch the progress by clicking the bell icon at the top of the portal page while the WordPress app is being deployed.
Progress indicator

Manage your new Azure web app

Go to the Azure portal to take a look at the web app you just created.

To do this, sign in to

From the left menu, click App Services, then click the name of your Azure web app.

Portal navigation to Azure web app

You have landed in your web app's blade (a portal page that opens horizontally).

By default, your web app's blade shows the Overview page. This page gives you a view of how your app is doing. Here, you can also perform basic management tasks like browse, stop, start, restart, and delete. The tabs on the left side of the blade shows the different configuration pages you can open.

App Service blade in Azure portal

These tabs in the blade show the many great features you can add to your web app. The following list gives you just a few of the possibilities:

  • Map a custom DNS name
  • Bind a custom SSL certificate
  • Configure continuous deployment
  • Scale up and out
  • Add user authentication

Complete the 5-minute WordPress installation wizard to have WordPress app up and running. Check out Wordpress documentation to develop your web app.

Wordpress install wizard

Configuring your app

There are multiple steps involved in managing your WordPress app before it is ready for production use. Follow these steps to configure and manage your WordPress app:

To do this... Use this...
Upload or store large files WordPress plugin for using Blob storage
Send email Purchase SendGrid email service and use the WordPress plugin for using SendGrid to configure it
Custom domain names Configure a custom domain name in Azure App Service
HTTPS Enable HTTPS for a web app in Azure App Service
Pre-production validation Set up staging and dev environments for web apps in Azure App Service
Monitoring and troubleshooting Enable diagnostics logging for web apps in Azure App Service and Monitor Web Apps in Azure App Service
Deploy your site Deploy a web app in Azure App Service

Secure your app

There are multiple steps involved in managing your WordPress app before it is ready for production use. Follow these steps to configure and manage your WordPress app:

To do this... Use this...
Strong Username and Password Change password frequently. Do not use commonly used usernames like admin or wordpress etc. Force all WordPress users to use unique username and strong passwords.
Stay up-to-date Keep your WordPress core, themes, plugins up to date. Use the latest PHP runtime available in Azure App service
Update WordPress Security keys Update WordPress security key to improve encryption stored in cookies

Improve Performance

Performance in the cloud is achieved primarily through caching and scale-out. However, the memory, bandwidth, and other attributes of Web Apps hosting should be considered.

To do this... Use this...
Understand App Service instance capabilities Pricing details, including capabilities of App Service tiers
Cache resources Use Azure Redis cache, or one of the other caching offerings in the Azure Store
Scale your application You need to scale the web app in Azure App Service and/or MySQL database. MySQL in-app does not support scale-out, hence choose ClearDB or Azure Database for MySQL (Preview). Scale Azure database for MySQL (Preview) or if using ClearDB High Availability Routing to scale up your database

Availability and disaster recovery

High availability includes the aspect of disaster recovery to maintain business continuity. Planning for failures and disasters in the cloud requires you to recognize the failures quickly. These solutions help implement a strategy for high availability.

To do this... Use this...
Load balance sites or geo-distribute sites Route traffic with Azure Traffic Manager
Back up and restore Back up a web app in Azure App Service and Restore a web app in Azure App Service

Next steps

Learn about various features of App Service to develop and scale.