The Ultimate S3 & Nodejs Guide | Bucket & Objects | Put Object, Pre-signed URL, Multipart Upload,etc
Channel: Rahul Ahire
Date: 18/03/2021

This is an Ultimate S3 Guide where we'll do all the CRUD operations on Bucket and Object with Nodejs, Also, how can you check, upload and delete Policies, Access Control list, CORS with NodeJS to configure S3 Bucket and many more

Checkout my ultimate DynamoDB Course - https://rahulahire.com/dynamodb

GitHub Repo: https://github.com/MeRahulAhire/S3-Ultimate-Guide

📝 Resources:
1. Download AWS CLI : https://aws.amazon.com/cli
2. Serverless Framework : https://www.serverless.com/framework/docs/providers/aws/
3. Serverless Framework CORS setup : https://www.serverless.com/blog/cors-api-gateway-survival-guide
4. S3 Docs : https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html
5. Difference between upload() and putObject() for uploading a file to S3? : https://stackoverflow.com/a/38442712/9312018
6. Working with S3 pre-signed URLs : https://www.altostra.com/blog/pre-signed-urls
7. Multipart uploads with S3 pre-signed URLs : https://www.altostra.com/blog/multipart-uploads-with-s3-presigned-url
8. aws-s3-multipart-upload : https://github.com/abhishekbajpai/aws-s3-multipart-upload

⚠ Caution : Do not use const in for-loop which will cause you error. At 2:27:29 by mistakenly I had assigned "const preSignedUrl = ..." instead of "let preSignedUrl = ...". This will cause you weird issues while aborting the process (discussed at later end of the video). For code sample please view the GitHub repository. Rest everything mentioned in this video is accurate.
Stack Overflow question - ECMAScript 2015: const in for loops: https://stackoverflow.com/q/31987465/13561427

⏰ Timeline: 
00:00:00 - Preface
00:02:29 - Introduction
00:04:48 - Prerequisites
_______________________
00:10:22 - Bucket CRUD
00:10:36 - Create Bucket
00:13:58 - Delete Bucket
00:15:31 - Create Bucket in other AWS region
00:16:44 - List Buckets
00:18:29 - Get Bucket Location
00:20:17 - Bucket Website Status
_______________________
00:23:02 - Bucket CORS
00:23:17 - Get Bucket CORS
00:26:30 - Put Bucket CORS
00:28:39 - Delete Bucket CORS
_______________________
00:29:55 - Bucket Policy
00:30:16 - Get Bucket Policy
00:32:08 - Put Bucket Policy
00:36:02 - Delete Bucket Policy
_______________________
00:37:38 - Bucket Access Control List
_______________________
00:39:15 - Object CRUD
00:43:51 - List Objects
00:46:41 - Get Object from torrent
00:55:56 - Delete Object 
00:59:44 - Get Object via Pre-signed URL
_______________________
01:05:43 - Upload Object via API
01:06:21 - Put Object
01:07:04 - Serverless Framework explained in short
01:37:01 - Upload Object via Pre-signed URL
01:49:29 - Multipart Upload
02:51:19 - End words. Like, share and subscribe

If you have any suggestions, Queries or any though just leave it in comment and I'll be happy to get back to you
#AWS #S3 #NodeJS

FIND ME HERE: 
Instagram: https://instagram.com/merahulahire
Twitter: https://twitter.com/MeRahulAhire
LinkedIn: https://linkedin.com/in/merahulahire