

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# 未使用のリソースを削除する
<a name="studio-updated-jl-admin-guide-clean-up"></a>

JupyterLab を実行する追加コストが発生しないように、未使用のリソースを次の順序で削除することをお勧めします。

1. JupyterLab アプリケーション

1. スペース

1. ユーザープロファイル

1. domains

ドメイン内のリソースを削除するには、次の AWS Command Line Interface (AWS CLI) コマンドを使用します。

------
#### [ Delete a JupyterLab application ]

```
aws --region AWS リージョン sagemaker delete-app --domain-id example-domain-id --app-name default --app-type JupyterLab --space-name example-space-name
```

------
#### [ Delete a space ]

**重要**  
スペースを削除すると、それに関連付けられた Amazon EBS ボリュームが削除されます。スペースを削除する前に、重要なデータをバックアップすることをお勧めします。

```
aws --region AWS リージョン sagemaker delete-space --domain-id example-domain-id  --space-name example-space-name
```

------
#### [ Delete a user profile ]

```
aws --region AWS リージョン sagemaker delete-user-profile --domain-id example-domain-id --user-profile example-user-profile
```

------