Snakes and Ladders: The Ups and Downs of Python Development with AWS Lambda - Kristi Perreault

Поділитися
Вставка
  • Опубліковано 11 лют 2025
  • Snakes and Ladders: The Ups and Downs of Python Development with AWS Lambda - Kristi Perreault - PyCon Italia 2024
    Elevator Pitch:
    Python is the second most used language for AWS Lambda, and yet beginner developers through seasoned architects still struggle with python cloud development. Join us as we discuss the common pitfalls and the tools we can use to address them, and together we can make python as common as the viper.
    Description:
    In the 2023 Datadog State of Serverless Report, researchers identified python as the #2 most used language for AWS Lambda, with nearly 30% of lambda functions using python [1]. Additionally, python has the shortest cold start time out of all languages [1], was the first supported language for Lambda Powertools, and event has its own specific local testing tools, python-lambda-local and the moto mocking library. With all this support, it’s surprising to see how difficult python can still be in cloud development. Working for years in Serverless DevOps and Cloud Enablement in a large enterprise, as well as engaging with the tech community, I’ve seen beginner developers up through seasoned architects struggle with packaging python dependencies in the cloud, get frustrated with frequent build & deploy failures, and fall into the “well it works locally on my machine” trap. Luckily, with some expertise and the supporting technologies we have at our disposal, these difficulties can be not only easy to work through but will have you reaching for python for all your cloud applications.
    DETAILED OVERVIEW
    As an avid python AWS lambda developer, we will spend this session focusing on the common pitfalls of python AWS lambda development, the tools & techniques we can use to overcome these challenges, and how to get the most out of developing your AWS lambda functions with python.
    This talk will cover:
    • The challenges developers face working with python compute in AWS, including dependency conflicts & package sizing, working with local vs deployed environments, interacting with the filesystem & the OS library, injecting environment variables, and more.
    • Tips & tools for addressing your Big Python Problems in cloud, including embracing technologies like Docker & containerization, lambda layers, and lambda powertools.
    • Testing appropriately with python-lambda-local, moto, and tox to save time & future frustrations.
    Attendees will walk away with an understanding of how to create, develop, and troubleshoot pesky python AWS lambda functions following best practices from real-world experiences.
    AUDIENCE
    This session is best suited for those at any level in their career, however this session may be of particular interest to those that have intermediate experience with python & AWS or focus on cloud computing with python. This is a technical topic focused python AWS Lambda development that would be extraordinarily beneficial for anyone looking to develop or strengthen their serverless cloud computing posture.
    SOURCES
    [1] www.datadoghq.....
    Learn more: 2024.pycon.it/...
    #Packaging #BestPractice #AWS #Testing #Computing

КОМЕНТАРІ •