A comprehensive demonstration of AWS services running locally with LocalStack, featuring a beautiful real-time monitoring dashboard.
- S3: Object storage with versioning
- SQS: Message queuing with attributes
- DynamoDB: NoSQL database operations
- SNS: Pub/Sub messaging
- Lambda: Serverless functions
- API Gateway: REST API endpoints
- Live monitoring of all AWS services
- iOS-style UI with glassmorphism effects
- Resource tracking and metrics
- One-click API testing
- Responsive dark theme
- CORS proxy server for browser compatibility
- Comprehensive Makefile with 20+ commands
- CloudFormation infrastructure as code
- Automated setup scripts
- Docker & Docker Compose
- Python 3.9+
- Make (optional but recommended)
make quick-start# 1. Install dependencies
pip install -r requirements.txt
# 2. Start LocalStack
docker-compose up -d
# 3. Run the demo
python3 demo.py
# 4. Start the dashboard
python3 cors-server.pyOpen your browser to: http://localhost:8080
make help # Show all available commands
make start # Start LocalStack services
make demo # Run complete Python demo
make health # Check LocalStack health
make clean # Clean up everything
make quick-start # Complete setup in one commandlocalstack-demo/
βββ π dashboard.html # Real-time monitoring dashboard
βββ π demo.py # Complete AWS services demo
βββ π cors-server.py # CORS proxy server
βββ π³ docker-compose.yml # LocalStack container setup
βββ π Makefile # Development commands
βββ βοΈ cloudformation-template.yaml # Infrastructure as Code
βββ π¦ requirements.txt # Python dependencies
βββ π README.md # This file
- Dark gradient background with cool blue tones
- Glassmorphism cards with backdrop blur effects
- Compact layout maximizing screen space
- Smooth animations and hover effects
- Service status with live health checks
- Resource statistics (S3 buckets, SQS queues, etc.)
- System metrics (uptime, API calls)
- Auto-refresh every 10 seconds
- One-click service testing
- API endpoint validation
- Live response viewing
- Error handling with user-friendly messages
| Service | Features | Demo Includes |
|---|---|---|
| S3 | Object Storage | β Bucket creation, file uploads, versioning |
| SQS | Message Queuing | β Queue creation, message sending/receiving |
| DynamoDB | NoSQL Database | β Table creation, CRUD operations, queries |
| SNS | Notifications | β Topic creation, message publishing |
| Lambda | Serverless Functions | β Function deployment, invocation, testing |
| API Gateway | REST APIs | β API creation, endpoint setup, deployment |
The dashboard uses a custom CORS proxy server to handle browser security restrictions:
Browser β CORS Proxy (8080) β LocalStack (4566)
Includes CloudFormation templates for:
- S3 buckets with lifecycle policies
- DynamoDB tables with GSI
- Lambda functions with IAM roles
- API Gateway with custom domains
- 90% faster local development cycles
- Zero AWS costs during development
- Instant feedback on infrastructure changes
- Offline development capabilities
- Local testing without AWS costs
- Integration testing in CI/CD pipelines
- Rapid prototyping of serverless applications
- AWS services exploration without bills
- Infrastructure experimentation
- Serverless development practice
- Pre-deployment testing
- Infrastructure validation
- Performance benchmarking
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- LocalStack - Amazing local AWS cloud stack
- AWS SDK - Boto3 Python library
- Docker - Containerization platform
- GitHub: sathya-sre
- LinkedIn: Connect with me for more AWS and DevOps content
β Star this repo if it helped you! β