Analyze Lambda cold starts with lumigo-cli

Yan Cui

I help clients go faster for less using serverless technologies.

This article is brought to you by

MongoDB 8.0 is here to change the game. Faster reads and inserts, and brand-new vector search to support modern AI-powered apps.

Learn More

I’m absolutely thrilled to tell you about an exciting new feature for the lumigo-cli, the ability to analyze Lambda cold starts. With the new analyze-lambda-cold-starts command, you can analyze cold starts for:

  • all functions in all regions
  • all functions in a single region
  • a single function

You can specify how far back you want the analysis to go. Defaulting at the last hour, you can go as far back as there are relevant log data in CloudWatch Logs. But please keep in mind that there is a cost involved with scanning large quantities of log data – roughly $0.005 per GB of data scanned.

Furthermore, you can also power-tune Lambda functions using the new “balanced” strategy, which finds the memory size setting that gives you the best balance between speed and cost.

I hope you will have lots of fun with these two new features. If you have any feature requests or run into any bugs, please don’t hesitate to let me know.

p.s. you can now report bugs using the lumigo-cli itself:

Whenever you’re ready, here are 3 ways I can help you:

  1. Production-Ready Serverless: Join 20+ AWS Heroes & Community Builders and 1000+ other students in levelling up your serverless game. This is your one-stop shop for quickly levelling up your serverless skills.
  2. I help clients launch product ideas, improve their development processes and upskill their teams. If you’d like to work together, then let’s get in touch.
  3. Join my community on Discord, ask questions, and join the discussion on all things AWS and Serverless.