Production ready LNMP stack on Azure by cloudimg. Nginx 1.28, MySQL 8.4 LTS, PHP FPM 8.3 on Ubuntu 24.04 LTS. Per VM unique MySQL credentials on first boot, cloudimg welcome page, hardened Nginx headers. 24/7 expert support.
## LNMP Stack on Ubuntu 24.04 LTS by cloudimg
Enterprise grade LNMP stack virtual machine image, purpose built for Microsoft Azure and maintained by cloudimg. Nginx, MySQL 8.4 LTS, and PHP FPM 8.3 are pre installed, tuned, and validated against a real HTTP and SQL round trip on first boot.
Why Choose cloudimg?
* 24/7 Expert Support with guaranteed 24 hour response for all requests and one hour average for critical issues. Contact support@cloudimg.co.uk
* Production Ready from Launch Pre configured, security patched, and validated
* Azure Native Integration Built with Azure Linux Agent, cloud init, Gen2 Hyper V support
* Unique Per VM Credentials MySQL root password and application database password generated on first boot, never shared across deployments
What's Included
* Nginx 1.28 Stable from the official nginx.org APT repository with server_tokens off
* MySQL 8.4 Long Term Support from the official repo.mysql.com APT repository
* PHP FPM 8.3 with the mysqli, pdo_mysql, gd, mbstring, curl, xml, zip, intl, and opcache extensions
* Cloudimg sample PHP landing page that live verifies MySQL connectivity
* Default application database cloudimg_app and app user cloudimg_app on MySQL
* lnmp firstboot.service that rotates credentials per VM on first boot
* Credentials written to /stage/scripts/lnmp credentials.log (mode 0600, root only)
* Nginx server block with FastCGI upstream to the PHP FPM Unix socket
* Azure Linux Agent (waagent) for cloud integration
* Gen2 Hyper V virtual machine support
LNMP Stack Components
Nginx is the most widely deployed web server on the Internet and excels at reverse proxy, TLS termination, and static content serving. MySQL 8.4 LTS is the current Long Term Support release, supported until April 2032. PHP FPM 8.3 is the latest stable PHP FastCGI Process Manager with improved performance, readonly classes, and typed class constants.
Use Cases
* WordPress, Drupal, Joomla, and other PHP content management systems running on Nginx
* Laravel, Symfony, and other PHP frameworks behind Nginx and PHP FPM
* E commerce platforms (WooCommerce, Magento, PrestaShop) on a high performance Nginx stack
* Custom PHP web applications with MySQL storage and Nginx as the edge
* API backends where Nginx does TLS termination and load balancing in front of PHP FPM
* Static single page applications with a PHP FPM API on the same host
Technical Specifications
* Web Server: Nginx 1.28 Stable mainline (latest 1.28.x)
* Database: MySQL 8.4 LTS Community Server (latest 8.4.x)
* Language: PHP FPM 8.3 (latest 8.3.x)
* OS: Ubuntu 24.04 LTS (Noble Numbat)
* VM Generation: Hyper V Gen2 with UEFI boot
* Default User: azureuser (sudo enabled)
* HTTP Port: 80 (TCP), HTTPS Port: 443 (TCP)
* MySQL Port: 3306 (TCP, bound to localhost only for security)
* Webroot: /var/www/html
* Config: /etc/nginx/, /etc/mysql/, /etc/php/8.3/fpm/
* PHP FPM Socket: /run/php/php fpm.sock (Unix domain socket)
Support
cloudimg provides 24/7/365 expert technical support. Guaranteed response within 24 hours, one hour average for critical issues. Contact support@cloudimg.co.uk.
Visit www.cloudimg.co.uk/guides/lnmp-stack-on-ubuntu-24-04-azure for the user guide and www.cloudimg.co.uk/products for our catalogue.
Nginx, MySQL, and PHP are trademarks of their respective owners. This image is provided by cloudimg. Additional charges apply for build, maintenance, and 24/7 support.