- Delete the SageMaker Studio and associated resources
Go to the CloudFormation console. Locate the second stack you created (named SageMaker-Studio-VPC-No-Internet, if you used the suggested name in the blog) and delete the stack. When the stack is deleted, move to the next step.
- Remove the Amazon Elastic File System (EFS) volume, Elastic Network Interface and security groups created by SageMaker Studio
Run the clean up script to delete the resources that were automatically created when you created the SageMaker Studio domain, including the Amazon EFS volume, Elastic Network Interface and security groups.
Delete the VPC and other networking resources
You can now delete the VPC and its associated networking resources. In the CloudFormation console, locate the first stack you created (named No-Internet if you used the suggested name) and delete it. If the stack fails to delete after a while, make sure you have completed the previous step.