From 14d6e112966ecf3c6e2b66860c087987a0e1afd4 Mon Sep 17 00:00:00 2001 From: Tarashish Mishra Date: Thu, 19 Dec 2024 12:51:54 +0530 Subject: [PATCH] document how to increase AWS EBS volume size --- docs/howto/features/storage-quota.md | 3 +++ .../filesystem-management/increase-size-aws-ebs.md | 12 ++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 docs/howto/filesystem-management/increase-size-aws-ebs.md diff --git a/docs/howto/features/storage-quota.md b/docs/howto/features/storage-quota.md index c12748467..d9b0da3dc 100644 --- a/docs/howto/features/storage-quota.md +++ b/docs/howto/features/storage-quota.md @@ -190,6 +190,9 @@ prometheus: channel: pagerduty ``` +## Increasing the size of the volume used by the NFS server + +If the volume used by the NFS server is close to being full, we may need to increase the size of the volume. This can be done by following the instructions in the [Increase the size of an AWS EBS volume](howto:increase-size-aws-ebs) guide. ## Troubleshooting diff --git a/docs/howto/filesystem-management/increase-size-aws-ebs.md b/docs/howto/filesystem-management/increase-size-aws-ebs.md new file mode 100644 index 000000000..35697cd1a --- /dev/null +++ b/docs/howto/filesystem-management/increase-size-aws-ebs.md @@ -0,0 +1,12 @@ +(howto:increase-size-aws-ebs)= +# Increase the size of an AWS EBS volume + +To increase the size of an AWS EBS volume, we need to increase the size of the EBS volume in the [tfvars file of the hub](https://github.com/2i2c-org/infrastructure/tree/main/terraform/aws/projects): + +For example, to increase the size of the EBS volume used by `jupyterhub-home-nfs` for the `staging` hub in the `nasa-veda` cluster, we would increase the `size` parameter in the `ebs_volumes` block for the `staging` hub in the [tfvars file for the `nasa-veda` cluster](https://github.com/2i2c-org/infrastructure/blob/main/terraform/aws/projects/nasa-veda.tfvars). + +The EBS volume will be resized automatically when the hub is deployed. + +```{note} +The size of an EBS volume can only be increased, not decreased. +```