Effortless APIs with Flash and AWS Lambdas
summary
Demonstration shows a Flask app packaged with Zappa and deployed to AWS Lambdas in minutes, running an image color extraction service using scikit-learn KMeans at https://colors.rmotr.com and reporting deployment time as minutes and operational cost under $1 for hundreds of thousands of requests. Details include zappa init/deploy/update, the 250 MB Lambda package limit, Lambda Layers as a workaround, scheduled one‑minute invocations, log access via CloudWatch, and that the example runs successfully. Flask + Zappa KMeans color extractor
AI-written summary · about
chapters (17)
- 0:00Introduction
- 3:17Server deployment challenges
- 5:30Simplifying APIs with serverless
- 8:02Flask for crypto data
- 15:11Deploying Flask with Zappa
- 21:51Serverless advantages
- 23:18Serverless and microservices
- 26:54Flask to API endpoint
- 32:33Updating deployed apps
- 32:55Scheduling Lambda tasks
- 39:29Remote Lambda invocation
- 42:26Lambda vs CloudFormation
- 45:02Lambda scalability limits
- 47:30Celery async tasks
- 50:26Lambda security
- 53:44Key takeaways and final demo
- 59:44Q&A
related talks
35mServerless Django
24mServerless Django with Zappa
19mBuilding Serverless API Backends
30mLessons from building serverless services in bleeding edge python
46mServerless for Data Scientists
22m20 Minutes of Hoeing and You Won't Think About It Anymore
27mBuilding Serverless applications with Python
50m Serverless Python in the real world: common patterns & challenges
