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

Hookdeck: The Serverless Event Gateway

Hookdeck is a reliable and scalable serverless event gateway for sending, receiving, authenticating, transforming, filtering, and routing events between services in your event-driven architecture.

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 4 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. Do you want to know how to test serverless architectures with a fast dev & test loop? Check out my latest course, Testing Serverless Architectures and learn the smart way to test serverless.
  3. 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.
  4. Join my community on Discord, ask questions, and join the discussion on all things AWS and Serverless.