Skip to content

Azure/wordpress-linux-appservice

Repository files navigation

WordPress on Azure App Service

Deploy to Azure


πŸ” Overview

Whether you're handling a few thousand visitors daily on your eCommerce platform or drawing in large crowds to your content, it's essential that your site is fast and always available to keep your audience engaged. Our cloud solutions ensure high availability, speed, scalability, and security β€” so you can confidently deliver a seamless digital experience.

WordPress on Azure App Service is a fully managed PaaS offering that takes care of infrastructure maintenance, security patching, and scaling for you as described here. It also supports virtual networks and can run in an isolated, dedicated App Service Environment. Features like automatic WordPress updates, threat detection, and free SSL encryption are included to enhance security for all our customers.

While there are multiple WordPress options on Azure, we recommend starting with WordPress on Azure App Service from the Azure Marketplace. This Marketplace offering is optimized for Linux App Service, making it easy to install. This comes with the latest software packages, tailored SKU sizes for both Azure App Service and Azure Database for MySQL Flexible Server, and include dedicated support from the App Service team.


🧠 Concepts

Key Features:

  • πŸ›‘οΈ Automatic security patches: Updates are applied within 45 days, following the support policy, to keep your WordPress site secure.

  • πŸš€ Pre-configured Azure CDN and Blob Storage: Optimized for content delivery, ensuring high availability and performance across the globe.

  • πŸ—οΈ Best practices from Azure Well-Architected Framework: The default setup follows Azure's best practices for security, scalability, and performance.

  • πŸ“ˆ Flexible hosting plans: Ranges from small hobby projects to large enterprise needs, offering scalability and customization.

  • πŸ”„ Built-in infrastructure maintenance: Automatic updates and security patches without manual intervention.

  • πŸ“Š Automatic scaling: Resources dynamically adjust based on traffic, ensuring seamless user experiences.

  • πŸ”’ SSL Certificates: Free SSL certificates for traffic encryption to secure your website.

  • πŸ”— Virtual Networks: Support for secure, isolated environments to enhance your site's security and performance.

  • 🌍 Multi-cloud Availability: Available in public cloud, US Government Cloud (Fairfax), and China Cloud (Mooncake).

    High-level architecture WordPress on Linux App Service


πŸš€ Quickstart

1. Deploy WordPress

You can deploy the recommended version of WordPress on Azure App Service directly from the Azure Marketplace. It’s optimized for Linux App Service and pre-configured with recommended software packages, including support for Azure Database for MySQL Flexible Server.

Deploy to Azure

or follow the steps outlined in the ARM template deployment guide found here .

2. Choose an Docker Image

Select from the following WordPress container images:

Image Name Image Stack Version OS PHP Version Comments
mcr.microsoft.com/appsvc/wordpress-debian-php 8.3 Debian bookworm 8.3 βœ… Supported and recommended
mcr.microsoft.com/appsvc/wordpress-debian-php 8.2 Debian bullseye 8.2 βœ… Supported
mcr.microsoft.com/appsvc/wordpress-alpine-php 8.3 Alpine Linux 3 8.3 ⚠️ Supported (End of support Dec'24) but recommended to migrate to Debian based image
mcr.microsoft.com/appsvc/wordpress-alpine-php 8.2 Alpine Linux 3 8.2 ⚠️ Supported (End of support Dec'24) but recommended to migrate to Debian based image
mcr.microsoft.com/appsvc/wordpress-alpine-php 8.0 Alpine Linux 3 8.0 ⚠️ End of Life
mcr.microsoft.com/appsvc/wordpress-alpine-php latest Alpine Linux 3 8.0 ❌ Deprecated (Use a specific numerical tag instead)

Note: The latest tag points to PHP 8.0, which is no longer maintained. Always use a specific version number to avoid issues.

πŸ‘‰ Follow this quick-start tutorial for step-by-step instructions.


πŸ“š Tutorials

πŸ” Security & Identity Management


βš™οΈ Configuration & Customization


πŸ”„ Migration & Database Management


πŸš€ Performance Optimization & Scaling


🌐 Integration & Networking


πŸ”§ Troubleshooting & Debugging


🎯 Development & CI/CD


πŸ€– AI & Automation


🌐 Community and Support

  • Check out our support documentation and engage with the Azure Support or open-source community for assistance.
  • Stay updated with the latest news and features through our blog posts.

🀝 Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.


⚠️ Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.