Importing objects into a directory bucket (original) (raw)

After you create a directory bucket in Amazon S3, you can populate the new bucket with data by using the import action. Import is a streamlined method for creating S3 Batch Operations jobs to copy objects from general purpose buckets to directory buckets.

Note

The following limitations apply to import jobs:

When you configure an import job, you specify the source bucket or prefix where the existing objects will be copied from. You also provide an AWS Identity and Access Management (IAM) role that has permissions to access the source objects. Amazon S3 then starts a Batch Operations job that copies the objects and automatically applies appropriate storage class and checksum settings.

To configure import jobs, you use the Amazon S3 console.

Using the Amazon S3 console

To import objects into a directory bucket
  1. Sign in to the AWS Management Console and open the Amazon S3 console athttps://console.aws.amazon.com/s3/.
  2. In the left navigation pane, choose Buckets, and then choose theDirectory buckets tab. Choose the option button next to the directory bucket that you want to import objects into.
  3. Choose Import.
  4. For Source, enter the general purpose bucket (or bucket path including prefix) that contains the objects that you want to import. To choose an existing general purpose bucket from a list, choose Browse S3.
  5. For Permission to access and copy source objects, do one of the following to specify an IAM role with the permissions necessary to import your source objects:
    • To allow Amazon S3 to create a new IAM role on your behalf, choose Create new IAM role.
    • To choose an existing IAM role from a list, choose Choose from existing IAM roles.
    • To specify an existing IAM role by entering its Amazon Resource Name (ARN), choose Enter IAM role ARN, then enter the ARN in the corresponding field.
  6. Review the information that's displayed in the Destination andCopied object settings sections. If the information in theDestination section is correct, choose Import to start the copy job.
    The Amazon S3 console displays the status of your new job on the Batch Operations page. For more information about the job, choose the option button next to the job name, and then on the Actions menu, chooseView details. To open the directory bucket that the objects will be imported into, choose View import destination.