In this video you will learn about what is multipart upload in S3
#aws #s3 #solutionarchitect
Commands used in this video
Install WSL on windows
wsl --install
sudo snap install aws-cli –classic or sudo snap install aws-cli
aws configure
split -b 200m demo.mp4
aws s3api create-multipart-upload --bucket multipart-upload-0072 --key demo.mp4
Copy the upload id
aws s3api upload-part --bucket multipart-upload-0072 --key demo.mp4 --part-number 1 --body xaa --upload-id (paste your id)
Copy the eTag from the output
aws s3api upload-part --bucket multipart-upload-0072 --key demo.mp4 --part-number 2 --body xab --upload-id (paste your id)
Copy the eTag from the output
aws s3api list-parts --bucket multipart-upload-0072 --key demo.mp4 --upload-id (paste your id)
Now create a parts.json file and paste the etags
{
"Parts": [
{
"ETag": " ",
"PartNumber": 1
},
{
"ETag": " ",
"PartNumber": 2
}
]
}
aws s3api complete-multipart-upload --multipart-upload file://parts.json --bucket multipart-upload-0072 --key demo.mp4 --upload-id (paste your id)
----------------------------------------------------------------------------------------------------------------------
Follow us on Instagram
www.instagram.com/dataspoof
Join our telegram channel for study materials
t.me/dataspoof
Connect with me On LinkedIn
/ abhishek-kumar-singh-8a6326148