Security Cloud Courses About
imgs/hero.webp

AWS Lambda Powertools (Python)

AWS Labs has a lot of open source code up on GitHub. This post looks at the AWS Lambda Powertools for Python. This project aims to help you get the most out of your AWS Lambda functions.

I call out a few more details in the Twitter thread below…

Tweet 1/7 ๐Ÿ‘‡ Next tweet

too many cool repos from @awscloud Labs, so we're 2x the ๐Ÿงต's this week

let’s look at AWS Lambda Powertools (Python). it’s available at https://github.com/awslabs/aws-lambda-powertools-python

๐Ÿงตโ˜๏ธ #cloud #devops

Tweet 2/7 ๐Ÿ‘‡ Next tweet ๐Ÿ‘† Start

this thread is up unrolled at https://t.co/ACLd1UfFgv

the last thread on the @awscloud Deployment Framework is up at https://markn.ca/2021/aws-deployment-framework/

๐Ÿงตโ˜๏ธ #cloud #devops

Tweet 3/7 ๐Ÿ‘‡ Next tweet ๐Ÿ‘† Start

this project follows a set of tenets:
  • AWS Lambda only
  • ease the adoption of best practice
  • keep it lean
  • strive for backwards compatibility
  • work backwards from the community
  • be idiomatic

๐Ÿ‘† those are solid

๐Ÿงตโ˜๏ธ #cloud #devops

Tweet 4/7 ๐Ÿ‘‡ Next tweet ๐Ÿ‘† Start

the goal of this project is really to help you get the most out of your Lambdas

this project deploys as a layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html), making it super simple to use

the main areas of help:

  • tracing
  • logging
  • metrics
  • event handling

๐Ÿงตโ˜๏ธ #cloud #devops

Tweet 5/7 ๐Ÿ‘‡ Next tweet ๐Ÿ‘† Start

these are areas that come up time & time again when you're dealing with #serverless functions. this project does the heavy lifting here, so that you don't need to re-invent the wheel << very handy

๐Ÿงตโ˜๏ธ #cloud #devops

Tweet 6/7 ๐Ÿ‘‡ Next tweet ๐Ÿ‘† Start

there's also some there utilities that are starting to make their way towards release. the feature flag utility is of particular interest, keep your eye on it

๐Ÿงตโ˜๏ธ #cloud #devops

Tweet 7/7 ๐Ÿ‘‡ Next tweet ๐Ÿ‘† Start

all-in-all, if you're using AWS Lambda (& who isn't?), the power tools can really help. this repo is for Python but there's a project for Java too

full docs at https://awslabs.github.io/aws-lambda-powertools-python/latest/

/๐Ÿงตโ˜๏ธ #cloud #devops