From d60ef92088ed213331b9c937b46a61d2914e14d3 Mon Sep 17 00:00:00 2001 From: ncclementi Date: Wed, 3 Jun 2026 18:28:51 -0400 Subject: [PATCH 1/2] update compute engine instructions --- source/cloud/gcp/compute-engine.md | 32 ++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/source/cloud/gcp/compute-engine.md b/source/cloud/gcp/compute-engine.md index d88664fa..febd7656 100644 --- a/source/cloud/gcp/compute-engine.md +++ b/source/cloud/gcp/compute-engine.md @@ -36,16 +36,19 @@ To access Jupyter and Dask we will need to set up some firewall rules to open up 1. Open [**Compute Engine**](https://console.cloud.google.com/compute/instances). 2. Select your VM and press **Edit**. -3. Scroll down to **Networking** and add the `rapids` network tag you gave your firewall rule. -4. Select **Save**. +3. Scroll down to **Networking** section, look for _Network tags_ and add the `rapids` network tag you gave your firewall rule. +4. Under Firewall Allow HTTP and HTTPS traffic as well. +5. Select **Save**. ## Connect to the VM Next we need to connect to the VM. 1. Open [**Compute Engine**](https://console.cloud.google.com/compute/instances). -2. Locate your VM and press the **SSH** button which will open a new browser tab with a terminal. -3. **Read and accept** the NVIDIA installer prompts. +2. Locate your VM + 1. If you allow `0.0.0.0/0` in your IP range in the network setup, you can press the **SSH** button which will open a new browser tab with a terminal, and you will be able to connect to the instance. + 2. If you limit you IP range to a local machine, you can connect via your terminal using gcloud. Press the SSH Dropdown + button and select **View gcloud command** and copy the command in your terminal. ## Install RAPIDS @@ -53,6 +56,27 @@ Next we need to connect to the VM. ``` +````{note} +If you still can't perform the docker commands, and you get this message + +```bash +permission denied while trying to connect to the docker API at unix:///var/run/docker.sock +``` + +It's an issue with adding your user to the docker group. + +```bash +sudo usermod -aG docker $USER +``` + +Exit your terminal to log out and then get back in via SSH, and check `docker` is in groups running: + +```bash +groups +``` +If docker is there, now you will be able to run the docker commands above. +```` + ## Test RAPIDS ```{include} ../../_includes/test-rapids-docker-vm.md From d4137690de201d27b0e14421e317b37a1f295f3f Mon Sep 17 00:00:00 2001 From: ncclementi Date: Wed, 3 Jun 2026 18:36:14 -0400 Subject: [PATCH 2/2] fix text shell rendering --- source/cloud/gcp/compute-engine.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/cloud/gcp/compute-engine.md b/source/cloud/gcp/compute-engine.md index febd7656..567ab1db 100644 --- a/source/cloud/gcp/compute-engine.md +++ b/source/cloud/gcp/compute-engine.md @@ -59,7 +59,7 @@ Next we need to connect to the VM. ````{note} If you still can't perform the docker commands, and you get this message -```bash +```text permission denied while trying to connect to the docker API at unix:///var/run/docker.sock ```