About This Architecture
AI Auto App Generation on AWS integrates Claude AI with a multi-tier architecture spanning presentation, application, and data layers across two availability zones. Users access the system through CloudFront CDN and WAF, routing to an ALB that distributes traffic to API Gateway, which orchestrates ECS App Generator Services, Lambda Code Builders, and Lambda Prompt Processors. The Prompt Processor retrieves Claude API credentials from Secrets Manager, calls the Anthropic Claude API, and persists generated artifacts in S3 with cross-AZ replication. Application state is managed via RDS Primary/Standby, DynamoDB with replicas, and ElastiCache session caches, with CloudWatch monitoring end-to-end. This architecture demonstrates high availability, secure credential management, and scalable AI workload processing for automated application generation.