Trying to delete a RDS public snapshot

0

I am trying to delete RDS snapshot's left behind by my development team who are no longer on the project as it is completed fuly, however I am getting the message;

Cannot delete snapshot

To delete a shared or public snapshot, you must use the log into the AWS account that owns the snapshot.

Can you please assist as this is costing me money unnecessarily.

Barry
질문됨 8달 전405회 조회
1개 답변
0

Hi,

A RDS snapshot can be taken on a database in a given account and be shared with other accounts. They can use it to restore a clone of the initial database from their own account. See https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ShareSnapshot.html

So, in your case, the snapshot what created in a different account and share with the account from which you are trying to delete it. But, you can only delete it from the account who created. So, go to this account and delete the snapshot (or ask the account admin to do it for you).

To know the owner of your snapshot, use aws rds describe-db-snapshots with option --snapshot-type shared. See https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/describe-db-snapshots.html

Best,

Didier

profile pictureAWS
전문가
답변함 8달 전
profile picture
전문가
Steve_M
검토됨 8달 전
  • And what if I don't have access to those other accounts? I am new to AWS and I was only given access to the root account (I have been left as the last IT guy in the company, and some of the people who managed those accounts have been gone for years).

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠