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; and providing modular examples that can be deployed to AWS or LocalStack with ease, enabling developers to explore libraries.

Related Talks

Why local AWS environments are faster, easier, & more efficient

So many of the challenges that slow down software development stem from the fact that early-stage dev & test cycles are performed in cloud environments.

Local cloud development removes these challenges.

By simulating AWS application behavior in a local container, the local cloud enables developers and agents to validate the security, quality, and reliability of their applications faster and more effectively than they can on the cloud.

Learn More
Learn More
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

Launch yourself in the world of local cloud development

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