flask-cloudfront-apigw-zappa.pat-dev.advancelocal.dev
flask-cloudfront-apigw-zappa
A Flask app on Lambda through Zappa. CloudFront serves the page and /static from S3 and caches /api/time from API Gateway for 5 seconds.
App
- Flask, Python
Runs on
- CloudFront
- origin access control
- response headers policy
- S3
- API Gateway, regional
- API key
- Lambda, Python, deployed with Zappa
Foundation
- inf-baseline
- Wiz scanning
- Scheduled deploys and checks
Cache, live
Polling /api/time every second through CloudFront.
waiting for the first poll
CloudFront hittrip to the app