Debugging in progress. Do not use.
python-image-cloudfront-apigw-cfn.pat-dev.advancelocal.dev
python-image-cloudfront-apigw-cfn
A plain Python handler in a Lambda container image from ECR, from plain CloudFormation, no Zappa. CloudFront serves the page from S3 and caches /api/time from API Gateway for 5 seconds.
App
- Python handler
- Dockerfile on the AWS Lambda Python base image
Runs on
- CloudFront
- origin access control
- response headers policy
- S3
- API Gateway, regional
- Lambda, container image, deployed with CloudFormation
- ECR
- immutable tags
- scan on push
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