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 Antworten
1
Akzeptierte Antwort

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

screenshot of snapshot

profile picture
beantwortet vor 2 Monaten
profile picture
EXPERTE
überprüft vor 2 Monaten
profile pictureAWS
EXPERTE
überprüft vor 2 Monaten
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
beantwortet vor 2 Monaten
0

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

profile picture
beantwortet vor 2 Monaten
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
EXPERTE
beantwortet vor 2 Monaten
profile picture
EXPERTE
überprüft vor 2 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