Change the default storage size for your JupyterLab users - Amazon SageMaker
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Change the default storage size for your JupyterLab users

You can change the default storage settings for your users. You can also change the default storage settings based on your organizational requirements and the needs of your users.

To change the storage size, this section provides commands to do the following:

  1. Update the Amazon EBS storage settings in the Amazon SageMaker domain (domain).

  2. Create a user profile and specify the storage settings within it.

Use the following Amazon Command Line Interface (Amazon CLI) commands to change the default storage size.

Use the following Amazon CLI command to update the domain:

aws --region Amazon Web Services Region sagemaker update-domain \ --domain-id domain-id \ --default-user-settings '{ "SpaceStorageSettings": { "DefaultEbsStorageSettings":{ "DefaultEbsVolumeSizeInGb":5, "MaximumEbsVolumeSizeInGb":100 } } }'

Use the following Amazon CLI command to create the user profile and specify the default storage settings:

aws --region Amazon Web Services Region sagemaker create-user-profile \ --domain-id domain-id \ --user-profile-name user-profile-name \ --user-settings '{ "SpaceStorageSettings": { "DefaultEbsStorageSettings":{ "DefaultEbsVolumeSizeInGb":5, "MaximumEbsVolumeSizeInGb":100 } } }'

Use the following Amazon CLI commands to update the default storage settings in the user profile:

aws --region Amazon Web Services Region sagemaker update-user-profile \ --domain-id domain-id \ --user-profile-name user-profile-name \ --user-settings '{ "SpaceStorageSettings": { "DefaultEbsStorageSettings":{ "DefaultEbsVolumeSizeInGb":25, "MaximumEbsVolumeSizeInGb":200 } } }'