Tapu Das
Tapu Das

Reputation: 411

Break down Lambda functions by Request Count and Costs

On my AWS account, I have multiple lambda functions. When lambda costs go up, I'm unable to identify which lambda is to blame. How can I monitor each lambda function by determining the cost and request count for a single lambda function?

Upvotes: 0

Views: 1532

Answers (2)

Tapu Das
Tapu Das

Reputation: 411

For anyone who are searching for the answer of this same question. You can assign user allocation tags for individual lambda functions and monitor the expense from cost allocation tags. More on how cost allocation tags work,

https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/custom-tags.html

Upvotes: 0

Zaid Afzal
Zaid Afzal

Reputation: 356

AWS Cost Explorer allows you to view your costs and usage trends and you can filter by service, function name, and resource ID.

Choose "Lambda" from list of services and select "Function name" from the "Group by" dropdown menu.

Cost Explorer is more suited if all the Lambda functions are appropriately tagged. This article explores some methods to keep an eye on individual lambda functions's cost.

Upvotes: -1

Related Questions