AWS Backup - two ec2 instances are assigned as the protected services - but I see an EBS snapshot in the vault?

0

I have simple backup job defined with two ec2 instances configured as the protected resources. But in the vault I see the two EC2 instances plus an EBS volume. If the backup service creates a snapshot of the attached EBS volumes while backing up the EC2 instances, then shouldn't I see two sets of EBS resources in the backup vault?

One of the EC2 instances' volumes is a GP3 that has a minimum IOPS set, does the type of storage affect how AWS backups the EC2 instance?

질문됨 2년 전442회 조회
1개 답변
1

Backup plans are based on tags and applied to specific resources. Could you please check the current configuration is in the Resource assignments section for the plan you refer to?

For example, a plan that has the following resource assignments configuration will backup all EC2 instances and EBS volumes that have a tag with the name: "Backup" and value: "Yes".

Assign by ARN prefix
arn:aws:ec2:*:*:instance/*
arn:aws:ec2:*:*:volume/*
Tags - equal
aws:ResourceTag/Backup - Yes

You can also check if an EBS volume is unattached to these EC2 instances. We can configure each EC2 instance to keep the EBS volumes after its termination, sometimes resulting in leftovers.

c3nIvo
답변함 2년 전
  • So if I added a "Name" tag to my EBS volume and used the same value as an EC2 name tag, then both resources (the EBS and EC2) would get backed up.

    Thanks for clarifying.

    If I rename the EBS name tag, will the next backup job then only match on the EC2 tags?

  • You should use more specific tag like Backup for example, Name is generic one and will lead to confusions. If you share the "resource assignments configuration" from your plan I can provide you with more recommendations.

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

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

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

관련 콘텐츠