S3
Node.js SDK
IAM
- To better understand Amazon's object storage system accessible via internet, cli & REST/SOAP APIs.
- As an intro to AWS SDKs
- S3 (Simple Storage System) can be plainly understood as an object storage system.
- S3 stores & protects assets for websites, apps, IoT devices, analytics etc
- S3 uses Buckets which are roughly equivalent to folders
- Inside of a Bucket is data for retrieval - in this example I retrieved a copy of my CV (henryStockdale.pdf) from a Bucket (first-bucket-test1)
-
AWS IAM: Identity and Access Management
-
IAM is broken down into the following sections
- Groups
- Users
- Roles
- Policies
-
Best Practise dictates definining permission on the Group level and affording said permission to inidividual Users by adding the latter to the former.
-
Setting up IAM in this way, a User profile was made inheriting from its group the requisite permissions to access s3 Buckets.
-
Both accessKeyId and secretAccessKey were stored as environment variables on my machine.