Skip to content

AWS Backup Plan tagging strategy when applying plans to multiple resources

0

Hi AWS, I have recently applied a backup plan as a tag to all S3 buckets and DynamoDB Tables in a given AWS account. The total count of resources is 587 which includes 156 DynamoDB Tables and 431 S3 buckets. Upon reviewing backup plan status, I noticed that the backup plan was only successfully applied to 115 DynamoDB Tables and 247 S3 Buckets, some of the resources failed to apply the backup plan with the error message:

**Miscellaneous**
Unable to add rule to account, too many rule. Backup job failed.

While reviewing the AWS Backup documentation service limit quotas, I found the following relevant quota limitations:

  • Resource Assignments per Backup plan: 100 (hard limit)
  • Amazon S3 Buckets per Account: 100 (soft limit)

It seems that the soft limit for S3 buckets has been exceeded and the overall resource assignment limit for the backup plan.

  1. How can we increase the limits or work around them to successfully apply the backup plans to all 587 resources plus the newly added resources as we are planning to extend this backup plan to additional resources such as DocumentDB clusters, EFS and EBS.
  2. We also need a solution to automatically apply the backup plan to the newly created resources such as S3 buckets, DynamoDB tables etc. moving forward.

Please ackowledge and expedite it.

asked 10 months ago247 views

2 Answers
0

Hey,

Hope you're keeping well.

You’ve hit the hard quota of 100 resource assignments per backup plan, which cannot be increased. To cover all 587 resources, you’ll need to split them across multiple backup plans and group them logically (for example, one plan for certain S3 buckets, another for DynamoDB tables). For automatic coverage of new resources, use tag-based assignments rather than explicit resource listings—create multiple plans that target the same tag but filter by resource type to stay within limits. You can also request a soft limit increase for S3 buckets in AWS Backup via the Service Quotas console, but the 100-resource-per-plan cap will still apply.

Thanks and regards,
Taz

answered 10 months ago

  • Hi Taz, when I was filtering the Backup Jobs by applying filters i.e.

    Resource Type: S3 and Status: Completed -> 224 results are coming

    Resource Type: DynamoDB and Status: Completed -> 115 results are coming

    AFAIK, the document says the backup plan can be applied to a total of 100 AWS resources which includes S3, DynamoDB, EFS, EBS, etc. but the results I am seeing is different which is contradictory?

    Can you please help me understand what's going on ?

0

The issue you're experiencing is related to AWS Backup service limits, specifically the limit of 100 resource assignments per backup plan. This is a hard limit that cannot be increased. However, there are effective strategies to work around this limitation:

For your first question about increasing limits or working around them:

  1. Create multiple backup plans with identical backup rules but different resource assignments. You could create 6-7 backup plans to cover all your 587 resources, with each plan handling up to 100 resources.

  2. Use tag-based resource assignments more strategically. Instead of having one backup plan with many individual resource assignments, create backup plans that select resources based on tags. For example, you could tag resources with key-value pairs like "backup:yes" and have your backup plan select all resources with this tag.

For your second question about automatically applying backup plans to newly created resources:

  1. Implement a tagging strategy where all new resources of specific types automatically receive the backup tags. This can be enforced through:
  • AWS Organizations service control policies (SCPs)
  • AWS Config rules
  • Custom automation using AWS Lambda and EventBridge
  1. When using tag-based resource selection, ensure you're applying tags at the appropriate level. For example, with S3, tags must be applied at the bucket level, not the object level, as AWS Backup doesn't support selection of objects based on their individual tags.

  2. Make sure the IAM role used for tag-based backup plans has the necessary permissions to access all tagged resources. If AWS Backup encounters a resource it doesn't have permission to access, the backup plan may fail.

This approach will allow you to scale your backup strategy across your current resources and automatically include new resources as they're created, while staying within AWS Backup service limits.
Sources
Does AWS Backup charge premium on tag-based resource selection for backups? | AWS re:Post
Community | Protecting Amazon S3 Using AWS Backup
Community | Protecting Amazon DynamoDB Using AWS Backup
Community | Protecting Amazon DynamoDB Using AWS Backup
Resolve tag-based resource assignment issues in AWS Backup | AWS re:Post

answered 10 months ago

EXPERT

reviewed 10 months 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.