Is serverless cheaper for your use case?

AWSArchitectureDaily Email

Have you ever needed to estimate the cost of building a new application using serverless tech? Maybe you simply needed to give stakeholders or clients a heads-up on what to expect to pay. Or maybe you did this to guide your decision on whether to use serverless over a more traditional server- or container-based stack.

If you did go down this route, you probably had to roll your own spreadsheet. This can get very complex very quickly whenever you have a distributed system with several services in the mix.

My friend Xavier Lefèvre has just published his AWS Serverless Cost Calculator which aims to solve this problem. Here are a few things I really like about it:

  • Your inputs to the spreadsheet are in terms of business metrics (e.g. number of daily user sessions) rather than lower-level service metrics (e.g. number of function invocations).
  • The calculator has sensible defaults for mapping these business metrics to the units that AWS actually bill for, but these defaults can be customised if you don’t agree with them.
  • Almost all the commonly used services within the AWS serverless suite are catered for.
  • In his announcement blog post, Xavier explains that in order to understand the Total Cost Of Ownership of a serverless solution you need to take into account much more than the cloud infrastructure costs (a horse that I will continue to flog!)

I strongly recommend you start by reading the blog post, but if you’re itching to jump straight to the calculator, go here and be sure to choose “Make a Copy” from the File menu to ensure you have edit access and can toggle between the different dropdown presets that Xavier has made available.

Here’s the article link again: Is serverless cheaper for your use case?

— Paul

Originally published .

Other articles you might enjoy:

Free Email Course

How to transition your team to a serverless-first mindset

In this 5-day email course, you’ll learn:

  • Lesson 1: Why serverless is inevitable
  • Lesson 2: How to identify a candidate project for your first serverless application
  • Lesson 3: How to compose the building blocks that AWS provides
  • Lesson 4: Common mistakes to avoid when building your first serverless application
  • Lesson 5: How to break ground on your first serverless project

    🩺
    Architecture & Process Review

    Built a serverless app on AWS, but struggling with performance, maintainability, scalability or DevOps practices?

    I can help by reviewing your codebase, architecture and delivery processes to identify risk areas and their causes. I will then recommend solutions and help you with their implementation.

    Learn more >>

    🪲 Testing Audit

    Are bugs in production slowing you down and killing confidence in your product?

    Get a tailored plan of action for overhauling your AWS serverless app’s tests and empower your team to ship faster with confidence.

    Learn more >>