-

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

  • JupyterLab

  • Editor Kode

Prasyarat

  • For Amazon EFS
    For FSx for Lustre

  • aws sagemaker update-domain --domain-id domain-id \ --default-space-settings file://file-system-settings.json

  • aws sagemaker update-domain --domain-id domain-id \ --default-user-settings file://file-system-settings.json

  • aws sagemaker update-user-profile --domain-id domain-id \ --user-profile-name user-profile-name \ --user-settings file://file-system-settings.json

contoh

For your FSx for Lustre file systems
{ "CustomFileSystemConfigs": [ { "FSxLustreFileSystemConfig": { "FileSystemId": "file-system-id", "FileSystemPath": "/" } } ] }

CustomFileSystemConfigs

FSxLustreFileSystemConfig

FileSystemId

FileSystemPath

For your Amazon EFS file systems
{ "CustomFileSystemConfigs": [ { "EFSFileSystemConfig": { "FileSystemId": "file-system-id", "FileSystemPath": "/" } } ] }

CustomFileSystemConfigs

EFSFileSystemConfig

FileSystemId

FileSystemPath

{ "ExecutionRole": "execution-role-arn" }

ExecutionRole

{ "CustomPosixUserConfig": { "Uid": UID, "Gid": GID } }

CustomPosixUserConfig

catatan

  • Gunakan perintah update-user-profile.

Uid

Gid

  • aws sagemaker create-space \ --space-name space-name \ --domain-id domain-id \ --ownership-settings "OwnerUserProfileName=user-profile-name" \ --space-sharing-settings "SharingType=Private" \ --space-settings file://space-settings.json

    For your FSx for Lustre file systems
    { "AppType": "JupyterLab", "JupyterLabAppSettings": { "DefaultResourceSpec": { "InstanceType": "instance-type" } }, "CustomFileSystems": [ { "FSxLustreFileSystem": { "FileSystemId": "file-system-id" } } ] }
    For your Amazon EFS file systems
    { "AppType": "JupyterLab", "JupyterLabAppSettings": { "DefaultResourceSpec": { "InstanceType": "instance-type" } }, "CustomFileSystems": [ { "EFSFileSystem": { "FileSystemId": "file-system-id" } } ] }