Skip to content

Commit

Permalink
Update the docs to specify that terraform changes
Browse files Browse the repository at this point in the history
should be applied locally
  • Loading branch information
sunu committed Dec 19, 2024
1 parent 7eb2f3d commit 08d9d99
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/howto/filesystem-management/increase-size-aws-ebs.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ To increase the size of an AWS EBS volume, we need to increase the size of the E

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.
After updating the tfvars file, we need to plan and apply the changes using terraform:

```bash
cd terraform/aws
terraform plan -var-file=projects/$CLUSTER_NAME.tfvars
terraform apply -var-file=projects/$CLUSTER_NAME.tfvars
```

```{note}
The size of an EBS volume can only be increased, not decreased.
Expand Down

0 comments on commit 08d9d99

Please sign in to comment.