domain
Platform Services
Cross-cutting backend platform services supporting scale, security, observability, and data ingestion.
Domain
The Platform Services domain is the foundational pillar of the RIO platform. It owns every cross-cutting capability that all business domains depend on — the API gateway, shared infrastructure, analytics query layer, CRM data ingestion, audit trail, notifications, and the frontend application.
Services
API & Frontend
- Application Layer Service — the single API Gateway front door. Validates Cognito JWTs and proxies 41 routes over a VPC Link to all backend services.
- RIO Web App — the React + TypeScript frontend, the platform’s only human-facing consumer.
Infrastructure
- Platform Infrastructure — provisions the EventBridge bus, RDS PostgreSQL, Valkey cache, the ECS cluster, and per-service IAM credentials.
- Analytics Semantic Layer (Cube) — the governed query vocabulary over ClickHouse — 30 cubes with named measures and dimensions, plus an MCP server for AI assistants.
Data & Observability
- Data Ingestion Service — scheduled pipeline that extracts 29 tables from Actian CRM365 over JDBC, vaults PII, and loads S3, ClickHouse, and RDS.
- Audit Service — captures every
rio-sourceddomain event from EventBridge, normalizes it, stores it in DynamoDB, and archives an immutable copy to S3. - Notification Service — EventBridge-triggered dispatcher that sends alerts through SES and Google Chat, and logs every delivery attempt to DynamoDB.
Domain Architecture
Event-driven architecture documentation: RIO