Skip to Content
ArchitectureInfrastructure

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

FunctionPurpose
api-handlerREST API requests
scan-aggregatorEvent aggregation
violation-detectorAnalyze for violations
billing-syncStripe synchronization

DynamoDB Tables

TablePurpose
usersUser accounts
organizationsOrg data
scansScan records
eventsRaw hook events

SQS Queues

  • events-queue - Incoming hook events
  • aggregation-queue - Scan aggregation jobs
  • dlq - Dead letter queue

Deployment

Infrastructure deployed via Terraform:

cd infra/terraform terraform plan terraform apply

Monitoring

  • 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