HomeStorageObject StorageHow to
Transfer a bucket to the new Object Storage backend
Jump toUpdate content

How to transfer Object Storage buckets to the new storage platform

Reviewed on 17 July 2023 • Published on 28 January 2022

Overview

Since the 27th of January 2022 the Object Storage platform has been migrated to our internally developed backend: Hive. We use the robust Erasure Code (6+3) to protect the data stored on Scaleway Object Storage. This mechanism now moves from one datacenter to three Availability Zones (AZ), which means that the 6+3 fragments will be spread over three independent Availability Zones in one region.

In summary, the main advantage of Multi-AZ is that it ensures the resilience of your data storage, even in the event of a total loss of an AZ. Scaleway Object Storage is built entirely on Scaleway’s technical stack, which guarantees true sovereignty at all levels, from infrastructure to software. Thanks to our new backend, you can store millions of objects in a single bucket and scale your infrastructure, without friction and without limit.

You can easily transfer the contents of your existing buckets to newly created buckets in the STANDARD class in the Paris region using the AWS CLI to benefit from the improvements of the new platform.

Security & Identity (IAM):

You may need certain IAM permissions to carry out some actions described on this page. This means:

  • you are the Owner of the Scaleway Organization in which the actions will be carried out, or
  • you are an IAM user of the Organization, with a policy granting you the necessary permission sets
Requirements:

Transferring your data using the AWS CLI

  1. Click on Object Storage in the Storage section of the Scaleway console. The list of your Object Storage buckets displays.
  2. Click + Create bucket to create a new STANDARD class bucket in the Paris region.
    Note:

    To benefit from the Multi-AZ infrastructure in the Paris region, choose the STANDARD storage class. More information is available in our blog.

  3. Run a full sync of the two buckets:
    aws s3 sync s3://BUCKET-SOURCE s3://BUCKET-TARGET
    Note:

    Depending on the number of objects in your bucket, this step may take a while.

  4. Run a second full sync to ensure that new objects, that might have been added to the source bucket in between are also copied.
  5. Point your application to the new bucket.
  6. Perform a recursive copy from the old bucket to the new bucket to ensure that new objects added in between are also copied:
    aws s3 cp s3://BUCKET-SOURCE s3://BUCKET-TARGET --recursive
    Tip:

    Do not run a sync in this step, to avoid that new objects added to the new bucket are deleted.

  7. The old bucket is ready to be deleted.
See Also