Move obejcts

Move Objects

  • With the move action in the S3 console, you can move an object to a folder (prefix) in the same bucket, to another bucket/prefix

Static website

  1. Next we will create a new bucket

    • In the S3 bucket console, select Create bucket

    Static website

    • In the Bucket name field, enter aws-first-cloud-journey-move
    • In the AWS region section, select Asia Pacific (Singapore) ap-southeast-1 as the region with the closest geographical distance to Vietnam users as of September 2023

    Static website

    • Keep the default values, scroll to the bottom of the page, select Create bucket

    Static website

  2. Move files between Buckets

    • In the Amazon S3 console, select bucket aws-first-cloud-journey

    Static website

    • Check the square symbol next to the Name value to select all Objects in the bucket

    • Select Action, select Calculate total size

    Static website

    • Result: you have a total of 182 objects corresponding to 21.2 MB, select Close to go back

    Static website

    • Check the square symbol next to the Name value to select all Objects in the bucket

    • Select Action, select Move

    Static website

    • Scroll down the middle of the page, in the Destination type section, select Bucket, select Browse S3

    Static website

    • Select S3 Buckets

    Static website

    • Select bucket name aws-first-cloud-journey-move, select Choose destination

    Static website

    • Scroll to the bottom of the page, in the Additional checksums section keep the default Copy existing checksum functions, select Move

    • Noted: Amazon S3 uses checksum to verify the integrity of the data you upload, download, or copy your data from S3

    Static website

    • Congratulations, you have successfully moved the file, select Close

    Static website

  3. Check the Object in the new Bucket

    • In the Amazon S3 console, select bucket name aws-first-cloud-journey-move

    Static website

    • Check the square symbol next to the Name value to select all Objects in the bucket

    • Select Action, select Calculate total size

    Static website

    • Result: you have a total of 182 objects corresponding to 21.2 MB -> similar to the calculation of the total size of the bucket aws-first-cloud-journey

    Static website