Mastering AWS S3 Bucket | Upload & Download Files to S3 with NestJs Application
codeonedigest cod
Solutions Architect at Publicis Sapient and passionate youtuber
In this tutorial, we will learn to upload, download files to S3 bucket & list the contents of AWS S3 bucket using NestJS application. We will create NestJS project using AWS SDK to perform file operation on S3 Bucket. We will learn to create S3 bucket, AWS IAM user & policy to read, write & access S3 bucket.
GIT Repository with Java AWS SDK Example Code
NestJS AWS SDK Example Code - ?
?
Create AWS S3 Bucket Tutorial
?
Create IAM User & Policy to Access AWS S3 Bucket
?
S3 Bucket Tutorial Playlist
?
?
AWS S3 Simple Storage Service ?
Object storage built to store and retrieve any amount of data from anywhere. Amazon Simple Storage Service (Amazon S3) is an object storage service that offers industry-leading scalability, data availability, security, and performance. You can use Amazon S3 to store and retrieve any amount of data at any time, from anywhere.
?
IAM User
An AWS Identity and Access Management (IAM) user is an entity that you create in AWS. The IAM user represents the human user or workload who uses the IAM user to interact with AWS. A user in AWS consists of a name and credentials.
?
IAM User Policy
Policy is to manage access in AWS by creating policies and attaching them to IAM identities (users, groups of users, or roles) or AWS resources. A policy is an object in AWS that, when associated with an identity or resource, defines their permissions.
S3 Bucket Presigned URL
By default, all Amazon S3 objects are private, only the object owner has permission to access them. However, the object owner may share objects with others by creating a presigned URL. A presigned URL uses security credentials to grant time-limited permission to download objects. The URL can be entered in a browser or used by a program to download the object. The credentials used by the presigned URL are those of the AWS user who generated the URL.
AWS SDK
AWS SDK for simpli?es use of AWS Services by providing a set of libraries that are consistent and familiar for JS developers. It provides support for API lifecycle consideration such as credential management, retries, data marshaling, and serialization. The AWS SDK for JS also supports higher level abstractions for simplified development.
?
?
? NestJS Framework
A progressive Node.js framework for building efficient, reliable and scalable server-side applications. A complete development kit for building scalable server-side apps.
?
?
Previous Video Tutorial
Setting up your first AWS S3 bucket - A step-by-step guide https://youtu.be/0KEia_M39ug
?
Topic Covered
1.?????? Welcome to NestJS Example Tutorial for AWS S3 Bucket
2.?????? Create AWS S3 Bucket
3.?????? Create IAM User for S3 Bucket
4.?????? Create Policy for IAM User
5.?????? Attach Policy to IAM User
6.?????? Create User Access Key & Secret
7.?????? Create NestJS Project to access AWS S3 Bucket
8.?????? Run NestJS application
9.?????? Testing Upload File to S3 Bucket
10.?? Testing Download File from S3 Bucket using presigned url
11.?? Test listing contents of S3 Bucket.
?
CHAPTER
0:00 Welcome to AWS S3 NestJS Tutorial
0:43 Prerequisite
1:14 Agenda of tutorial
1:47 Create S3 Bucket in AWS cloud
2:21 Create IAM User & Policy for S3 Bucket
3:23 NestJS tutorial Playlist
3:56 Review S3 Bucket & IAM User in AWS cloud
5:26 NestJS Project Setup & Download dependencies
6:35 Add endpoint in Controller class
7:52 Add business logic in Service class to access S3 Bucket.
14:34 Running NestJS application
15:14 Test File Upload, Download & listing objects of S3 Bucket
领英推荐
19:38 Understand Async, Await & Promise in NestJS
21:06 AWS S3 Bucket Tutorial Playlist
?
?
?
?
?
?
?
#awss3bucket
?
?
?
?
CHECK OUT OUR OTHER VIDEOS
Shopify Ecommerce & Retail POS tutorial for Commerce Developer https://youtube.com/shorts/9gFn1FcXaL4?feature=share
Create AWS EC2 Instance and Run Springboot Microservice and MongoDB in EC2 Server
Introduction to Salesforce Commerce Cloud https://youtube.com/shorts/V9LC7ZUFeM8?feature=share
Kubernetes Tutorial for Beginners https://youtube.com/shorts/aygEGpIIGv0?feature=share
Kubernetes Architecture Component & Cluster https://youtube.com/shorts/CogT46yLBF4?feature=share
Kubernetes Node Affinity Taints & Tolerations https://youtube.com/shorts/BfLD9k4D9o8?feature=share
Why Python is Number1 language https://www.youtube.com/shorts/YgBKYKy0xto
What is Python function? https://www.youtube.com/shorts/dcGy7v6RxOQ
?
CHECK OUR PLAYLISTS
Shopify Ecommerce & Retail POS playlist https://www.youtube.com/playlist?list=PL2NZAYdLkYvhJTo-bewt5UwvWladmRpnk
AWS Cloud and Docker Containers Complete Tutorial
Salesforce commerce cloud SFCC B2B B2C SFMC Capabilities https://www.youtube.com/playlist?list=PL2NZAYdLkYviJnkM92HZoadf_sRDQgLvs
CodeOneDigest Learning Shorts
Kubernetes Cluster Architecture Master & Worker Node Tutorial? https://youtube.com/playlist?list=PL2NZAYdLkYviE7B06At6INbSCsDSRX8Ya
Complete Python Learning Tutorial Playlist
Spring Boot Complete Tutorial https://youtube.com/playlist?list=PL2NZAYdLkYvg_VlNmszrb-Um0wRx5yGDF
?
ABOUT OUR CHANNEL
CodeOneDigest is a youtube channel for the videos on programming language, cloud and docker container technology in English and Hindi languages.
Dosto, CodeOneDigest youtube channel pe aapko programming languages, container technology, cloud computing, software engineering se related videos milenge.
Check out our channel here:
Don’t forget to subscribe!
?
OUR WEBSITE
?
GET IN TOUCH
Contact us on [email protected]
?
FOLLOW US ON SOCIAL - LIKE, SHARE & SUBSCRIBE
Get updates or reach out to Get updates on our Social Media Profiles!
Subscribe: https://bit.ly/3NeWQ8U
Twitter: https://twitter.com/codeonedigest
Facebook: https://www.facebook.com/codeonedigest
Instagram: https://www.instagram.com/codeonedigest/
Github: https://github.com/codeonedigest
Website: https://codeonedigest.wordpress.com/
Pinterest: https://in.pinterest.com/codeonedigest/