Skip to content

Commit

Permalink
document how to increase AWS EBS volume size
Browse files Browse the repository at this point in the history
  • Loading branch information
sunu committed Dec 19, 2024
1 parent 1a081db commit 14d6e11
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/howto/features/storage-quota.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
12 changes: 12 additions & 0 deletions docs/howto/filesystem-management/increase-size-aws-ebs.md
Original file line number Diff line number Diff line change
@@ -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.
```

0 comments on commit 14d6e11

Please sign in to comment.