NAMESBUDDY

How to Setup FTP with Google Cloud Using Filezilla

Published by Shiv K on

Are you feeling difficulty in setting up FTP with Google Cloud? It’s quite common for new bloggers who plan to host their website on Google Cloud as it involves some technical knowledge. Google Cloud Platform is a cloud computing service offered by Google.

how to setup ftp google cloud using filezilla

Setting up FTP( File Transfer Protocol) helps to manage website files remotely, which means you can manage the server files directly from your computer.

For instance, if you are hosting a WordPress website on Google Cloud, you made a technical mistake while managing your website; unfortunately, you cannot access the WordPress dashboard. Then what you do? In this case, FTP helps you to access your website files directly from your desktop so that you can rectify your mistake. There are several uses with FTP; you can upload, delete or edit the files, etc.

The famous FTP service provider is FileZilla, and it is free. Now we enter into the tutorial.

FileZilla FTP Setup with Google Cloud Platform (GCP)

For this tutorial, you need a WordPress website deployed in Google Cloud Platform, FileZilla, and PuTTY. PuTTY is a free SSH client.

WordPress Deployed In GCP

Google Cloud Platform is a major cloud service in the market. You can directly deploy a WordPress website using Marketplace in GCP. In Marketplace, they offer different kinds of services, one of them is WordPress. Here you can find WordPress is offered by different providers.

Get FileZilla FTP Client

Let’s assume we have a WordPress deployed website in Google Cloud; now we need FileZilla. So first, download FileZilla from its official website. Download the file from the Windows-only option if you are using a Windows desktop. After successful installation, now go for downloading the PuTTY key generator.

Get PuTTY Key Generator

Here we use PuTTY for generating SSH key for making a connection between Google Cloud Platform and FileZilla FTP Client. Now we download PuTTY from its website. You will find 3 options; you can go for the first option, which is Download PuTTY.

After clicking on this link, it will go to another page.

Download from first two options, you can go for 64-bit, if you use that.

After downloading and installing the package, you will find a file with the name PuTTY (64-bit); in that file, you will have the PuTTYgen application.

Obtain SSH Key to Connect with GCP

After installing both of these applications, you need to generate an SSH key from the PuTTY key generator. After opening the PuTTY key generator, you will find Generate button; click on that.

It will generate a key; you will find the public key and key comment, you need both these for further actions. Now save the generated key as a private key on your desktop.

Now copy the public key

Save Public Key In GCP

After getting the SSH key, go to the GCP console. Now you have to find the metadata option from compute engine.

In metadata, you will find two options, go to SSH keys, click on Add SSH keys.

Paste the public key which you have copied and click on save.

Establish Connection with FileZilla

Now open FileZilla, open settings by clicking on Edit. You will find SFTP from the Connection menu. Click on Add key file, upload the key which you have saved as a private key, and click OK.

Now again, go to GCP console > Compute Engine > VM instances. Copy the External IP of the WordPress instance, paste it on the FileZilla Host box, with sftp://, for example, external IP is 10.00.123, then the host will be sftp://10.00.123

And also, copy the key comment from the PuTTY key generator which you have generated earlier, paste it on the username box in FileZilla.

After filling both these boxes, click on Quickconnect. That’s it you got the access to your files.

If you have find any problem while doing this tutorial, see this pdf file, in this I have attached all the necessary screenshots.

Categories: Hosting

Shiv K

I have completed Masters in Business Administration. I'm a Blogger and I love to travel.

0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *