How to Migrate a Website to Google Cloud Platform

If you already have a website hosting with a different provider, and you want to migrate your site to Google Cloud Platform, you will need to create a website on Google Cloud Platform first. Please see below to create a website on Google Cloud Platform:

  1. How to Create a Project on GCP
  2. How to Change Project Name on GCP
  3. How to Deploy WordPress on GCP
  4. How to Change phpMyAdmin Password
  5. How to Change WordPress Admin Password
  6. How to Enable Cloud DNS API on GCP
  7. How to Create Cloud DNS Zone on GCP
  8. How to Reserve Static IP Address on GCP
  9. How to Fix WordPress Permalink Issue on GCP
  10. How to Set Up Domain Name with GCP
  11. How to Set Up FTP with FileZilla on GCP
  12. How to Change Machine Type on GCP
  13. How to Delete a Project on GCP

After you create a website on Google Cloud Platform, please go back to your current website and back up it. There are many different softwares and methods to backup your website. We will use the All-in-One WP migration plugin in this example.

If your website is less than 512 MB, the plugin is for free, however, there will be a charge of $69 if your site is over 512 MB, which is one time charge on any number of websites that you own.

Part I: Install All-in-One WP Migration Plugin

Step 1: Login your existing website and click "Plugins" from the menu on the left, then select "Add New";

Step 2: Type "All-in-One" in the "Keyword" box, and click "Install now" to install the plug-in;

Step 3: Click the "Activate" button to activate the plugin;

Part II: Backup/Export Website File

Step 4: Click "All-in-One WP Migration", and click "Backups" or "Export";

Step 5: Click the "Create Backup" button;

Step 6: Click "Download" to download your website file.

Part III: Import Website Files to GCP

After downloading the website files on your computer, login the website you created on Google Cloud Platform, and repeat step 1 to step 3 above to install and activate the "All-in-One WP Migration" plugin;

Step 7: Click "All-in-One WP Migration", and click "Import";

Step 8: Click the "Import From" button and navigate to the file you downloaded in step 4 to step 6;

Step 9: Click "Proceed", which is to overwrite the website on Google Cloud Platform;

Step 10: Set up the permalinks and click "Finish".

Please note that you will use the admin user name and password of the existing website after the migration.

Step 11: You may need to refresh the permalinks after migration. Click the "Permalinks" under "Settings" from the menu on the left. On the permalinks page, check and save one permalink type different from the default, then click the permalink you want and save again.

Leave a Reply