Exploring Lambda Functions - Monitoring and more | Scribe

    Exploring Lambda Functions - Monitoring and more

    • Hafeez Baig |
    • 18 steps |
    • 4 minutes
    information ordinal icon

    Refer to the following guide to learn how to use IAM in the cloud\ <https://scribehow.com/shared/Creating_an_IAM_User_and_User_Group_in_AWS_Management_Console__hWNiiXlcRJKFqYZZEJD-cg> Refer to this guide to learn how to create an AWS Lambda Function<https://scribehow.com/shared/Creating_your_first_AWS_Lambda_Function__yiSoRke_T3q56oZpUcRduA>

    1

    After creating the Lambda Function, click on the **Monitor** tab to view its Monitoring metrics

    2

    In the **Monitor** section, you can Monitor metrics such as duration and other CloudWatch metrics and indicators

    3

    Click on the **Configuration** tab, you can view detailed information and manage the general Configuration of the Lambda function

    4

    In the **configuration** section, scroll to "**Monitoring and Operations Tools**" from the left bar and click on it

    5

    In **Monitoring and Operations Tools** section, you can access and utilize the Monitoring and Operations Tools

    6

    On the right side, you'll find the **Edit** button to manage the additional Monitoring tools

    7

    The wizard for Editing monitoring tools will open, where you can toggle the **AWS X-Ray Active tracing** option on or off

    information ordinal icon

    **What is AWS X-Ray?** AWS X-Ray is a service provided by Amazon Web Services (AWS) that allows developers to analyze and debug distributed applications. It provides insights into how applications are performing by tracing requests as they travel through various AWS services and components. With X-Ray, developers can identify performance bottlenecks, pinpoint errors, and optimize application performance.

    8

    Scroll the page and click on **Save** button to Save the settings

    9

    In the **configuration** section, scroll to "**VPC**" from the left bar and click on it

    10

    In the VPC section, you can access **VPC** details

    11

    On the right side, you'll find the **Edit** button to edit the VPC

    12

    In the **configuration** section, scroll to "**Concurrency**" from the left bar and click on it

    information ordinal icon

    **What is Concurrency in AWS?** Concurrency refers to the ability of a system to execute multiple tasks or processes simultaneously. In the context of AWS, concurrency often relates to the number of simultaneous executions of a particular function or service within a given environment.

    13

    In the **Concurrency** section, you can access **Concurrency** details

    14

    On the right side, you'll find the **Edit** button to manage the Concurrency

    15

    Below the **concurrency** section, you can add new configurations in the **Provisioned concurrency configurations** section

    information ordinal icon

    **What is Provisioned concurrency configurations in AWS?** Provisioned concurrency configuration in AWS allows users to specify a pre-defined number of instances of a function to be ready and available to handle incoming requests at all times. This helps in reducing cold starts and ensures consistent performance for functions with varying loads.

    16

    In the **configuration** section, scroll to "**Asynchronous invocation**" from the left bar and click on it