Developers
aws
Notes tagged aws.
- tutorial17 min read
CloudWatch logging basics
CloudWatch Logs is where AWS services write their output — Lambda execution logs, API Gateway access logs, ECS container stdout — and where you can write structured logs from your own application code. This tutorial covers how CloudWatch Logs works, how to write and query logs effectively, how to set up alarms on error conditions, and the structured logging patterns that make CloudWatch actually useful.
- tutorial17 min read
IAM least privilege
Overly permissive IAM policies are one of the most common security mistakes in AWS projects. Least privilege means granting exactly the permissions an application needs — no more. This tutorial explains how IAM policies work, how to write them precisely, how to audit what your app actually uses, and how to avoid the patterns that silently grant too much access.
- tutorial17 min read
AWS Lambda basics
Lambda lets you run Node.js code on AWS without provisioning or managing any servers — you write a function, deploy it, and AWS handles everything else. The tradeoff is a different programming model: no persistent process, no in-memory state, cold starts, and a 15-minute execution limit. This tutorial explains the model clearly and walks through writing, deploying, and testing a real Lambda function.
- tutorial17 min read
Amazon S3 for developers
S3 is the most used AWS service for a reason — it's a reliable, infinitely scalable object store with a simple API. But the model is different enough from a local filesystem that it trips up developers the first time. This tutorial maps the S3 concepts, walks through the SDK patterns you'll use daily, and covers presigned URLs, the access control decisions that matter, and the mistakes that produce confusing errors.
- tutorial17 min read
AWS for Node apps
Setting up AWS for a Node.js project trips people up not because any single step is hard, but because the pieces — IAM users, CLI profiles, SDK clients, credential chains — aren't obvious until someone explains how they fit together. This tutorial connects every piece so you can use any AWS service from Node.js code with confidence.