Skip to main content

Resolving clean-up failures

If the cleanup process fails to completely clean an account at the end of a lease, Sandbox Studio will move the account into a Quarantine state, and email the Administrators notifying them of the issue.

To resolve an account that has failed clean-up:

  1. Log in to the Web UI as an Administrator, and from the left, under Administration, select AWS Accounts.

  2. Confirm the account that has failed the clean-up process. You can preview the error by hovering your mouse over the "Clean-up error" textimage.png

For a detailed view of the error, you need to access the AWS Console and look at the "AccountCleaner" step functions

image.png

 

See log details:
  1. Log in to the AWS Console using the Hub account, and navigate to the CloudWatch > Logs Insights page.

  2. From the right pane, under Sample queries, select the SS-Sandbox group, and from the dropdown, choose the AccountCleanupLogs saved query, and Apply.

image.png

3. Change the time frame to match the execution you want to get the logs for:

image.png

4. Update the query to copy the last cleanup process ID:

image.png

You can get the cleanup process ID from the  'Last Cleanup ReferenceID'.

Select Run query to see related events. The log information is displayed under the Logs tab.