wordpress-linux-appservice/README.md

9.9 KiB
Исходник Постоянная ссылка Ответственный История

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. Its 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 Tag OS PHP Version Nginx version Comments
mcr.microsoft.com/appsvc/wordpress-alpine-php 8.3 Alpine Linux 3.20 8.3.8 1.26.1 Supported and recommended
mcr.microsoft.com/appsvc/wordpress-alpine-php 8.2 Alpine Linux 3.20 8.2.20 1.26.1 Supported
mcr.microsoft.com/appsvc/wordpress-alpine-php 8.0 Alpine Linux 3.16 8.0.30 1.24.0 ⚠️ End of Life
mcr.microsoft.com/appsvc/wordpress-alpine-php latest Alpine Linux 3.16 8.0.30 1.24.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 opencode@microsoft.com 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.