Serverless architectures let cloud providers handle the burden of managing servers and scaling to meet demand. Costs can also be reduced because you only pay for the compute resources needed to handle requests instead of paying for idle servers waiting for requests to come in. In this lab you will practice serverless web development with Python for AWS by testing and deploying a to-do list application that uses:
Upon completion of this lab you will be able to:
You should be familiar with:
Before completing the lab instructions, the environment will look as follows:
After completing the lab instructions, the environment should look similar to:
June 14th, 2023 - Resolved permissions issue
June 5th, 2023 - Resolved an issue that caused the lab to fail to setup on rare occasions
January 30th, 2023 - Updated the instructions and screenshots to reflect the latest UI
August 12th, 2022 - Upgraded to Python3.9 lambda functions
May 6th, 2022 - Resolved Python Virtual Environment issue
April 6th, 2022 - Updated screenshots and added instructions for clarity
December 13th, 2021 - Updated the student's permissions to create the S3 bucket after recent changes to required IAM permissions
October 21st, 2021 - Updated the application's first sign-in alert message
October 8th, 2021 - Updated EC2 User Data to address virtual environment issue
August 30th, 2021 - Updated lab to reflect the latest console experience
March 27th, 2020 - Inserted validation checks through the lab steps
February 18th, 2020 - Updated lab code repository to resolve an issue causing the source code files to not load onto the EC2 instance
January 3rd, 2020 - Updated lab startup procedure to resolve an issue causing the EC2 instance's Python virtual environment to not be created
January 10th, 2019 - Added a validation Lab Step to check the work you perform in the Lab
September 24th, 2018: Updated the Lab to workaround an issue with the moto AWS mock library now supporting newer versions of boto3
Logan has been involved in software development and research since 2007 and has been in the cloud since 2012. He is an AWS Certified DevOps Engineer - Professional, AWS Certified Solutions Architect - Professional, Microsoft Certified Azure Solutions Architect Expert, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, Certified Kubernetes Security Specialist (CKS), Certified Kubernetes Administrator (CKA), Certified Kubernetes Application Developer (CKAD), and Certified OpenStack Administrator (COA). He earned his Ph.D. studying design automation and enjoys all things tech.