Zero to Serverless in 45 Minutes
summary
Live migration of a Java/Spring/AngularJS backend to AWS serverless using Lambda behind API Gateway, CloudFront, S3, SES, SQS and RDS in VPC is demonstrated end-to-end: code compiled from TypeScript into Lambdas, test and prod aliases deployed, API stage variables used, and CloudWatch logs preserved. A VPC constraint forces a separate auth Lambda for Cognito authorizer calls, with Lambdas invoking each other. The database query returns 464 players, authentication works, and costs are dominated by RDS (~$100/yr) while Lambda usage is effectively low.
AI-written summary · about
chapters (13)
- 0:00Introduction to serverless
- 2:19Setting up the Lambda project
- 7:25Configuring AWS permissions and roles
- 13:40Deploying the first Lambda function
- 15:58Creating API Gateway integration
- 18:15Setting up test and production environments
- 21:51Connecting Lambda to the database
- 27:39Adding Cognito for authentication
- 33:04Creating a second Lambda for Cognito
- 41:15Securing API Gateway with Cognito
- 43:07Updating the frontend to use the new backend
- 53:21Debugging and final adjustments
- 53:46Q&A session
related talks
54mServerless Architectures: no servers allowed!
39mServerless in production, an experience report
01h 04mMigrating to Serverless - an experience report
40mThe serverless startup
21mMigrating Legacy Backends to Serverless in Parallel
31mA quick intro to AWS Serverless
31mAccelerate business innovation with serverless applications
42mServerless Tales from the Trenches
