google-templatesmongodb

Connect to cluster nodes

Some operations such as changing the application password, require that some actions will be repeated in each cluster node. That way, you need to connect to each node for the changes to take effect in the whole cluster. Follow the steps below to connect the cluster nodes in your Google deployments:

  • Log in to the Google Cloud Console and select your project.
  • Navigate to the “Compute Engine -> VM instances” page.

    Select your instances

  • You will see a list of all the instances launched in your project. Click on the instance that corresponds to the node you want to connect.

    Select the node you want to connect

  • Once you are in the “VM instance details” page, go to the “Remote access” section and click the “SSH” button.

    Connect through SSH to the selected node

    Now you should be connected to the node you have selected:

    Connect through SSH to the selected node

NOTE: Remember to repeat the same operation to connect to each cluster node.