Skip to content

Instantly share code, notes, and snippets.

@antonydevanchi
Last active February 3, 2021 18:29
Show Gist options
  • Save antonydevanchi/3c711245755536e0f760a4b358ce5a67 to your computer and use it in GitHub Desktop.
Save antonydevanchi/3c711245755536e0f760a4b358ce5a67 to your computer and use it in GitHub Desktop.
AWS to YC EZ MIGRATION

1. Install by one-step-guide

Linux / OS X / Windows Binary! / in Docker / build from sources

https://github.com/minio/mc

2. Set-up aliases

mc alias set <ALIAS> <YOUR-S3-ENDPOINT> <YOUR-ACCESS-KEY> <YOUR-SECRET-KEY> --api <API-SIGNATURE> --path <BUCKET-LOOKUP-TYPE>

mc alias set aws https://s3.amazonaws.com <YOUR-ACCESS-KEY> <YOUR-SECRET-KEY> --path dns
mc alias set yc https://storage.yandexcloud.net <YOUR-ACCESS-KEY> <YOUR-SECRET-KEY> --path auto

3. Migrate without hassle like a boss

mc mirror aws/bucket yc/bucket

— or —

mc mirror --overwrite aws/bucket yc/bucket
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment