What gcp firewall settings are needed to enable file download for wordpress site backup

0 votes

I recently created a wordpress site using the automatically setup version gcp provides: https://console.cloud.google.com/marketplace/product/click-to-deploy-images/wordpress

The firewall it creates is allows ingress for tcp:80 on IP ranges: 0.0.0.0/0 Otherwise, I have the default firewalls that gcp creates and applys to all. All is fine with normal site operation.

I wish to backup/migrate the wordpress site, and attempted to use the All-in-One WP Migration plugin. However, I get an 'server error' when attempting to download a file from it. My best guess (and it is a guess) is that firewall rules are not allowing the file transfer. What firewall settings do I need to allow and/or how do I figure that out? What are the typical firewall options that get set for downloads?

Alternatively, if I am going down the wrong path for backup/migration of a wordpress site on gcp, please let know.

Mar 23, 2022 in GCP by Rahul
• 3,380 points
675 views

1 answer to this question.

0 votes

The firewall rule allowing ingress traffic on tcp port 80 from IP ranges: 0.0.0.0/0 is the right choice for your setup, so the firewall rules might not be the cause of the issue.

I would suggest you to check the following options for troubleshooting -

  1. Make sure your plugins are all updated. You can stop/remove the plugins which are not in use and download the file with trusted and updated plugins.
  2. Ensure that your hypertext access (.htaccess) file is not broken.
  3. Check the ‘error.log’ file to find any specific error.

Please refer to following link for details on how to connect to your wordpress site in GCP via FTP - https://onepagezen.com/manage-wordpress-files-on-google-cloud-platform

You can also explore other ways to successfully download your wordpress files in the following link - https://blogvault.net/how-to-migrate-wordpress-site

answered Apr 5, 2022 by Korak
• 5,820 points

Related Questions In GCP

0 votes
1 answer

What are the libraries and tools for cloud storage on GCP?

At the center level, XML API and ...READ MORE

answered Oct 7, 2019 in GCP by Sirajul
• 59,230 points
1,688 views
0 votes
1 answer

What are the service accounts in GCP? How to create one?

The special accounts associated with a project are called the Service Accounts. The ...READ MORE

answered Oct 9, 2019 in GCP by Sirajul
• 59,230 points
667 views
0 votes
1 answer
0 votes
1 answer

What are the advantages of using gcp?

Google Cloud Platform is a medium that ...READ MORE

answered Oct 4, 2019 in GCP by Sirajul
• 59,230 points
1,327 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How can i grant access to a GCP project for a large scale multiple users at once?

gcloud auth to service accounts is allowed. ...READ MORE

answered Oct 16, 2019 in GCP by Sirajul
• 59,230 points
1,128 views
0 votes
1 answer

What are approaches to calling gcp APIs from terraform? For ex, creating GCP pubsub Snapshot

You don't want to start using null ...READ MORE

answered Apr 6, 2022 in GCP by Korak
• 5,820 points
484 views
0 votes
1 answer

How can I tell how much it costs to run a low traffic WordPress site on GCP?

Running a 2x g1-small (1 vCPU, 1.7 ...READ MORE

answered Apr 6, 2022 in GCP by Korak
• 5,820 points
344 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP