How to setup a GCP compute engine virtual machine instance and install Linux, Apache, MariaDB, PHP (LAMP) Stack on Ubuntu 22.04

This guide will show you how to set up a virtual machine and install a LAMP stack on an Ubuntu 22.04 server. It will also show you how to store data in a MariaDB relational database, retrieve the data and serve it on a web page.