where keep resource name for stopping snapshot service ? i'm root

0

hello, i use this command line aws lightsail disable-add-on --region eu-north-1 --resource-name redubuntu --add-on-type AutoSnapshot but resource name is incorrect see the reponse An error occurred (InvalidInputException) when calling the DisableAddOn operation: Requested resource not found: {redubuntu} (Service: Lightsail; Status Code: 400; Error Code: InvalidInputException; Request ID: 33a5e2c7-1db2-4b1b-bb9e-d3a0f0e61618; Proxy: null) [cloudshell-user@ip-10-6-9-251 ~]$

where i keep the correct name resource ? i tried in arn and iam but nothing done . thanks

4 réponses
1
Réponse acceptée

nothing done , i changed in provate but forbidden delete . what to do ?

screenshot of snapshot

profile picture
répondu il y a 2 mois
profile picture
EXPERT
vérifié il y a 2 mois
profile pictureAWS
EXPERT
vérifié il y a 2 mois
0

succes, i have deleted what you tell me, and the last snapshot i arrive to delete, but the other old snapshot is forbidden delete also if i set pubblic. see screen shot i'm root

screen shot og grey delete tab

profile picture
répondu il y a 2 mois
0

i find that my snapshot , forbidden to delete , are been created by ami. what to do ? thanks

profile picture
répondu il y a 2 mois
0

Hello.

I also answered the URL below, but are you trying to stop automatic snapshots in EC2 rather than Lightsail?
https://repost.aws/ja/questions/QUBlrWrFyNTuqiV50P1IhHGg/i-want-stop-snapshot-service-console-ask-me-resource-name-lightseal-as-not-a-registered-service-i-m-root

This command is for stopping automatic snapshots of Lightsail instances; it cannot stop snapshots of EC2 instances or other resources.

For EC2, you need to check your AWS Backup settings and Data Lifecycle Manager settings.
Please check these settings and delete any settings that are creating snapshots of the target EC2.
https://docs.aws.amazon.com/aws-backup/latest/devguide/deleting-a-backup-plan.html
https://docs.aws.amazon.com/ebs/latest/userguide/view-modify-delete.html#delete

profile picture
EXPERT
répondu il y a 2 mois
profile picture
EXPERT
vérifié il y a 2 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions