Category: AWS Examples
Practical AWS SDK for JavaScript v3 scripts for costs, S3, IAM, EC2, Lambda, Route 53 and CloudFront.
-
Migrate Launch Configurations to Launch Templates in Auto Scaling
A report-only TypeScript script that finds Auto Scaling groups on launch configurations and drafts a launch template for each, plus the migration steps.
-
Find and Delete Unused CloudWatch Dashboards
A TypeScript script that scores every CloudWatch dashboard by dead metrics, last change and last view, prices it and deletes the unused ones behind…
-
Find Unused DynamoDB Tables With No Reads or Writes
A report-only AWS SDK v3 script that finds DynamoDB tables with no reads or writes over 30 days and estimates the storage and capacity…
-
Find Unused EC2 Key Pairs in Every Region
An AWS SDK v3 script that finds EC2 key pairs no instance, launch template or launch configuration uses, and deletes old ones only with…
-
Check IAM Access Analyzer in All Regions and List Findings
An AWS SDK v3 script that lists IAM Access Analyzer analyzers in every Region, summarizes active findings and can create the free external access…
-
Check Security Hub Is Enabled in Every AWS Region
An AWS SDK v3 script that reports Security Hub CSPM, its standards and cross-Region aggregation in every Region, and can enable it where it’s…
-
Find EFS File Systems Without a Lifecycle Policy
A TypeScript script that reports each EFS file system’s lifecycle policy and storage by class, estimates the monthly cost and sets a policy behind…
-

Find Overprovisioned EBS IOPS on io1 and io2 Volumes
A report-only TypeScript script that compares io1 and io2 provisioned IOPS with 14 days of peak usage and prices lower IOPS or a move…
-
Detect CloudFormation Drift Across All Stacks
A read-only TypeScript script that runs drift detection on every CloudFormation stack, lists changed properties and counts resources it can’t check.
-
Find ECR Repositories Without Image Scanning and Enable It
A TypeScript AWS SDK v3 script that reports ECR scanning per repository with the newest image’s findings, and adds a registry scanning rule with…