Skip to content

AWS Services

LayerServicePurpose
IaCCloudFormation (CDK)Infrastructure provisioning
IngestAPI Gateway HTTP APIEvent ingestion endpoint
ComputeLambdaEvent processing, API handlers
ComputeAWS GlueAudience builder (PySpark segment evaluation)
StreamingKinesis Data StreamsEvent buffering (7-day retention)
StreamingKinesis FirehoseS3 delivery
StorageDynamoDBProfiles, events, identity graph
StorageS3Raw event archive, data lake
AnalyticsAthenaSQL queries over S3 for segmentation
AnalyticsGlue CatalogSchema registry for Athena
AuthCognitoAdmin user authentication
CDNCloudFrontAdmin UI static hosting
SchedulingEventBridge SchedulerHourly segment evaluation
QueuingSQSDestination fan-out with DLQ
SecurityKMSEncryption at rest

For a low-traffic deployment (~10K events/day):

ServiceEstimated monthly cost
Lambda~$0.50
API Gateway~$0.35
DynamoDB~$2.50
Kinesis~$3.60
S3~$0.25
Glue~$0.44/DPU-hour
Total~$8.70/mo

Costs scale linearly with event volume. At 1M events/day, expect ~$80-120/month.

  • All data encrypted at rest via KMS
  • API Gateway uses write-key authentication
  • Management API protected by Cognito JWT
  • Admin UI served over HTTPS via CloudFront
  • SQS dead-letter queues prevent event loss
  • S3 buckets have RETAIN deletion policy