How To Clone an AWS S3 Bucket

profile picture

How To Clone an AWS S3 Bucket

You might have a ton of reason to do this so I'm not going to bore you with an introduction.

If you don't have too much objects

Then you might be able to do it from the AWS Console interface.

  1. Create the bucket (you must do this).
  2. Then go in the original bucket you want to clone.
  3. Select all objects
  4. Click on "Actions" then "Copy"
  5. Select the destination
  6. Click Copy

This might take a while depending on the number of elements

If you have a lot of objects

Then you will have to use the terminal.

  1. Create the bucket (you must do this). You can do that in the AWS Console UI.
  2. Open your terminal and run the following command.
aws s3 sync s3://source-bucket s3://target-bucket

Again, might take a while depending on the number of elements

backup
s3
aws
terminal

about me

profile picture

I consider myself as an IT Business Artisan. Or Consultant CTO. I'm a self-taught Web Developper, coach and teacher. My main work is helping and guiding digital startups.

more about me

follow me

newsletter

A weekly email with the latests articles

support my work

Start trading on binance
  • BTC

    BTC

    18SY81ejLGFuJ9KMWQu5zPrDGuR5rDiauM

  • ETH

    ETH

    0x519e0eaa9bc83018bb306880548b79fc0794cd08

  • Monero

    XMR

    895bSneY4eoZjsr2hN2CAALkUrMExHEV5Pbg8TJb6ejnMLN7js1gLAXQySqbSbfzjWHQpQhQpvFtojbkdZQZmM9qCFz7BXU

2024 © My Dynamic Production SRL All rights Reserved.