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 個答案
1
已接受的答案

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

screenshot of snapshot

profile picture
已回答 2 個月前
profile picture
專家
已審閱 2 個月前
profile pictureAWS
專家
已審閱 2 個月前
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
已回答 2 個月前
0

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

profile picture
已回答 2 個月前
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
專家
已回答 2 個月前
profile picture
專家
已審閱 2 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南