Azure AZCopy Migration from AWS S3 Bucket to Azure Storage
#AWS #Azure #AzCopy #SASToken #Storage

Search for a command to run...
#AWS #Azure #AzCopy #SASToken #Storage

No comments yet. Be the first to comment.
AWS Agent Plugins let AI coding agents deploy, architect, and operate on AWS. Here's what that means for the future of DevOps.

AWS Storage Gateway bridges your on-premises infrastructure with Amazon's cloud storage — letting you use familiar protocols like NFS, SMB, and iSCSI while your data lives safely in S3, EBS, or Glacie

This AZ-104 domain emphasizes secure identity management and efficient resource governance, which are essential for Azure administrators to ensure compliance and cost control. Overview of Azure Identi

Scaling your EC2 instances to match dynamic workloads can be challenging. Amazon EC2 Auto Scaling simplifies this with target tracking scaling policies, a powerful feature that automatically adjusts capacity to maintain optimal performance and cost e...

IntroductionAmazon Elastic Block Store (EBS) is a cornerstone of AWS storage solutions, offering persistent block-level storage for EC2 instances. While EBS volumes are typically attached to a single instance.# EBS Multi-Attach breaks this mold, allo...

CloudCubes by Jinesh
45 posts
Cloud Infrastructure Consultant
Find me here : jineshkumar.bio.link
https://jineshkumar.com
Components we will use,
Don't worry if you are new to this, I have provided Step by Step Guide on how to use all the above components and AZCopy to migrate Data from AWS S3 to Azure Container.
Follow along,
Download Azcopy from, https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-v10

On AWS Side, We need AWS Access Key ID and AWS Secret Access Key and set it in Azcopy CMD
AWS Console > IAM > Users > Select Admin User > Security Credential > Create Access Key
Download and Set it to our Azcopy CMD Console as per below, (For Security purposes, I have dash out SAK and SKI)


On Azure side, We need Azure Target Storage Account SAS Token
Azure Portal > Target Storage Account > Shared Access Signature > Generate > Copy the SAS Token As per shown in below screenshot
Note : I could have create a SAS Token at Container Level and it would have work as well but to generalize for this blog, I did it at storage account level SAS Token.

Now, what we need to run ,
azcopy cp "https://s3.amazonaws.com/[bucket]" "https://[destaccount].blob.core.windows.net/[container]?[SAS]" --recursive=true
Mine looked like,
C:\azurelabs\azcopy_windows_amd64_10.11.0>azcopy cp "https://s3.amazonaws.com/**migrationworkload**" "https://**migrationtargetazure**.blob.core.windows.net/**azcopytarget**?sastoken--XXXX--sastoken" --recursive=true

Job Summary shows,
How many Files got transferred
and Final Job Status : Completed.
And There you go, Files appeared On Target Azure Container.
Nothing less than Magic.!!!!

Note: AZCopy is a powerful tool. It can be used for clients who wants On-Prem Data migration over to Azure Blob Storage as well. The command looks similar to this,
azcopy copy "<local-folder-path>" "https://<storage-account-name>.<blob or dfs>.core.windows.net/<container-name>" --recursive=true
Feel free to try and Let me know if you have any questions or improvements I can provide.
Thanks for the read.
Follow for more Awesome Azure and AWS Content.
Regards,
Jineshkumar Patel