Installing Wordpress on Compute Engine and using Cloud SQL as Database

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 SQL 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, and then connect WordPress with Cloud SQL. 

  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.

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. Create a Cloud SQL Database.

  6. Configuring WordPress to connect with Cloud SQL

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