Installing Wordpress on Compute Engine and using Cloud Storage authenticated URLs for images

Lab Details:

  1. This lab walks you through Installing WordPress on Compute engine using Startup Script.

  2. 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. 

  3. 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.

  4. Duration: 60 minutes

Note: Do not refresh the page after you click Start Lab, wait for a few seconds to get the credentials.
In case while login into Google, if it asks for verification, please enter your mobile number and verify with OTP, Don't worry this Google Account will be deleted after the lab.

Lab Overview:

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.

Lab Tasks:

  1. Login into GCP Console.

  2. Creating a Firewall Rule.

  3. Creating a Compute Engine using a Startup script.

  4. Creating a Cloud SQL Instance.

  5. Creating a Cloud SQL Database.

  6. Creating a Cloud Storage Bucket.

  7. Uploading an image file to the Bucket.

  8. Using the object URL to insert the image into WordPress Blog.

  9. Testing the WordPress Site.



Join Whizlabs_Hands-On to Read the Rest of this Lab..and More!

Step 1 : Login to My-Account
Step 2 : Click on "Access Now" to view the course you have purchased
Step 3 : You will be taken to our Learn Management Solution (LMS) to access your Labs,Quiz and Video courses