AWS equivalent of Azure's function-app-storage-http sample.
This sample demonstrates a gaming scoreboard system using Lambda with S3, SQS, and HTTP triggers.
┌─────────────┐
HTTP ──────▶│ Lambda │
│ (HTTP API) │
└──────┬──────┘
│
┌─────────────────┼─────────────────┐
▼ ▼ ▼
┌─────────┐ ┌─────────┐ ┌─────────┐
│ S3 │ │ SQS │ │DynamoDB │
│ (Files) │ │ (Queue) │ │(Scores) │
└─────────┘ └─────────┘ └─────────┘
The scoreboard system provides:
- HTTP endpoints for submitting and retrieving scores
- S3 for storing game replay files
- SQS for async score processing
- DynamoDB for persistent score storage
POST /scores- Submit a new scoreGET /scores- Get top scoresGET /scores/{playerId}- Get player's scores- S3 trigger for processing uploaded replays
- SQS trigger for async score validation
- LocalStack Pro running with
LOCALSTACK_AUTH_TOKEN - AWS CLI or awslocal installed
- Python 3.10+
cd scripts
./deploy.shcd scripts
./test.shsrc/http_handler.py- HTTP API Lambdasrc/s3_handler.py- S3 event Lambdasrc/sqs_handler.py- SQS event Lambdascripts/deploy.sh- Deployment scriptscripts/test.sh- Test script