Live coding - Uploading media to Amazon S3 from web & mobile apps
summary
Live coding shows a serverless pattern that issues a pre-signed PUT URL from an API Gateway→Lambda function and returns it to the client so the browser or mobile app PUTs binaries directly to Amazon S3, offloading network and temp storage from servers. Demo uses AWS SAM and Cloud9, generates object keys server-side, sets 300s expiration on the URL, optionally applies public-read ACL, and verifies uploads with a 200 OK response and the object appearing in the bucket.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 1:00Traditional upload challenges
- 2:28AWS S3 and Lambda overview
- 3:40Pre-signed URL workflow
- 5:12Benefits and security
- 9:15SAM template walkthrough
- 13:08Live demo: Postman
- 16:10Live demo: Frontend
- 20:08Summary and resources
related talks
30mLive Coding on the AWS CDK
04mServerless applications, Microservices, AWS
01h 02mPorting your Node.js app to serverless in 30 minutes
41mLive Coding on Observability for Serverless
48mBuilding Serverless AI powered Applications on AWS
58mIntroduction to Serverless with AWS Lambda in C#
25mLeveraging Serverless in Full-stack Development
46mHighly Scalable Image Storage with AWS Serverless
