New CDK tool estimates an app's idle AWS cost before deployment

AWS DevTools Hero Kazuho has released cdk-idle-cost, a tool that reads a CDK app's synthesized output and estimates its monthly cost at zero traffic. The author built it after noticing that default settings, such as a VPC that adds a NAT Gateway in every Availability Zone, can quietly generate large bills. The tool prints a per-resource breakdown with construct paths and can suggest cheaper configurations, noting the trade-offs of each. It works offline using a bundled AWS price snapshot and covers over 70 resource types, though usage-based charges are excluded and unreadable values are flagged rather than guessed. A companion comparison mode and a GitHub Action can report cost changes in pull requests and fail checks when increases exceed a set threshold.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in