AWS Personalize cost charges and unable to delete solutions created and datasetGroups

0

Hi, was trying out the AWS Personalize video series tutorials on youTube - https://www.youtube.com/watch?v=3YawVCO6H14&list=PLLNv7WFv3KhiulXWUjPy-RgPGjSi338gL&index=9 and was charged over USD$40 when I implemented the POC to Production.

Now I am trying to delete the datasetgroups created from the tutorials to prevent incurring more costs ~ these costs are incurring at the daily rate and I have not even deploy anything to a project!

First of all, I can't delete my datasetgroups with this error:- "Bad request - The provided dataset-group is being referenced by one or more solutions." So I tried deleting the solutions but I can't. I manage to delete the campaigns and the datasets created - but the solutions are still there.

2 Antworten
0

AWS Personalize is in order for resource cleanup.
I believe that cleanup as described in the following document will successfully remove the resources.
Try deleting the resources listed in the table in the document, starting from the top.
https://docs.aws.amazon.com/personalize/latest/dg/gs-cleanup.html#cleaning-up-custom-resources

profile picture
EXPERTE
beantwortet vor 10 Monaten
  • Echoing what's suggested here, starting from top is very important.

  • Yes. For the datasetgroups I created following the AWS Personalize youtube tutorials ,

    • I deleted the EventTracker
    • I deleted the campaigns
    • I deleted tried deleting the solutions, but it ignores my request to delete it without any error messages.
    • I deleted the datasets
    • I tried deleting the Dataset Groups, but was met with "Bad Request: The provided dataset-group is being referenced by one or more solutions."
    • but then again, I cannot delete the solutions even when there are no more campaigns based on the solution versions.

    By the way, I don't understand why am I am incurring costs daily from the Personalize YouTube tutorial? I did not deploy any of the recommendations to a website or project. It is suppose to be a tutorial, why are there hidden costs? Anyway I have incurred another USD $8.87 since 3 hours has passed.

    • any help right now would be very much appreciated...is there an emergency button or some helpdesk that can immediately stop this.
  • What happens if I run the following AWS CLI command to delete it? https://awscli.amazonaws.com/v2/documentation/api/latest/reference/personalize/delete-solution.html
    Use CloudShell to execute AWS CLI commands. https://docs.aws.amazon.com/cloudshell/latest/userguide/welcome.html#how-to-get-started

    aws personalize delete-solution --solution-arn Solution_ARN
    
0

Hi, I am sorry you are running into this issue.

You can use the code in this notebook as an example on how to delete all resources in a dataset group by providing the dataset group ARN, including the solutions and the dataset itself.

https://github.com/aws-samples/amazon-personalize-immersion-day/blob/2-hour-workshop/notebooks/Media-Pretrained/04_Clean_Up.ipynb

It is possible there is an eventTracker or some other resource still attached to the solution and that is what is stopping you form deleting.

AWS
Anna_G
beantwortet vor 10 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen