In this blog post, I will describe how to automate the installation of LEMP stack on Ubuntu server using cloud-init. cloud-init allows us to spin a server for testing/development. LEMP stack consists of four major software components.
- Linux – The operating system on which the EMP is running.
- NGINX – Another powerful web server, similar to Apache.
- MariaDB – An open-source relational database management system.
- PHP – Server-side scripting language used to process web pages.
You can further enhance the configuration by pulling code automatically from a Git repository and also configure the database automatically.
Further information about LEMP stack is available at https://lemp.io.