Skip to content

Instantly share code, notes, and snippets.

@vikeshpandey
Created May 11, 2023 14:19
Show Gist options
  • Save vikeshpandey/a4fafadb65ef994b0747d29a98fb0556 to your computer and use it in GitHub Desktop.
Save vikeshpandey/a4fafadb65ef994b0747d29a98fb0556 to your computer and use it in GitHub Desktop.
  1. 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.

  1. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment