Debug Your Infrastructure

Get Instant Solutions for Kubernetes, Databases, Docker and more

AWS CloudWatch
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Pod Stuck in CrashLoopBackOff
Database connection timeout
Docker Container won't Start
Kubernetes ingress not working
Redis connection refused
CI/CD pipeline failing

AWS Lambda (sdk) ProvisionedConcurrencyConfigNotFoundException

The specified provisioned concurrency configuration does not exist.

Understanding AWS Lambda

AWS Lambda is a serverless compute service that allows you to run code without provisioning or managing servers. It automatically scales your application by running code in response to each trigger, such as changes in data or system state. Lambda is designed to handle various workloads, from simple web applications to complex data processing pipelines.

Identifying the Symptom

When working with AWS Lambda, you might encounter the error ProvisionedConcurrencyConfigNotFoundException. This error indicates that the specified provisioned concurrency configuration does not exist. It typically occurs when you attempt to manage or invoke a Lambda function with a non-existent provisioned concurrency setting.

What You Observe

Developers may notice this error when trying to configure or update the provisioned concurrency settings of a Lambda function. The error message is usually displayed in the AWS Management Console or returned by AWS SDKs when making API calls.

Explaining the Issue

The ProvisionedConcurrencyConfigNotFoundException error occurs when the AWS Lambda service cannot find the specified provisioned concurrency configuration for a function. Provisioned concurrency is a feature that allows you to pre-allocate a specific number of concurrent executions for a Lambda function, ensuring that it is always ready to handle requests.

Common Causes

  • The provisioned concurrency configuration was never set up for the Lambda function.
  • The configuration was deleted or modified incorrectly.
  • Incorrect function name or version/alias specified in the request.

Steps to Resolve the Issue

To resolve the ProvisionedConcurrencyConfigNotFoundException, follow these steps:

Verify Configuration

  1. Log in to the AWS Management Console.
  2. Navigate to the AWS Lambda console.
  3. Select the function for which you want to verify the provisioned concurrency settings.
  4. Check the 'Concurrency' tab to ensure that the provisioned concurrency is configured correctly.

Correct Function and Alias

  1. Ensure that you are specifying the correct function name and version or alias in your API calls or SDK requests.
  2. Use the AWS CLI to list aliases and versions to confirm their existence:
    aws lambda list-aliases --function-name
    aws lambda list-versions-by-function --function-name

Reconfigure Provisioned Concurrency

  1. If the configuration is missing, set up provisioned concurrency again using the AWS CLI:
    aws lambda put-provisioned-concurrency-config \
    --function-name \
    --qualifier \
    --provisioned-concurrent-executions
  1. Verify the configuration by checking the 'Concurrency' tab in the AWS Lambda console.

Conclusion

By following these steps, you should be able to resolve the ProvisionedConcurrencyConfigNotFoundException error. Ensuring that your provisioned concurrency settings are correctly configured will help maintain the performance and reliability of your AWS Lambda functions. For more information, refer to the AWS Lambda Concurrency documentation.

Master 

AWS Lambda (sdk) ProvisionedConcurrencyConfigNotFoundException

 debugging in Minutes

— Grab the Ultimate Cheatsheet

(Perfect for DevOps & SREs)

Most-used commands
Real-world configs/examples
Handy troubleshooting shortcuts
Your email is safe with us. No spam, ever.

Thankyou for your submission

We have sent the cheatsheet on your email!
Oops! Something went wrong while submitting the form.

AWS Lambda (sdk) ProvisionedConcurrencyConfigNotFoundException

Cheatsheet

(Perfect for DevOps & SREs)

Most-used commands
Your email is safe thing.

Thankyou for your submission

We have sent the cheatsheet on your email!
Oops! Something went wrong while submitting the form.

MORE ISSUES

Deep Sea Tech Inc. — Made with ❤️ in Bangalore & San Francisco 🏢

Doctor Droid