Infrastructure
AWS infrastructure powering Intentra.
Overview
Intentra runs on serverless AWS infrastructure managed with Terraform.
Components
API Gateway
- REST API with Lambda proxy integration
- Custom domain:
api.intentra.dev - Rate limiting and throttling
Lambda Functions
| Function | Purpose |
|---|---|
api-handler | REST API requests |
scan-aggregator | Event aggregation |
violation-detector | Analyze for violations |
billing-sync | Stripe synchronization |
DynamoDB Tables
| Table | Purpose |
|---|---|
users | User accounts |
organizations | Org data |
scans | Scan records |
events | Raw hook events |
SQS Queues
events-queue- Incoming hook eventsaggregation-queue- Scan aggregation jobsdlq- Dead letter queue
Deployment
Infrastructure deployed via Terraform:
cd infra/terraform
terraform plan
terraform applyMonitoring
- CloudWatch Logs for all Lambda functions
- CloudWatch Metrics for API latency
- Alerts via SNS to Slack
Cost Optimization
- Lambda with provisioned concurrency for API
- DynamoDB on-demand capacity
- S3 Intelligent-Tiering for evidence storage