title | description |
---|---|
We Made This (Community) |
Blog posts, tutorials, and videos about Powertools for AWS Lambda (Python) created by the Powertools for AWS Lambda (Python) Community. |
This space is dedicated to highlight our awesome community content featuring Powertools for AWS Lambda (Python) 🙏!
!!! info "Get your content featured here{target="_blank" rel="nofollow"}!"
{target="_blank" rel="nofollow"}
Join us on Discord{target="_blank" rel="nofollow"} to connect with the Powertools for AWS Lambda (Python) community 👋. Ask questions, learn from each other, contribute, hang out with key contributors, and more!
Author: Ran Isenberg :material-twitter:{target="_blank" rel="nofollow"} :material-linkedin:{target="_blank" rel="nofollow"}
A collection of articles explaining in detail how Powertools for AWS Lambda helps with a Serverless adoption strategy and its challenges.
-
Part 1 - Logging{target="_blank" rel="nofollow"}
-
Part 2 - Observability: monitoring and tracing{target="_blank" rel="nofollow"}
-
Part 3 - Business Domain Observability{target="_blank" rel="nofollow"}
-
Part 4 - Environment Variables{target="_blank" rel="nofollow"}
-
Part 5 - Input Validation{target="_blank" rel="nofollow"}
-
Part 6 - Configuration & Feature Flags{target="_blank" rel="nofollow"}
-
Serverless API Idempotency with AWS Powertools for AWS Lambda and CDK{target="_blank" rel="nofollow"}
-
Effective Amazon SQS Batch Handling with Powertools for AWS Lambda (Python){target="_blank" rel="nofollow"}
-
Serverless API Documentation with Powertools for AWS Lambda{:target="_blank"}
-
Best practices for accelerating development with serverless blueprints{target="_blank" rel="nofollow"}
-
Build a Chatbot with Amazon Bedrock: Automate API Calls Using Powertools for AWS Lambda and CDK{target="_blank" rel="nofollow"}
Author: Michael Walmsley{target="_blank" rel="nofollow"} :material-twitter:
This article dives into what idempotency means for APIs, their use cases, and how to implement them.
- blog.walmsles.io/making-all-your-apis-idempotent{target="_blank" rel="nofollow"}
Author: Michael Walmsley{target="_blank" rel="nofollow"} :material-twitter:
This article describes how to best calculate your idempotency token, implementation details, and how to handle idempotency in RESTful APIs.
- blog.walmsles.io/aws-lambda-powertools-idempotency-a-deeper-dive{target="_blank" rel="nofollow"}
Author: Stephan Huber{target="_blank" rel="nofollow"} :material-linkedin:
This article walks through how to add Powertools to an existing project, covers Tracer, Logger, Metrics, and JSON Schema Validation.
- globaldatanet.com/tech-blog/develop-lambda-functions-with-aws-lambda-powertools{target="_blank" rel="nofollow"}
Author: Joris Conijn{target="_blank" rel="nofollow"} :material-linkedin:
This article walks through a sample AWS EventBridge cookiecutter template presented at the AWS Community Day Netherlands 2022.
- binx.io/2022/10/11/speedup-event-driven-projects/{target="_blank" rel="nofollow"}
- Slides{target="_blank" rel="nofollow"}
Author: Ran Isenberg :material-twitter:{target="_blank" rel="nofollow"} :material-linkedin:{target="_blank" rel="nofollow"}
This article walks through how CyberArk uses Powertools to implement Feature Flags with AWS AppConfig
- aws.amazon.com/blogs/mt/how-cyberark-implements-feature-flags-with-aws-appconfig{target="_blank" rel="nofollow"}
Author: Valentin Dreismann{target="_blank" rel="nofollow"} :material-linkedin:
This article outlines the importance of idempotency, key considerations and trade-offs when implementing in your systems.
- Idempotency the right way{target="_blank" rel="nofollow"}
Author: Seongwoo Choi{target="_blank" rel="nofollow"} :material-linkedin:
This blog post focuses on the importance of idempotency in distributed services and explores streamlined idempotent request flows. It provides guidance on idempotency tests using duplicate requests.
- Implementing Idempotency in Serverless Architectures{target="_blank" rel="nofollow"}
This blog post showcases how to use AWS CDK and Powertools for AWS Lambda, along with Amazon API Gateway and AWS Lambda, to effortlessly deploy scalable infrastructure with just a few lines of code.
Author: Thomas Taylor{target="_blank" rel="nofollow"} :material-linkedin:
Creating a serverless API using Powertools for AWS Lambda and CDK{target="_blank" rel="nofollow"}
This article will guide you through personalizing observability by integrating CloudWatch metrics with Powertools for AWS Lambda into mobile push notifications, a strategy that significantly enhances mobile app engagement
Author: Nathan Hanks{target="_blank" rel="nofollow"} :material-linkedin:
Creating a serverless API using Powertools for AWS Lambda and CDK{target="_blank" rel="nofollow"}
This article will walk you through using Powertools for AWS Lambda to optimize your Lambda function when streaming large files from S3.
Author: Tom Reid{target="_blank" rel="nofollow"} :material-linkedin:
Streaming data with AWS Lambda & Powertools for AWS Lambda{target="_blank" rel="nofollow"}
Learn to implement data masking in AWS Lambda with Powertools, protecting sensitive data in healthcare and finance while ensuring compliance with HIPAA and PCI-DSS regulations.
Author: Avinash Dalvi{target="_blank" rel="nofollow"} :material-linkedin:
Simplified Data Masking in AWS Lambda with Powertools{target="_blank" rel="nofollow"}
Author: Ran Isenberg :material-twitter:{target="_blank" rel="nofollow"} :material-linkedin:{target="_blank" rel="nofollow"}
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 Powertools for AWS Lambda 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.
<iframe src="https://player.twitch.tv/?video=1034744364&parent=docs.powertools.aws.dev&autoplay=false" frameborder="0" allowfullscreen="true" scrolling="no" height="378" width="620"></iframe>Author: Ran Isenberg :material-twitter:{target="_blank" rel="nofollow"} :material-linkedin:{target="_blank" rel="nofollow"}
A deep dive in the Feature Flags{target="_blank" rel="nofollow"} feature along with tips and tricks.
<iframe src="https://player.twitch.tv/?video=1174133534&parent=docs.powertools.aws.dev&autoplay=false" frameborder="0" allowfullscreen="true" scrolling="no" height="378" width="620"></iframe>Author: Ran Isenberg :material-twitter:{target="_blank" rel="nofollow"} :material-linkedin:{target="_blank" rel="nofollow"}
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 Powertools for AWS Lambda can help with that.
Author: Heitor Lessa & Ran Isenberg
Are you developing AWS Lambda functions with Python? Always looking for tools to make you more productive? What if you could hear directly from practitioners?
This session covers an opinionated approach to Python project setup, testing, profiling, deployments, and operations. Learn about many open source tools, including Powertools for AWS Lambda—a toolkit that can help you implement serverless best practices and increase developer velocity.
Join to discover tools and patterns for effective serverless development with Python. To maximize your learning experience, the session includes a sample application that implements what’s described.
<iframe width="620" height="378" src="https://www.youtube.com/watch?v=52W3Qyg242Y" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>Author: Michael Walmsley{target="_blank" rel="nofollow"} :material-twitter:
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 Powertools for AWS Lambda 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.
- :material-github: github.com/walmsles/lambda-powertools-coding-workshop{target="_blank" rel="nofollow"}
Walk-through video
<iframe width="620" height="378" src="https://www.youtube.com/embed/N1r7J3Xztsc" title="YouTube video player" frameborder="0" allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>Author: Ran Isenberg :material-twitter:{target="_blank" rel="nofollow"} :material-linkedin:{target="_blank" rel="nofollow"}
This repository provides a working, deployable, open source based, AWS Lambda handler and AWS CDK{target="_blank" rel="nofollow"} 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 Powertools for AWS Lambda utilities for Python.
:material-github: github.com/ran-isenberg/aws-lambda-handler-cookbook{:target="_blank"}
Author: Ran Isenberg & Heitor Lessa :material-twitter:{target="_blank" rel="nofollow"} :material-linkedin:{target="_blank" rel="nofollow"}
This project covers an opinionated approach to Python project setup, testing, profiling, deployments, and operations. Learn about many open source tools, including Powertools for AWS Lambda—a toolkit that can help you implement serverless best practices and increase developer velocity.
It is based on the AWS Lambda handler cookbook project and served as the examples for the AWS re:invent 2023 session: OPN305 - The pragmatic serverless python developer.
:material-github: https://github.com/ran-isenberg/serverless-python-demo{:target="_blank"}
Author: Santiago Garcia Arango :material-web:{target="_blank" rel="nofollow"} :material-linkedin:{target="_blank" rel="nofollow"}
This repository contains a well documented example of a Transactional Messages App that illustrates how to use Powertools for AWS Lambda to process SQS messages in batches (with IaC on top of CDK).
It uses Powertools for AWS Lambda Logger, Tracing, DataClasses and includes unit tests.
:material-github: github.com/san99tiago/aws-cdk-transactional-messages{:target="_blank"}