Your Private AI Chatbot

A self-hosted, private AI chat interface powered by AWS Bedrock and Claude. Built with modern DevOps practices for security, scalability, and cost efficiency.

🔒

Private & Secure

No public internet access. Secured with Tailscale VPN. AWS IAM role-based authentication. Encrypted EBS storage.

🧠

Powered by Claude

Access to latest Claude models via AWS Bedrock. Choose between Haiku (fast, cheap) or Sonnet (powerful, capable).

💰

Cost Transparent

See input/output costs per message. Real-time billing dashboards. 30-day spend tracking. Budget alerts.

📊

Analytics & Metrics

CloudWatch metrics for token usage. Cost validation dashboards. Session tracking. Export conversations.

Fast Iteration

GitHub Actions CI/CD. Auto-deploy on push. Code quality enforcement (ESLint, Prettier). Infrastructure as code.

🏗️

Production Ready

Terraform-managed AWS infrastructure. Separate lab and production environments. Approval-gated deployments.

Technology Stack

Frontend

HTML5, CSS3, JavaScript

Mobile-responsive design

Real-time UI updates

Backend

Node.js + Express

AWS Bedrock SDK

DynamoDB for persistence

Infrastructure

Terraform

AWS EC2, S3, CloudFront

Tailscale VPN

DevOps

GitHub Actions CI/CD

ESLint + Prettier

TFLint + TFSec

AI/ML

AWS Bedrock

Claude 4.5 Sonnet

Claude 3.5 Haiku

Monitoring

CloudWatch Metrics

Cost Explorer

AWS Budget Alerts

How It Works

🔐 Security First

Your DansBot runs on a private EC2 instance accessed exclusively through Tailscale VPN. No public internet exposure. AWS credentials are managed via IAM roles — never stored in code.

🚀 Deployment Pipeline

Push to develop branch → Auto-deploys to lab. Push to main branch → Terraform validates infrastructure → You approve → Auto-deploys to production. All deployments are gated, tested, and reversible.

💭 Intelligent Responses

Your messages are sent securely to AWS Bedrock, which calls the Claude model of your choice. Responses are streamed back in real-time. All conversations can be exported as JSON or Markdown.

💵 Cost Tracking

Every message shows exact input/output costs. Real-time dashboards show your spend. CloudWatch metrics track tokens used. All data feeds into cost analysis — so you always know exactly what you're spending.