Cloud Defense Logo

Products

Solutions

Company

Book A Live Demo

Rule: Lambda Functions Concurrent Execution Limit Configured

This rule checks if the concurrent execution limit is configured for Lambda functions.

RuleLambda functions concurrent execution limit configured
FrameworkFederal Financial Institutions Examination Council (FFIEC)
Severity
Low

Rule Description

The concurrent execution limit for Lambda functions is configured for the Federal Financial Institutions Examination Council (FFIEC). This rule ensures that the FFIEC's Lambda functions are running within the specified concurrency limits to maintain efficient resource utilization.

Troubleshooting Steps

If there are any issues related to the concurrent execution limit of Lambda functions for FFIEC, the following troubleshooting steps can be followed:

  1. 1.

    Monitor CloudWatch Metrics: Use CloudWatch to monitor the concurrent execution metric for Lambda functions. Check if the number of concurrent executions is reaching the configured limit.

  2. 2.

    Analyze Throttling Errors: If Lambda functions are being throttled due to exceeding the concurrent execution limit, analyze the CloudWatch Logs for any occurrence of "ThrottlingException" errors. These errors indicate that functions are being temporarily blocked from execution.

  3. 3.

    Check Concurrency Settings: Review the concurrency settings for the Lambda functions targeting FFIEC. Ensure that the desired limit is configured correctly.

  4. 4.

    Adjust Concurrency Limits: If necessary, consider increasing the concurrency limits to allow for higher concurrent executions of Lambda functions. This can be done using the AWS Management Console or AWS Command Line Interface (CLI) commands.

Necessary Codes

In case you need to adjust the concurrency limits programmatically, you can use the following AWS CLI commands:

  1. 1.
    To get the current concurrency limit of a Lambda function:
aws lambda get-function-concurrency --function-name <function-name>
  1. 1.
    To update the concurrency limit for a Lambda function:
aws lambda put-function-concurrency --function-name <function-name> --reserved-concurrent-executions <limit>

Replace

<function-name>
with the actual name of the Lambda function and
<limit>
with the desired concurrency limit.

Remediation Steps

If the concurrent execution limit for Lambda functions targeting FFIEC needs to be adjusted, follow the steps below:

  1. 1.

    Identify the Lambda function(s) associated with FFIEC.

  2. 2.

    Determine the desired concurrency limit for the function(s) based on the workload requirements.

  3. 3.

    Use the AWS Management Console or AWS CLI to update the concurrency limit by executing the appropriate command mentioned in the "Necessary Codes" section.

  4. 4.

    Verify the successful update by checking the concurrency limit using the same method mentioned in step 1 of the "Necessary Codes" section.

  5. 5.

    Monitor the CloudWatch Metrics and CloudWatch Logs to ensure that the Lambda functions are running smoothly within the updated concurrency limits.

By following these steps, you can effectively configure and adjust the concurrent execution limit for Lambda functions targeting the FFIEC, maintaining optimal resource utilization and avoiding throttling errors.

Is your System Free of Underlying Vulnerabilities?
Find Out Now