AWS Backup with Tags¶
Automatically tag AWS resources to ensure they are included in backup plans using AWS Backup.
Overview¶
AWS Backup uses resource tags to select which resources should be backed up. TagOps automatically applies backup tags to your resources, ensuring they are consistently included in backup plans without manual intervention.
What TagOps Can Do¶
TagOps can automatically tag AWS resources with the tags required by AWS Backup for backup selection:
- Automatic Tagging: TagOps rules automatically apply tags like
Backup: YesorBackup: Requiredto resources when they are created or discovered - Conditional Tagging: Create rules to tag only specific resources (e.g., production resources, critical databases, or resources matching certain criteria)
- Consistent Coverage: Ensure all resources that should be backed up have the required tags, preventing data loss from untagged resources
- Environment-Based Tagging: Use different tag values for different environments to enable separate backup plans (e.g.,
Backup: Production,Backup: Development) - Service-Specific Tagging: Tag specific resource types (EC2, RDS, DynamoDB, EFS, etc.) with backup tags based on your backup requirements
Example TagOps Rule¶
Create a TagOps rule to automatically tag resources for backup:
- Condition: Resource type is
rds:dband tagEnvironmentequalsProduction - Action: Add tag
Backup: Required
TagOps will automatically apply these tags to resources, which AWS Backup can then use to select resources in backup plans.