What It Is
AI chatbot providing AWS architecture recommendations.
Architecture
Browser → S3 → API Gateway → Lambda → Bedrock → Response
AWS Services Used
- S3
- API Gateway
- Lambda
- Bedrock
- IAM
- CloudWatch
What Was Built — File by File
| Component |
File / Path |
Purpose |
| Backend | backend/lambda_function.py | Handles Bedrock requests |
| Frontend | frontend/index.html | Chat UI |
| Frontend | frontend/app.js | Handles API calls, markdown rendering |
| Frontend | frontend/styles.css | Styling |
| DevOps | scripts/*.sh | Deployment scripts |
Key Design Decisions
- REST API used
- Structured prompts
- Balanced AI temperature
Deployment
- Lambda + API Gateway
- S3 hosting
- Manual scripts
Estimated Cost
~$4.30/month