This lab walks you through Installing WordPress on Compute engine using Startup Script.
Make sure, you have completed the Compute Engine lab and Cloud Storage lab. This lab will directly jump on to building WordPress, and not get into the detail of Compute Engine. If you have not completed the previous labs, we recommend you complete the previous labs first.
In this lab, we will use a Startup script to install WordPress, connect with Cloud SQL Database, and then use Object URL to insert an image into WordPress.
Duration: 60 minutes
In this lab, we will create a Compute Engine using a WordPress Startup script. There is another way where you can use WordPress Image to launch the instance but that could be an expensive approach. We have provided the startup script and way to connect to the Database and uploading a GCS Object to WordPress.
Login into GCP Console.
Creating a Firewall Rule.
Creating a Compute Engine using a Startup script.
Creating a Cloud SQL Instance.
Creating a Cloud SQL Database.
Creating a Cloud Storage Bucket.
Uploading an image file to the Bucket.
Using the object URL to insert the image into WordPress Blog.
Testing the WordPress Site.