A new version of AzCopy (v10) currently in preview allows you to copy data from your Amazon Web Services (AWS) S3 bucket to Azure Storage.
If you want to evaluate this capability and performance, get the AzCopy v10 preview client:
- Windows https://aka.ms/downloadazcopy-v10-windows
- MacOS https://aka.ms/downloadazcopy-v10-mac
- Linux https://aka.ms/downloadazcopy-v10-linux
Then you can run the below commands to copy your data
Authenticate against AWS
For Windows:
- set AWS_ACCESS_KEY_ID=<your AWS access key>
- set AWS_SECRET_ACCESS_KEY=<AWS secret access key>
For Linux
- export AWS_ACCESS_KEY_ID=<your AWS access key>
- export AWS_SECRET_ACCESS_KEY=<AWS secret access key>
For MacOS
- export AWS_ACCESS_KEY_ID=<your AWS access key>
- export AWS_SECRET_ACCESS_KEY=<AWS secret access key>
Then the copy command
Copy a single object
- azcopy cp “https://s3.amazonaws.com/<bucket>/<object>” https://<storage account>.blob.core.windows.net/<container>/<path to blob>?<SAS>
Copy a folder
- azcopy cp “https://s3.amazonaws.com/<bucket>/<folder>” “https://<storage account>.blob.core.windows.net/<container>/<path to directory>?<SAS>” –recursive=true
Copy a bucket
- azcopy cp “https://s3.amazonaws.com/<bucket>” “https://<storage account>.blob.core.windows.net/<container>?<SAS>” –recursive=true