In this video, we demonstrate two techniques for uploading large files to AWS-S3: one where chunks are created on the frontend and uploaded using the AWS multipart API, and another where chunks are created on the backend and uploaded using the AWS SDK 3 upload parallel technique.
For the first technique, we show you how to create chunks on the frontend, send them to the backend, and upload them to an S3 bucket using the AWS multipart upload API. We provide step-by-step instructions for setting up the backend and frontend code, and show you how to run the application.
For the second technique, we demonstrate how to upload a complete file from the frontend, create chunks on the backend, and perform a parallel upload using the AWS SDK 3. We go over the necessary npm modules and environment variables needed to set up the backend and frontend code.
Overall, this video is a comprehensive guide to uploading large files to AWS-S3 using two different techniques. Whether you're a beginner or an experienced developer, you'll find valuable insights and practical tips for implementing these techniques in your own projects. So watch the video and start uploading large files with ease!
🔖 Topics Covered
1- Intro (0:00)
2- Technique 1: Create chunks on the Frontend (0:21)
3- Technique 2: Create chunks on the Backend (13:13)
4- Setup AWS S3 Bucket (21:31)
S3 Bucket policy - Change arn with your bucket ARN
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": "*",
"Action": [
"s3:GetObject"
],
"Resource": [
"arn:aws:s3:::youtube-demo-project/*"
]
}
]
}
#AWS #S3 #fileupload #webdevelopment #javascript #filehandling #media #mediabucket #cloudstorage #parallelchunkupload
--------------------------------------------------
Get In Touch
Personal Website: [ Ссылка ]
LinkedIn: [ Ссылка ]
Medium: [ Ссылка ]
GitHub: [ Ссылка ]
Facebook: [ Ссылка ]
Instagram: [ Ссылка ]
Ещё видео!