AWS Lambda · Finder + automated fixer
Remove unused Lambda provisioned concurrency
RemoveUnused Provisioned Capacity
Delete unused Lambda provisioned concurrency to reduce costs
What happens, in order.
Finder · read-only
Finds the opportunity
Scans your connected accounts with a read-only role. It can see resource metadata and usage; it can’t change anything.
You
Approve in Recommendations
It appears in your Recommendations view with what it would save. Approve the resources you choose. Nothing has changed yet.
Fixer
Runs in your account
The fixer runs as an AWS Systems Manager Automation runbook in your AWS account, and acts only on the resources you approved.
Record
Logs the execution
The Systems Manager execution is logged, so every change can be audited.
Finder role
Read-only. It can see resource metadata and usage. It can’t change anything.
Fixer role
A separate, minimal role that acts only on the resources you approved, through AWS Systems Manager.
Why it costs money
Provisioned concurrency keeps a set number of Lambda execution environments initialized for a function version or alias, so requests skip the cold start.
Those environments stay reserved for that version or alias until the setting is removed. A function that has stopped receiving traffic keeps paying for them.
What to look at
- Active functions with provisioned concurrency on an alias or version and no invocations, or almost none, over the last 30 days by default. Functions tagged cloudfix:dontFixIt are skipped.
- The metrics. ProvisionedConcurrencyInvocations counts calls served by provisioned concurrency and ProvisionedConcurrencyUtilization shows how much of it is in use; ProvisionedConcurrentExecutions isn’t reported at all while a function is idle.
- Event sources. Provisioned concurrency only serves traffic sent to that alias or version, so check whether callers point somewhere else.
- Application Auto Scaling. If a scaling policy manages the function’s provisioned concurrency, change the policy too.
What the change does
- The fixer deletes the provisioned concurrency configuration for that alias or version, then tags the function. It runs when you execute it, or by itself if Always Execute Fixer is on for this finder.
- There is no rollback runbook; to restore it, set the same value again with PutProvisionedConcurrencyConfig, using the figures in the recommendation report. Nothing goes down, but cold starts can return.
Sources: AWS: Configuring provisioned concurrency; AWS: Types of metrics for Lambda functions; AWS: AWS Lambda pricing; CloudFix support: Lambda delete unused provisioned capacity.
See whether this one applies to your account.
A free savings assessment reports which fixers can be applied to your environment. Results typically within 24 hours.