ClusterEbsVolumeConfig
¶
Source code in docs_src/capo_sagemaker/types/cluster_ebs_volume_config.py
root_volume
instance-attribute
¶
root_volume: NotRequired[Boolean]
Specifies whether the configuration is for the cluster's root or secondary Amazon EBS volume. You can specify two ClusterEbsVolumeConfig fields to configure both the root and secondary volumes. Set the value to True if you'd like to provide your own customer managed Amazon Web Services KMS key to encrypt the root volume. When True:
-
The configuration is applied to the root volume.
-
You can't specify the
VolumeSizeInGBfield. The size of the root volume is determined for you. -
You must specify a KMS key ID for
VolumeKmsKeyIdto encrypt the root volume with your own KMS key instead of an Amazon Web Services owned KMS key.
Otherwise, by default, the value is False, and the following applies:
-
The configuration is applied to the secondary volume, while the root volume is encrypted with an Amazon Web Services owned key.
-
You must specify the
VolumeSizeInGBfield. -
You can optionally specify the
VolumeKmsKeyIdto encrypt the secondary volume with your own KMS key instead of an Amazon Web Services owned KMS key.
volume_kms_key_id
instance-attribute
¶
volume_kms_key_id: NotRequired[KmsKeyId]
The ID of a KMS key to encrypt the Amazon EBS volume.
volume_size_in_gb
instance-attribute
¶
volume_size_in_gb: NotRequired[ClusterEbsVolumeSizeInGB]
The size in gigabytes (GB) of the additional EBS volume to be attached to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker.