Change the default storage size - 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

You can change the default storage settings of 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 of your users, do the following:

  1. Update the Amazon EBS storage settings in the domain.

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

Use the following Amazon Command Line Interface (Amazon CLI) command to update the domain.

aws --region $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 $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 $REGION sagemaker update-user-profile \ --domain-id $DOMAIN_ID \ --user-profile-name $USER_PROFILE_NAME \ --user-settings '{ "SpaceStorageSettings": { "DefaultEbsStorageSettings":{ "DefaultEbsVolumeSizeInGb":25, "MaximumEbsVolumeSizeInGb":200 } } }'