Skip to content

Commit

Permalink
Restructure and add note on boot disk size
Browse files Browse the repository at this point in the history
  • Loading branch information
sgibson91 committed Aug 5, 2021
1 parent f447d30 commit 2b0fe35
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions docs/howto/operate/manual-nfs-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,7 @@ More information about the NFS Server can be found in {ref}`/topic/storage-layer
## Deploy the host Virtual Machine

We need to first deploy a small virtual machine with a persistent disk that will host the NFS server.
Using `gcloud`, the command is:

```bash
gcloud compute instances create nfs-server-01 \
--image=ubuntu-2004-focal-v20210720 \
--image-project=ubuntu-os-cloud \
--machine-type=g1-small \
--boot-disk-device-name=nfs-server-01 \
--boot-disk-size=100GB \
--boot-disk-type=pd-standard
```
You can use `gcloud` commands to achieve this.

````{note}
To find the values of `--image` and `--image-project`, run the following:
Expand All @@ -34,6 +24,21 @@ gcloud computer images describe IMAGE_NAME --project=IMAGE_PROJECT
```
````

```bash
gcloud compute instances create nfs-server-01 \
--image=ubuntu-2004-focal-v20210720 \
--image-project=ubuntu-os-cloud \
--machine-type=g1-small \
--boot-disk-device-name=nfs-server-01 \
--boot-disk-size=100GB \
--boot-disk-type=pd-standard
```

````{note}
The boot disk is where users' home directories and data are stored.
Feel free to increase `--boot-disk-size` if 100GB won't be enough.
````

```{note}
If deploying a NFS server for a **private** cluster, add the `--no-address` flag to the `gcloud compute instances create` command.
This will prevent the VM trying to claim an external IP address, which will not be allowed within the private configuration.
Expand Down

0 comments on commit 2b0fe35

Please sign in to comment.