Flask Lambda Lab

Quickly build an infinitely scale-able serverless web application that runs on AWS lambda for just pennies per month. Cloud Shift Strategies will lead an interactive workshop where each attendee will build a simple Flask based web application and deploy it to lambda. No programming skills are required!

lambda_icon.png

Quickly build an infinitely scale-able serverless web application that runs on AWS lambda for just pennies per month. Cloud Shift Strategies will lead an interactive workshop where each attendee will build a simple Flask based web application and deploy it to lambda. No programming skills are required!

In this lesson, we will set up a virtual Linux machine in AWS EC2 that will be our development environment. On that machine, we will download a flask application from github and stage it for deployment to AWS lambda using zappa.

In this lesson, we will download a flask application using git from

github and deploy it to AWS lambda using zappa!

In this lesson, we will download a more sophisticated version of the

flask app from a git branch of our original project called `lesson2`.

This version of the application uses Bootstrap css and js libraries

to make the web page easier on the eyes. We'll also expand the application

code to use flask templates and add a few pages to the site

In this lesson, we will expand our application by registering a trigger

that calls a lambda function each time a file is POSTed to our S3

uploads bucket. The triggered function will create a thumbnail image

from the uploaded image and store the thumbnail in the thumbnail bucket.

Finally, the function will store the URL to the thumbnail image in

the uploaded image's metadata, so that our gallery application knows

where to find the thumbnail.

Removing the resource we created