Increase the size of an AWS EBS volume

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:

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.

After updating the tfvars file, we need to plan and apply the changes using terraform:

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.