Swift, Server-Side, Serverless
summary
Deploys server-side Swift to AWS Lambda using containers and SAM, showing a Vapor or Hummingbird app running unmodified by adding one Dockerfile line and an AWS Lambda web adapter (demo succeeds but adds latency). Uses SwiftPM archive (requires Docker and --disable-sandbox) to produce a Linux zip and a SwiftPM deploy plugin that generates SAM templates from a Swift DSL. Covers the new Swift runtime v2, local testing via sam local, a VS Code extension, and Lambda’s free tier of 1,000,000 requests plus 400,000 seconds of CPU.
AI-written summary · about
chapters (8)
- 0:00Introduction to serverless
- 2:12AWS Lambda fundamentals
- 5:05Deploying with AWS SAM
- 8:04Running web apps on Lambda
- 14:37Building native Swift functions
- 20:48Packaging and deployment tools
- 23:46Infrastructure as code in Swift
- 28:21VS Code tooling and conclusion
related talks
30mSwift on the Server
29mSwift Lambdas at Scale: How a Tiny iOS Team Built a Big Backend
39mServerless Developer Experience with AWS SAM
27mFull Stack Development with Swift and Vapor
19mServer-side Swift Using Vapor
30mGo Serverless!
21mIntro to Serverless Computing with Swift
41mServer-Side Swift State of the Union
