AWS S3 - Batch Operations
In this post, we will see how to use batch replication - S3.
A job is used to execute batch operations on a list of S3 objects. The list of S3 objects is contained in a manifest object, which can be an S3 inventory report or a list of objects that you generate. After the total number of objects listed in the manifest has been confirmed, the job status will update to Awaiting your confirmation to run, and you must Run the job within 30 days.
I am going to create a replication job to tag the existing objects in the bucket.
NOTE: The batch job relies on manifest.json which is an inventory of objects. This can be collected from bucket management. It takes 48 hrs to get the first inventory created.
Let's create a batch job.
I created a role with S3 full access. Please refer to the link for the right IAM access. https://docs.aws.amazon.com/AmazonS3/latest/userguide/batch-ops-iam-role-policies.html
Once the job is created, it awaits for the user's confirmation to "RUN JOB".
Comments
Post a Comment