Porting your Python web app to serverless on AWS in 30 minutes 🐍

Alex Casalboni (~alex62)




This live-coding session will guide you through the process of migrating an existing Flask application to AWS Lambda.

We will analyze the existing application, decompose it into individual microservices, adapt authentication, frontend, tests, and data model, and finally deploy it to the Cloud.

Throughout this step-by-step process, you will learn the benefits of serverless and how it will improve the way we think of scalability, availability, security, infrastructure management, and cost optimization.


  • What's serverless computing [10min]
  • Principles of event-driven architectures
  • Infrastructure as Code (IaC) for serverless
  • Python support for AWS Lambda
  • Web app migration: lift and shift approach [5min]
  • Web app migration: live coding [25min]


The basics of web development and some cloud fundamentals.

Video URL:


Speaker Info:

Alex is deeply passionate about web technologies and music. He has been building web products and helping other builders learn from his experience since 2011. His coding love spreads across the Python and the JavaScript communities, and he's been contributing to open-source projects such as AWS Lambda Power Tuning. He co-organizes the serverless meetup in Milan, as well as ServerlessDays Milan (previously JeffConf).

As a Sr. Developer Advocate, Alex often speaks at technical conferences across the world, supports developer communities and helps them build applications in the cloud. He is particularly interested in serverless architectures, machine learning, and data analytics.

In his free time, Alex loves snowboarding, jogging, traveling, and playing his saxophone.

Section: Web development
Type: Talks
Target Audience: Intermediate
Last Updated: