▸ Infrastructure, Not a Product
Every button in this demo maps to a real AWS architectural pattern. The UI is the demo. The infrastructure is what we sell.
How to Read This
- Click anything — a station, a patient dot, a staff member, a command.
- Primary popup shows the task state and live feed.
- Process popup (right side) shows the AWS pipeline, service tags, and implementation code.
- Every service tag (
AWS, EventBridge, IoT, Kinesis) is what actually runs.
What You're Looking At
- Round 5-station clinic — 247 patients, 8 staff, 24 cameras, 156 IoT sensors
- 40+ operations — appointments, records, prescriptions, lab results, billing, inventory, telehealth, compliance
- Live event stream — 1,247 events/sec through EventBridge
- Immutable audit — every action writes to a ledger that cannot be modified, even by root
▸ AWS Services in This Build
Compute
Lambda 18 functions — appointments, patient records, prescriptions, lab results, billing, inventory, telehealth, compliance, audit writer, alarm fanout, MFA verifier, WAF health, drift detector, cost monitor
Fargate Billing processor (3 tasks in prod), insurance claim generator, report generator
Data
DynamoDB patients, appointments, prescriptions, lab_results, audit_ledger, staff — on-demand billing, PITR on every table
S3 recordings bucket (Object Lock COMPLIANCE 7yr, KMS video key), transcripts bucket (phone key), config bucket (general key)
Eventing
EventBridge Single bus, one rule per domain, DLQ on every target
IoT Core Door controllers, sensors, pharmacy dispensers — per-thing policies with mutual TLS
SNS Security alarm topic, staff broadcast topic
AI / Media
Kinesis Video 24 camera streams ingested continuously
Rekognition Frame sampling at 1 frame / 5s across active cameras — the reason the cost stays sane
Transcribe Real-time telehealth transcription (consent checked first)
Comprehend Sentiment + keyword analysis on transcribed calls
Connect Phone system — every inbound call routes through here
Chime SDK Telehealth video (WebRTC mesh)
Identity / Security
Cognito User pool with MFA enforced, groups: doctor, nurse, admin, auditor
KMS 5 customer-managed keys — general, audit, video, phone, secrets
WAF Operator API — default-block, allow-list facility CIDRs only
IAM Compute role cannot decrypt audit key — can write, cannot read back
API
API Gateway REST for clinical commands, WAF-protected, Cognito authorizer on every method
AppSync GraphQL for operator console, subscriptions for live state
Observability
CloudWatch Per-env log retention, narrow metric filters, alarms that page humans
X-Ray Distributed tracing on the two control-plane functions
Compliance
HealthLake FHIR-compliant medical records, HIPAA covered
Object Lock S3 COMPLIANCE mode — nobody, including root, can delete before 7 years
▸ What This Actually Costs
AWS Bill — Monthly
- NAT gateway: $96 (prod, 3 AZs)
- NAT data processing: ~$45 (cut sharply by VPC endpoints)
- Lambda: ~$38
- Fargate: ~$74
- Kinesis Video: ~$110
- Rekognition: ~$180 (sampled — would be ~$18,000 if every frame analyzed)
- Transcribe: ~$40
- DynamoDB: ~$52
- S3 + Object Lock: ~$48
- KMS (5 keys): ~$8
- CloudWatch: ~$47
- Total prod: ~$738 / month
- Total dev: ~$82 / month (no cameras, 1 NAT)
What It Costs to Build
- Architecture + compliance scoping: 4–8 weeks
- Reference implementation: 3–6 months
- Integration with existing cameras, doors, PBX: 2–4 months
- Typical range: $250k – $600k one-time
What It Costs to Run
- AWS bill (per env): ~$1k/yr dev, ~$9k/yr prod
- 24/7 monitoring + IR: $80k – $200k/yr
- Compliance audits (HIPAA): $20k – $50k/yr
- Firmware + integration maintenance: $40k – $120k/yr
The Honest Shortcut
The AWS bill is not the expensive part. It is roughly 5% of annual cost of ownership. The rest is people, compliance, and physical integration with forty-year-old hardware.