Skip to content

Data Locations in Lake Formation not revoked or removed after delete SageMaker Unified Studio Domain

0

Hello, I am just testing out the SageMaker Unified Studio, I have set up the domain using Quick Start. After trying things out, I deleted the Domain, and have also deleted the cloudformation stack. However, I noticed that in the Lake Formation UI, the data locations are still there with permission for AllIAMPrincipals - or arn:aws:identitystore:::user/* for the S3 bucket/folder provisioned for the domain or project. My question is for the deleted SageMaker Unified Studio Domain, how to remove or revoke the data locations from Lake Formation UI?

Thanks

2 Answers
6

Below the steps to Remove Data Locations and Permissions in Lake Formation

  1. Revoke Permissions Go to the Lake Formation Console: • Navigate to Permissions > Data permissions. • Locate entries like AllIAMPrincipals or arn:aws:identitystore:::user/* tied to your S3 bucket or folder. • Select them and click Revoke.
  2. Delete Data Locations • Go to Data Catalog > Data locations. • Find the S3 paths associated with your deleted SageMaker domain. • Select and click Delete.
  3. Check Resource Links

• Go to Glue Console > Databases. • Look for any databases or tables linked to the deleted domain. • Delete those manually if they’re no longer needed. 4. Clean Up IAM Roles and Policies • Check for IAM roles like AmazonSageMakerServiceCatalogProductsLaunchRole or similar. • Remove any policies that grant access to the S3 bucket used by the domain.

EXPERT

answered a year ago

-1
Accepted Answer

Thanks, I will give it a try

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.