Blog
Guides, walkthroughs and AWS how-tos for asking your cloud questions in plain English.
-
Paginate Any AWS API With AWS SDK v3 Paginators
How AWS SDK v3 paginators work: for await loops, pageSize, startingToken, collecting vs streaming, manual NextToken loops and the bugs that bite.
-
Read an S3 Object With AWS SDK v3 (GetObject)
How to read S3 objects with GetObjectCommand in AWS SDK v3: transformToString, streaming to a file, Range reads, NoSuchKey, ETags and IAM.
-
Find Unused Amazon WorkSpaces
A TypeScript script that lists WorkSpaces nobody has connected to in 30 days, shows what AlwaysOn costs you and switches them to AutoStop on…
-
Find Idle Amazon EMR Clusters
A TypeScript script that finds EMR clusters idling in WAITING, estimates their hourly cost and attaches an auto-termination policy only when you ask.
-
Find and Delete Empty or Abandoned CloudWatch Log Groups
A TypeScript script that finds empty, abandoned and orphaned Lambda log groups in CloudWatch Logs, prices their storage and deletes them only on –apply.
-
Find and Abort Incomplete S3 Multipart Uploads
An AWS SDK v3 script that finds incomplete S3 multipart uploads, sums the bytes in their parts, estimates the monthly cost and aborts old…
-
Find Lambda Functions With Over-Privileged Execution Roles
A report-only AWS SDK v3 script that maps Lambda functions to execution roles, flags over-broad policy statements and lists services each role never used.
-
Find ElastiCache Without Encryption at Rest, in Transit or AUTH
A report-only AWS SDK v3 script that audits ElastiCache encryption at rest, TLS mode and authentication across replication groups, clusters and serverless caches.
-
Find SQS Queues and SNS Topics Without Encryption Enabled
An AWS SDK v3 script that reports SQS queues and SNS topics without server-side encryption and can turn on SSE-SQS for unencrypted queues.
-
Find Privileged ECS Task Definitions and Root Containers
A report-only AWS SDK v3 script that flags privileged containers, root users, writable root file systems and host namespaces in ECS task definitions.