We Made This (Community)
This space is dedicated to highlight our awesome community content featuring Powertools for AWS Lambda (Python) 🙏!
Connect¶
Join us on Discord to connect with the Powertools for AWS Lambda (Python) community 👋. Ask questions, learn from each other, contribute, hang out with key contributors, and more!
Blog posts¶
AWS Lambda Cookbook — Following best practices with Lambda Powertools¶
Author: Ran Isenberg
A collection of articles explaining in detail how Lambda Powertools helps with a Serverless adoption strategy and its challenges.
Making all your APIs idempotent¶
Author: Michael Walmsley
This article dives into what idempotency means for APIs, their use cases, and how to implement them.
Deep dive on Lambda Powertools Idempotency feature¶
Author: Michael Walmsley
This article describes how to best calculate your idempotency token, implementation details, and how to handle idempotency in RESTful APIs.
Developing AWS Lambda functions with AWS Lambda Powertools¶
Author: Stephan Huber
This article walks through how to add Powertools to an existing project, covers Tracer, Logger, Metrics, and JSON Schema Validation.
Speed-up event-driven projects¶
Author: Joris Conijn
This article walks through a sample AWS EventBridge cookiecutter template presented at the AWS Community Day Netherlands 2022.
Implementing Feature Flags with AWS AppConfig and AWS Lambda Powertools¶
Author: Ran Isenberg
This article walks through how CyberArk uses Powertools to implement Feature Flags with AWS AppConfig
Designing for Idempotency¶
Author: Valentin Dreismann
This article outlines the importance of idempotency, key considerations and trade-offs when implementing in your systems.
Videos¶
Building a resilient input handling with Parser¶
Author: Ran Isenberg
When building applications with AWS Lambda it is critical to verify the data structure and validate the input due to the multiple different sources that can trigger them. In this session Ran Isenberg (CyberArk) will present one of the interesting features of AWS Lambda Powertools for python: the parser.
In this session you will learn how to increase code quality, extensibility and testability, boost you productivity and ship rock solid apps to production.
Talk DEV to me | Feature Flags with AWS Lambda Powertools¶
Author: Ran Isenberg
A deep dive in the Feature Flags feature along with tips and tricks.
Level Up Your CI/CD With Smart AWS Feature Flags¶
Author: Ran Isenberg
Feature flags can improve your CI/CD process by enabling capabilities otherwise not possible, thus making them an enabler of DevOps and a crucial part of continuous integration. Partial rollouts, A/B testing, and the ability to quickly change a configuration without redeploying code are advantages you gain by using features flags.
In this talk, you will learn the added value of using feature flags as part of your CI/CD process and how AWS Lambda Powertools can help with that.
Workshops¶
Introduction to Lambda Powertools¶
Author: Michael Walmsley
This repo contains documentation for a live coding workshop for the AWS Programming and Tools Meetup in Melbourne. The workshop will start with the SAM Cli "Hello World" example API project.
Throughout the labs we will introduce each of the AWS Lambda Powertools Core utilities to showcase how simple they are to use and adopt for all your projects, and how powerful they are at bringing you closer to the Well Architected Serverless Lens.
Walk-through video
Sample projects¶
Complete Lambda Handler Cookbook¶
Author: Ran Isenberg
This repository provides a working, deployable, open source based, AWS Lambda handler and AWS CDK Python code.
This handler embodies Serverless best practices and has all the bells and whistles for a proper production ready handler. It uses many of the AWS Lambda Powertools utilities for Python.
github.com/ran-isenberg/aws-lambda-handler-cookbook
Serverless Transactional Message App¶
Author: Santiago Garcia Arango
This repository contains a well documented example of a Transactional Messages App that illustrates how to use Lambda PowerTools to process SQS messages in batches (with IaC on top of CDK).
It uses LambdaPowerTools Logger, Tracing, DataClasses and includes unit tests.
github.com/san99tiago/aws-cdk-transactional-messages