How to deploy a website code into a compute engine virtual machine and serve the website from GCP

What we accomplished in this tutorial

i) We cloned a website code from GitHub into a compute engine virtual machine on Google Cloud Platform (GCP);

ii) We viewed a web page from the virtual machine from a browser over the internet.

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.