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 Answers
1
Accepted Answer

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

screenshot of snapshot

profile picture
answered a month ago
profile picture
EXPERT
reviewed a month ago
profile pictureAWS
EXPERT
reviewed a month ago
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
answered a month ago
0

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

profile picture
answered a month ago
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
answered a month ago
profile picture
EXPERT
reviewed a month 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.

Guidelines for Answering Questions