AWS CLI for cloud-to-cloud migration scenarios
To begin, you will need to install the AWS CLI and configure it using your AWS Access Key and Secret Key. You can follow the instructions located here for guidance.
Once you have configured the AWS CLI, you must create an additional profile specifically for your Impossible Cloud Storage account. You can find detailed instructions on how to do this here.
Transfer all files from the your source AWS bucket to a local directory by running the following command:
aws s3 --profile=your_source_cloud_profile cp s3://<source_bucket>/ <local_directory> --recursive
Finally, to transfer all of your files from a local directory to your new target bucket, run the following command:
aws s3 --profile=impossiblecloud --endpoint-url=https://us-west-1.storage.impossibleapi.net cp <local_directory>/ s3://<destination_bucket>/ --recursive