Google Cloud is the third-largest cloud provider in the cloud market today, ranked after its top competitors, Amazon Web Services (AWS) and Microsoft Azure. Google Cloud is a computing service that provides infrastructure tools and service for users, such as hosting and computing, cloud and data storage.

There are a number of reasons for why Google is one of the powerful providers of cloud hosting:

  • The data center of Google Cloud Platform are located across the world.
  • It has more competitive pricing plans for users.
  • Cutomers will get the great benefit from the security provided by Google.
  • The service offers virtual machines with improved performance, which helps customer website runs faster, more secure and stable.

In this article, we will walk you through a step by step tutorial on how to get the necessry information for accessing Google Cloud Virtual Machine with VPSrobots.

Create a Google Compute Engine VM Instance

Log in Google Cloud Platform with your Gmail account. Now, Google provide users with a free trial, the price of which equals to $300. After logging in, click Menu icon at the top of the left corner to open the navigation menu bar. Click Computer Engine to open the sub-menu and click VM instances option.

Google Cloud Platform navigation menu

Google Cloud Platform navigation menu

 

After that, you are taken to VM instances page. Click Create button to create an insatnce page.

VM instances page

VM instances page

 

On the Create an instance page, fill in the desired properties for your instance. Name your creating instance, select Region, Zone and Machine type from the drop-down menu. You can select the Linux distribution by clicking Change button.

Create an instance

Create an instance

 

Depending on your need, configure Identity and API access, Firewall section. Click and expand Management, Disks, Networking, SSH keys section.

Expand Networking section

Expand Networking section

 

After expanding the section, click Networking option. On Networking section, click the drop-down list under the external IP address option, and select Custom IP address option for reserving a static IP address, which makes Google Cloud Platform reserve the IP address for your project until you decide to release it. If your customer and users access your website with this IP address, I highly recommend you to reserve the IP address so that only your project can use it.

Create a static IP address

Create a static IP address

 

Click Create button to create the new instance. Lastly, you get your IP address which is either a static IP address or ephemeral one.

The new instance

The new instance

 

Generate SSH Key Pairs

Log in VPSrobots client and click Create VPS Node option on the left navigation menu bar. After that, click Google Cloud Computer tab. Using VPSrobots client to access Google Cloud Virtual Machine, besides External IP address, we also need Username and Private Key File. VPSrobots client is inetgrated with PuTTY Key Generator, so you don’t need to download and install it on your computer. Click Open Puttygen option to run PuTTY Key Generator.

Google cloud computer page

Google cloud computer page

 

After that, click Generate button to generate SSH key pairs on PuTTY Key Generator. It will spend a few seconds. During the SSH Key Paris generation, please move your mouse over the blank area on the Generator for generating some randomness. The Key comment is your Username and you can custom it freely. The public key is generated and will be located on the top of the Generator. Regarding the Private Key, you have to export it from the Generator. So click Conversation option on the top to open the drop-down menu and select Export OpenSSH Key option to export the Private Key file to your computer.

PuTTY Key Generator

PuTTY Key Generator

 

Connect to Google Cloud Virtual Machine with SSH Key Pairs

After exporting the Private Key, we have to go back to Google Cloud console. Click Computer Engine option to open the sub-menu and click Metadata option. On Metadata page, click SSH Keys option and copy the Public Key from the PuTTY Key Generator and paste it on the Metadata page and click Save button. Now, we have done everything for accessing Google Cloud Virtual Machine with VPSrobots.

Metadata page

Metadata page

 

So far, we got the three needed information for accessing Google Cloud Virtual Machine with VPSrobots:

  • The external IP address: e.g. 35.12.34.44
  • Username: example
  • Private Key file

We hope this guide helps you learn how to get the necessary information for accessing Google Cloud Virtual Machine with VPSrobots. You may also be interested in our guide on DigitalOcean: things to do before accessing your VPS with VPSrobots.