Hello everyone – it’s Joe from onepagezen.com. And in this tutorial, I’m going to show you how to manage your WordPress files… On your Google Cloud Platform installation. So the first thing we’re going to do is install Google Cloud SDK. You can do that at cloud.google.com/sdk And you’re going to click “install for Windows”. And I’m going to click this link here to launch the installer. [clicks on downloaded file link] [clicks “agree”] [clicks “next”] [clicks “next”] [clicks [“install”] And click “install”. [gcloud init launches] Ok – now you see we have the command line here. After waiting a few seconds we’ll be prompted to log in, so we’re going to click “yes”. Alright – now this is going to open a link to our Google Cloud Platform account. I want to just bring this down here… [page loading] So you’re going to sign in with whichever account you’re using. And then you have to grant permissions – so I’m going to click “allow”. [loading] Alright – now let’s go back to our mainframe [terminal] here… It’s going to ask us, “Do you want to configure Google Compute Engine?” And we’re going to click “Y” for “Yes.” And it says “which Google Compute Engine zone would you like to use as the default?” I’m going to use… US Central So I think that’s “C”. Alright – now that I’m authenticated I’m going to go back to Google Cloud Platform. And I’m going to go under the SSH column. And I’m going to go to “View gcloud command”. And I’m going to copy this. I’m going to go back to my terminal here. I’m going to paste that, then click “enter”. Alright – now it’s working. This sometimes takes a couple of minutes. Alright. It was successful. So let’s click “yes” to that. And I don’t know what this is – “PuTTY Fatal Error”. That’s unusual. Let me try this again. I’ll see what happens… That’s not the right command. Let me go back to the gcloud command line – I’m going to copy this. Go back to the terminal. I’m going to enter that command again. See what happens this time. Hopefully we don’t get that same error. Ok – I don’t know what the error was last time but it appears to have worked. So our next step, you’re going to go to… In your VM instances, under the connect column. Go to “View gcloud command”. You’re going to copy all of that. And you’re going to paste that into the PuTTY terminal. Which is what we’ve been working in here. Ok – and after you do that the terminal is going to ask you… about generating an SSH key. So I entered the command and it says, “warning the public SSH key file for gcloud does not exist”. And it says “enter passphrase”. So I’m not going to enter a passphrase; you can always enter one. If you want to, for security reasons. Anyways, I’m just going to click “enter” I’m going to click “enter” again. And now it’s updating the MetaData, and this sometimes takes a couple of minutes. Alright – so now that that’s all finished. It says, “updating project SSH MetaData”. That’s all finished. And then it says “Permanently added _ to the list of known hosts”. Ok so perfect – that’s all done. And so you’re wondering “now what do I do?” So we’re going to go to our files in our computer. Alright – so I’m going to go to my file explorer. And I’m going to go to Windows C. So let me just show you here. And then under “users”. [choose your user directory] And then here in this folder called “.ssh” Is where the keys were generated. And now you can see, you have 3 SSH keys [files] to choose from. So what we’re going to do is go into FileZilla. We’re going to go to the edit tab here, then to settings. And we’re going to go to SFTP. And we’re going to go to “Add Key File” And we’re going to add the… PuTTY file. Which shows an icon of a computer with a hat on it. We’re going to add that file. Ok – click “open”. Ok – now that that’s added, perfect. We’re going to click “Ok”. Alright – we’re good to go on that. The next step, we’re going to go back to our Google Cloud Platform. We’re going to go to our VM instances. Then click on our instance. And we’re going to click on the “edit” tab here. Scroll down a little bit, and we’re going to go down to… Where it says, “you have one SSH key”, we’re going to go “show and edit”. Alright – perfect. We’re going to go to… Our file explorer. And see this Microsoft Publisher Document (this 3rd one). We’re going to open that. I’m going to go to “edit with notepad’ Alright – and here is our key, I’m going to copy that. And I’m going to paste it. And notice these last figures here where it says “Laptop…” (Identification stuff) We’re going to backspace all that and we’re going to put “bitnami”… as the user name because that is the name of our WordPress installation on Google Cloud. So perfect. Once that’s been done we’ll scroll down to the bottom and click on save. Alright – it looks like it saved just fine. So we’re going to go up a little bit. And you see here where it says “external IP” We’re going to copy our IP address. And we’re going to go back to FileZilla. We’re going to type sftp:// and we’re going to paste our IP address. And for our username, we are going to enter Bitnami. And we’re going to leave password and port blank. Click connect, and see what happens, hopefully this works, yes it worked just fine look at that. So here you go you have all your website files. Under “bitnami” here… Go to htdocs. Go to “apps”, I’m going to access my WordPress files. Look at under “apps”, there’s WordPress. This will be really useful for you if, say, you’re editing your functions.php file in your WordPress website. And something goes wrong with the code and you need to be able to access your website from the back-end. This is how you would do it. And this is why it’s so important to use and FTP client like this. Just play around with this, and you’ll be able to access all your WordPress files in here. Anyways… If you need more information, or have questions about how this works… Or if you have questions about accessing more of your files… Whatever it may be – make sure to leave a comment in the comment section below. And make sure to subscribe as well. I will be posting a lot of neat Google Cloud tutorials in the next few weeks. So thanks a lot for watching. And remember – if you have any questions make sure to comment in the box below. And thanks for watching.