Delete an Amazon Bedrock Studio workspace
Amazon Bedrock Studio, renamed to Amazon Bedrock IDE, is now available in Amazon SageMaker Unified Studio. Amazon Bedrock Studio will be available until February 28, 2025. You may access existing workspaces in this previous version through February 28, 2025, but you may not create new workspaces. To access the enhanced GA version of Amazon Bedrock Studio with additional features and capabilities, you can create a new Amazon SageMaker Unified Studio domain. To learn about Amazon Bedrock Studio IDE, see the documentation. |
To delete an Amazon Bedrock Studio workspace, you can use the following AWS CLI commands. You can't delete a workspace by using the Amazon Bedrock console.
To delete a workspace
Use the following command to list all the projects in the Amazon DataZone domain.
aws datazone list-projects --domain-identifier
domain-identifier
--regionregion
-
For every project, delete all the objects in the Amazon S3 bucket for that project. The bucket name format for a project is
br-studio-
. Don't delete the Amazon S3 bucket.account-id
-project-id
-
For each of the projects list all the environments.
aws datazone list-environments --domain-identifier
domain-identifier
--project-identifierproject-identifier
--regionregion
-
Delete the AWS CloudFormation stacks for each environment. The format of the stack-name is
DataZone-Env-
whereenvironment-identifier
environment-identifier
is the value you got in step 3 for each environment.aws cloudformation delete-stack --stack-name
stack-name
--regionregion
-
Delete the Amazon DataZone domain. This step will delete your Amazon DataZone domain, datazone project, and environments, but won't delete the underlying AWS resources in other services.
aws datazone delete-domain --identifier
domain-identifier
--skip-deletion-check --regionregion