Introducing Stackoscope For Serverless Applications

Home Blog Introducing Stackoscope For Serverless Applications

Here at Lumigo, we are focused on helping customers succeed with serverless and make it easier for them to build and run serverless applications in production. We love serverless and operate one of the largest serverless systems out there as we ingest and process billions of events from our customers.

One thing many customers have asked us for help with is to identify misconfigured resources or places where they can improve by following best practices.

We’re excited to announce the launch of Stackoscope, a free tool that scans your AWS resources and gives you recommendations for improvements. It’s similar to tools such as AWS Trusted Adviser but it’s free to use and is focused on serverless applications that utilize services such as Lambda, API Gateway, SNS, DynamoDB.

What does Stackoscope do?

In short, Stackoscope scans your AWS account and identifies problems with these resources:

  • Lambda
  • DynamoDB
  • SNS
  • SQS

 

Stackoscope then emails you a PDF report with a list of recommendations on:

  • Cost
  • Debugging
  • Performance
  • Security
  • Resilience
  • Scalability

These recommendations are classified into Low, Medium and High in terms of impact.

High impact recommendations would give you the biggest bang for your buck, so start with these when you action on our recommendations!

 

For example, the deployment package size affects the cold start performance of Lambda functions. So whenever we see Node.js functions with a large deployment package, we will recommend you to use a bundler such as webpack or esbuild to reduce the package size.

If you’re building event driven systems and processing events with EventBridge, SNS, Kinesis, Streams or DynamoDB Streams, we will also alert you when you’re missing those all important OnFailure destinations or DLQs.

For DynamoDB users, we will also look at the usage of your table and tell you whether you could save money by switching your provisioned throughput table to on-demand billing (and vice versa).

In total, Stackoscope currently offers 15 recommendations across Lambda, DynamoDB, SNS and SQS. More recommendations will be added and we will expand our support across more services, and your feedback is important and would help us shape the future of Stackoscope!

Getting Started

To get started, install the lumigo-cli by running `npm i -g lumigo-cli`.

Once installed, run `lumigo-cli scanner` and tell us where you’d like us to send the report.

And that’s it!

The lumigo-cli would use your current AWS credential and scan your account for relevant resources and send metadata about these resources to our backend for processing. Once we’re done, we’ll send you a copy of the report via email.

Give Stackoscope a try and let us know what you find most useful and how we can help you better!