Add VM as a User Node on Google Cloud

To add a new host to your platform installation on the Google Cloud, access the GCloud console and follow the next steps:

1. Open the VM Instances section and click on your PaaS installation to view details.

VM on Google cloud details

2. Locate information on the Zone (region), Network, and Subnetwork for this VM.

VM on Google zone details

VM on Google network details

3. Create a new VM within the same region as the main PaaS instance. Any preferable zone can be selected.

Tip: For example, if the us-central1 region is used, you can choose any of its zones, e.g. us-central1-a, us-central1-b, etc.

create Google instance for PaaS

4. Next, select the Centos 7 as your Boot disk and provide at least 100 GB of disk space.

VM boot disk settings

5. Set Network and Subnetwork the same as for your main VM.

configure network on Google instance for PaaS

Create the configured instance when ready.

6. Log in to the Cluster Admin Panel and navigate to the Hosts section.

Note: If you need to add a new host to a non-default host group, follow the steps in the linked guide.

Standard Edition admin panel

Click the Add > SSH Command button in the tools panel.

7. Within the opened frame, copy the command for a new host addition.

SSH command for hardware host addition

8. Connect to the server you’ve added on the Google Cloud via SSH and get root privileges by executing:

1
sudo su

9. Run the host addition command from the 7th step.

That’s all! When the operation is completed, the server will be added to the PaaS cluster with all required interconnections.

What’s next?