Object Replication Across Different Accounts
    • 25 Jun 2024
    • 2 Minutes to read
    • PDF

    Object Replication Across Different Accounts

    • PDF

    Article summary

    Bucket-level cross-account replication enables you to utilize resources in different buckets across Wasabi account(s) for your web applications.

    Creating a Job to Replicate Objects Across Different Accounts

    1. On the Buckets list, clickfor the desired bucket. This is the source bucket.
    2. Click Settings.
    3. Click the Object Replication tab. If there are no existing replication jobs, you will see:

      If there are existing jobs, you will see a listing such as:

    4. Click Create Replication Job or Create Job.
    5. Select the replication job type: Replicate to a bucket in another account to replicate objects across different buckets in different accounts. (For the other job type, refer to Object Replication in the Same Account.)
    6. Enter a name for the replication job. The job name is ComponentReplication02 in this example:

    7. Select a role from the drop-down of available options:

      This role will be applied to all cross-account replication jobs in this bucket.

    8. Enter the ID for the destination account (blurred in this example):

    9. Select the destination bucket. When you click in the Destination Bucket area, you are prompted with a list of buckets that match the criteria for a destination (the same versioning status and region grouping as the source). For example:

      Click on a bucket as the destination.

      Notice that the active bucket (widget-schematics) is in red because it is the source for the replication. And, the source cannot be the same as the destination bucket.

    10. Click Select.
    11. You can select advanced options for the job:

      Replicate only new objects indicates only new data added to the source bucket will be replicated. If you do not select this option, ALL existing objects from the source bucket will be replicated in the destination bucket.

      Sync deleted objects indicates that objects deleted in the source bucket will also be deleted in the destination bucket.

    12. Optionally, you can add a prefix to filter objects that will be copied from the source bucket. In the following example, only objects in the source bucket that have a name that begins with the text, schematic, will be copied to the destination bucket.

    13. Optionally, you can add object tags on which to filter objects to be replicated. Click the pencil icon and then refer to Object Tagsfor instructions on adding a tag.

      If you select the Sync deleted objects advanced option, you cannot filter on object tags.

      If you specify both a prefix and object tag(s), all conditions must be met for the source bucket object to be copied to the destination bucket. In the following example, only objects in the source bucket that meet the following conditions will be replicated:

      — The object name begins with schematic  AND
      — The object has tags of release: 101 and line: arrowhead.

    14. Click Create.

    The replication job panel will appear similar to the following. Notice the indication that the job is for cross-account replication:

    Reviewing the Replication Job Panel and Managing Jobs

    Refer to Object Replication: Managing a Job.