Practical ways to reduce your AWS Lambda bills
serverlessrepo.aws.amazon.com·9h·
Discuss: DEV
Flag this post

Are you paying thousands of dollars for running Lambda functions in your AWS accounts. That's a common scenario where you start of Lambda functions as it is cheap but over time when you invoking the Lambda thousands of times, your bills just go high and you can't figure out how to reduce it. In this article, I will talk about steps you can take to reduce the cost.

Identify Source of Cost

Before we can reduce the cost, we need to understand where the cost is coming from. Let's go through a few metrics.

  • Invocations:

    • How often are the Lambda functions being called?
    • Is the architecture correct?
    • Do you need to call it that often.
  • Duration:

    • How long are the functions ru...

Similar Posts

Loading similar posts...