Serverless Best Practices with AWS Lambda PowerTools

For one-off tasks, AWS Lambda really can be incredibly easy. You write a few lines of code, deploy it, and you have a function running in the cloud ready to respond to events, scale automatically, and that only costs you pennies.But as your application grows, so does some necessary complexity. When a few one-off functions become a full serverless backend architecture made up of interconnected services, you’ll need to pay careful attention to best practices to ensure that your application is easy to debug, maintain, and scale.That’s where AWS Powertools for Lambda fits in. It’s a suite of reusable utilities designed to simplify bringing best practices around things like logging, tracing, metrics, idempotency and more to your Lambda functions with minimal effort.This demo session will dive into some of the functionality provided by the AWS Powertools (TypeScript) core libraries, such as:Encapsulating best practices into reusable libraries for structured logging, metrics collection, idempotency, and more.Leveraging Middy middleware to integrate common cross-cutting concerns, such as injecting Lambda context or automatically flushing metric.Enabling local testing with LocalStack, allowing you to deploy and debug Lambda functions with structured logs, trace data, and embedded metrics.Providing modular examples that can be deployed to AWS or LocalStack with ease, enabling developers to explore libraries.

Related Talks

Introducing lstk: The New LocalStack CLI

Silvio and Carole introduce lstk, LocalStack's next-generation CLI built from scratch in Go. They explain why the team rebuilt the CLI, walk through its key features — zero-config startup, seamless browser-based authentication, and a rich interactive TUI that surfaces real-time progress and actionable errors — and demo how lstk gets you from install to a running emulator in seconds. They also dive into the architecture behind lstk and how it is designed to support multiple emulators, flexible runtimes, and deep integrations with CI pipelines and IDEs.

Learn More
Learn More
Simulate Microservices, Cloud Services, and Everything Else with WireMock

Cloud-first development kills your inner dev loop. There's a better way.TypeDB on AWS is powerful — Lambda functions querying complex relationship hierarchies, recursive schema functions resolving transitive memberships, all without application logic. But iterating on schemas and queries in the cloud is slow and expensive.Harsh Mishra introduces the TypeDB extension for LocalStack: run a fully functional TypeDB server inside your local AWS environment and connect your app exactly as you would in production. Faster iteration, zero unnecessary spend.

Learn More
Learn More
Why Property Graphs Aren't Enough

Are Property Graphs living up to the hype? Maybe the model itself is the problem.We made the move from relational databases to graph databases to escape "Join Pain" and model the real world more naturally — but for many engineering teams, that promise has curdled into something worse: the Spaghetti Graph.Complex queries. Ugly workarounds for multi-party relationships. Fragile schemas that shatter with every iteration and become a nightmare to maintain.The good news? The problem isn't your data.In this talk, Joshua Send breaks down why standard Labeled Property Graphs (LPGs) fall short when applied to complex domains — and introduces TypeDB, a strongly-typed database that brings together the connectivity of a graph with the integrity of a relational model.You'll come away understanding:Why LPGs struggle at scale and complexityWhat "Spaghetti Graphs" are and how teams fall into the trapHow TypeDB's type system enforces data integrity without sacrificing flexibilityWhen a strongly-typed graph database is the right tool for the jobWhether you're deep in a graph migration, evaluating database architectures, or just tired of schema chaos — this one's for you.

Learn More
Learn More

Launch yourself in the world of local cloud development

Try for free
Try for free
Talk to Sales
Talk to Sales