Auto configuration allows you to automatically protect Amazon S3 buckets by defining rules that discover and configure backup for S3 buckets across your AWS accounts and regions. Instead of manually configuring backup for each S3 bucket, you can create rules that match buckets using AWS tags or Amazon Resource Names (ARNs), and Druva automatically configures backup for any matching buckets.
Key behaviors
Auto configuration operates at the S3 bucket level.
A single S3 bucket can be part of only one active auto-configuration rule. If a bucket matches multiple rules, the rule that runs first takes ownership of the bucket. Other rules will count it as "Already Configured."
Manual configuration overrides auto-configuration. For example, if an S3 bucket is already configured manually, it cannot be added to an auto-configuration rule.
If a tag used for auto-configuration is removed from a bucket, its associated backup set transitions to an Auto-Disabled state. For more information, see Enable backup for auto-disabled buckets.
Procedure
Go to AWS Workloads (CloudRanger) > Policies & Rules > Auto Configuration.
Select the S3 tab to view and manage S3 auto-configuration rules.
Auto Configuration Rules Listing
The S3 Auto Configuration Rules page displays all existing rules in a table with the following columns:
Field | Description |
Rule Name | The name assigned to the auto-configuration rule. |
Backup Policy | The S3 backup policy associated with the rule. |
Configured Resources | The number of S3 buckets currently configured (backed up) by this rule. |
Available actions on this page:
New Rule: Creates a new auto-configuration rule.
Delete: Deletes one or more selected rules.
Create a new Auto Configuration Rule
Click New Rule to launch the auto-configuration wizard. The wizard has three steps: Overview, Resource Rules, and Backup Settings.
Step 1: Overview
Define the basic identity of the rule.
Field | Required | Description |
Rule Name | Yes | A unique, descriptive name for the auto-configuration rule. For example, S3 Auto Config Rule 3. |
Description | No | An optional text description explaining the purpose of the rule. For example, This rule protects S3 buckets. |
Click Next to proceed to Resource Rules.
Step 2: Resource Rules
Define which S3 buckets to include and exclude from auto configuration. This step has three sections: Include Rules, Exclude Rules, and Matching Resources.
Include Rules
Click Add to create an include rule.
Each include rule filters S3 buckets using the following parameters:
Field | Description |
AWS Accounts | Select one or more AWS accounts to scope the rule. For example, AWS Account 1, AWS Account 2. Only S3 buckets in the selected accounts are evaluated. |
Regions | Select specific AWS regions, or choose All Regions to include buckets across every region in the selected accounts. |
Match | Choose how to identify S3 buckets within the selected accounts and regions. Options are:
📝 Note A bucket always has an ARN, and it may or may not have tags. In auto configuration:
|
You can add multiple include rules. Each rule row in the summary shows:
Field | Description |
Tags/ARN | The tags or ARN used in the include rule. |
AWS Account | The AWS accounts selected. |
Region | The regions selected. |
Matching Resources | The number of S3 buckets matching this include rule. |
Exclude Rules
Click Add to create an exclude rule. Exclude rules remove specific S3 buckets from the set matched by include rules.
The parameters are identical to include rules:
Field | Description |
AWS Accounts | Select the AWS accounts to scope the exclusion. |
Regions | Select regions or All Regions. |
Match | Choose the matching method, that is Tags or Amazon Resource Name (ARN) to identify buckets to exclude. |
Each Exclude Rules row in the summary shows the same columns as include rules: Tags/ARN, AWS Account, Region, and Matching Resources.
Matching Resources
This panel provides a real-time summary of the net result after applying both include and exclude rules:
Field | Description |
Total Resources found | The total number of unique S3 buckets that match the combined include and exclude rules. |
Already configured | The number of S3 buckets that are already configured through another auto-configuration rule or manual configuration. These buckets will continue to be backed up per their prior configuration. |
Will be newly configured | The number of S3 buckets that are not yet configured and will be newly protected by this rule. This includes S3 buckets that are Not Configured or have been auto-disabled. |
Viewing matched S3 buckets: Click on the resource count to view the list of matched S3 buckets. The list shows:
Field | Description |
S3 Bucket Name | The name of the S3 bucket. |
Tags | AWS tags associated with the bucket. |
Size | The current size of data in the S3 bucket (for example, 10.15 GB, 50.16 GB). |
Click Next to proceed to Backup Settings.
Step 3: Backup Settings
Assign a backup policy to the auto-configuration rule.
Field | Description |
Backup Policy | Select an existing S3 backup policy to apply to all newly configured S3 buckets matched by this rule. The selected policy's schedule, retention, and data lock settings are displayed for review. |
Policy details shown on selection:
Schedule | The backup frequency and time window. For example, Daily: M, T, W, T, F at 10 PM. |
Retention | The retention periods for recovery points. For example, 14 D, 4 W, 12 M, 1 Y (14 days daily, 4 weeks weekly, 12 months monthly, 1 year yearly). |
Data Lock | Indicates whether Data Lock is enabled or disabled for the policy. |
Click Finish to create the rule. The new rule appears in the S3 Auto Configuration Rules listing.
Enable backup for auto-disabled buckets
When an AWS tag is removed from an S3 bucket that was protected by a tag-based rule, its backup set transitions to an Auto-Disabled state. You can re-enable protection using any of the following methods:
Option 1: Add the S3 bucket in the auto configuration rule
On the S3 Auto Configuration Rules page, click on the Rule Name. In the Resource Selection Rules section, click Edit.
In the Edit Resource Selection Rules window, click Add under the Include Rules section.
Provide the AWS Accounts and Region information. Select S3 Bucket Name in the Match field. Select the bucket and click Save.
Option 2: Enable backup from the S3 page
Log in to the AWS Workloads Management Console. Navigate to Account and select an account.
Click S3 in the left pane.
Go to the Backup Sets tab. It lists all the Amazon S3 buckets that have backup sets.
Select the backup set and click Enable Backup.
The Configuration Status is set to Manual.
Option 3: Add tag to a bucket using the Amazon S3 console
Re-apply the original tag to the S3 bucket using the Amazon S3 Console. For more information, see article. This will fetch the bucket again when the auto configuration rule is executed next time.









