title-prefix | pagetitle | author | author-meta | date | date-meta | keywords | |||||
---|---|---|---|---|---|---|---|---|---|---|---|
Six Feet Up |
From Zero to Serverless |
Calvin Hendryx-Parker, CTO, Six Feet Up |
|
IndyAWS 2024 |
2024 |
|
- Serverless Application Model
- Open-source framework for building serverless applications
- Extension of AWS CloudFormation
- Provides simplified syntax for defining serverless resources
- Write less boilerplate
- Built-in best practices
- Local testing and debugging
- Version control your infrastructure
- Consistent deployments
- Easy rollbacks
- Test Lambda functions locally
- Simulate API Gateway endpoints
- Debug step-by-step
- API Development
- REST APIs with Lambda + API Gateway
- Simplified API definitions
- Event Processing
- S3 event handlers
- SQS/SNS processors
- CloudWatch Events
- Web Applications
- Serverless backends
- Static website hosting
- Authentication flows
# Traditional CloudFormation
Resources:
MyFunction:
Type: AWS::Lambda::Function
Properties:
Handler: index.handler
Role: !GetAtt LambdaExecutionRole.Arn
Code:
S3Bucket: my-bucket
S3Key: my-function.zip
Runtime: nodejs18.x
# SAM Equivalent
Resources:
MyFunction:
Type: AWS::Serverless::Function
Properties:
Handler: index.handler
Runtime: nodejs18.x
-
Install SAM CLI
brew install aws-sam-cli
-
Initialize a Project
sam init
-
Local Development
sam local start-api
-
Deploy
sam deploy --guided
✅ Simplified Resource Definitions
✅ Local Testing Capabilities
✅ AWS Best Practices Built-in
✅ Free and Open Source
✅ Native AWS Integration
✅ Active Community
📩 calvin@sixfeetup.com
🤝 https://linkedin.com/in/calvinhp
✖️ @calvinhp
🐘 @calvinhp@fosstodon.org
🦋 @calvinhp.com