How to optimise the cost of Lambda ?

0

How to optimise the cost of lambda. we are getting data from AMS through lamdba. currently we created 3 lambda functions from each dataset like one function for sp_traffic , one fucntion for sp_conversion and one for budget_usage.And each function is have 128 mb of memory. How can we reduce the cost of the lambda.

gefragt vor einem Jahr258 Aufrufe
2 Antworten
1

Consider using a Compute Savings Plan.
https://aws.amazon.com/savingsplans/compute-pricing/?nc1=h_ls

"AWS Compute Optimizer" can be used to optimize Lambda performance.
If you are over-performing, you can reduce costs by checking here and setting the appropriate performance.
https://docs.aws.amazon.com/compute-optimizer/latest/ug/view-lambda-recommendations.html

profile picture
EXPERTE
beantwortet vor einem Jahr
0

In some situations 128MB maybe is not the cheapest configuration.

Please try https://github.com/alexcasalboni/aws-lambda-power-tuning

To find the best configuration for your lambda.

beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen