Member-only story

AWS S3 with Nodejs practice

Nhan Cao
4 min readMar 11, 2020

AWS SA Fundamentals

Object storage built to store and retrieve any amount of data from anywhere — https://aws.amazon.com/s3/

Definition: https://docs.aws.amazon.com/AmazonS3/latest/dev/Welcome.html

Use case: store object data

Pricing: 12 MONTHS FREE 5GB with Free Tier (new account), then $0.023 per GB for the First 50 TB / Month https://aws.amazon.com/s3/pricing/

Working with AWS S3: https://docs.aws.amazon.com/AmazonS3/latest/gsg/CreatingABucket.html

AWS SDK for JavaScript in Node.js

For example, I create a new project with some functions integrated with AWS S3. I like NodeJs + Typescript so that I decided to use NestJS’s template. It’s a nice approach and modern.

NestJS is a progressive Node.js framework for building efficient, reliable and scalable server-side applications — https://nestjs.com

About AWS Account for a developer, you should create new IAM user to get ACCESS_KEY_ID and SECRET_ACCESS_KEY

Go to IAM (Identity and Access Management) -> Users (under Access management) -> Add user

--

--

No responses yet