Blog
Guides, walkthroughs and AWS how-tos for asking your cloud questions in plain English.
-
Sign Users In to Cognito With AWS SDK v3 (InitiateAuth)
Sign users in to a Cognito user pool from Node.js: InitiateAuth, SECRET_HASH, challenge responses, refresh tokens and verifying the JWTs you get back.
-
Upload to S3 From the Browser With a Presigned POST (AWS SDK v3)
Let browsers upload straight to S3 with createPresignedPost: enforce file size, type and key in the policy, then post the form with fetch.
-
Find Unused CloudFront Distributions
A TypeScript script that finds CloudFront distributions with no traffic or deleted S3 origins, shows what still bills and disables only the ones you…
-
API Gateway Cache Cost: Find Stages With Caching Turned On
A TypeScript script that finds API Gateway stages paying for a cache, checks the hit ratio and turns off only the caches you name.
-
Find CloudWatch Alarms With No Actions
A TypeScript script that finds CloudWatch alarms that can never notify anyone, prices them and deletes only the ones you name.
-
Find Unused Lambda Functions With No Invocations
An AWS SDK v3 script that finds Lambda functions with no invocations in 90 days, checks their triggers, versions and code storage, and deletes…
-
Find Stuck SQS Queues by Approximate Age of Oldest Message
A report-only AWS SDK v3 script that compares each SQS queue’s oldest message with its retention period and flags stuck backlogs and dead-letter queues.
-
Find Risky SNS Subscriptions and Ones Pending Confirmation
An AWS SDK v3 script that audits every SNS subscription: pending confirmation, http endpoints, external emails, cross-account targets and missing DLQs.
-
Find S3 Buckets With Wildcard CORS Allowed Origins
An AWS SDK v3 script that reads every bucket’s CORS rules, flags * and wildcard-subdomain origins that allow PUT, POST or DELETE, and tightens…
-
Check ECS Clusters for Container Insights
An AWS SDK v3 script that reports the containerInsights setting of every ECS cluster, the account default, and turns it on for named clusters…