AI-Enhanced ASAM OpenX Scenario Generation

Production-Ready System with Enterprise Architecture
Demonstrating Excellence in Modern AI, Cloud Infrastructure, and DevOps

Validated Locally
K3s cluster + full monitoring stack
K3s + Prometheus + Grafana
🤖
AI Integration
GPT-4 + RAG + 47 NCAP scenarios
Advanced NLP Pipeline
34%
Cost Optimized
AWS infrastructure reduction
$51.5/month saved
🚀
Modern DevOps
Complete CI/CD + IaC
48+ Tests Passing

Enterprise Architecture

Cloud-native design with proven cost optimization and production-ready infrastructure

Local K3s Deployment

Environment: ✅ Validated Locally
Orchestration: K3s (Lightweight Kubernetes)
Monitoring Stack: Prometheus + Grafana + Loki + Tempo

K3s Components:

React Frontend
FastAPI Backend
PostgreSQL DB
AI/RAG Pipeline
Prometheus
Grafana
Loki + Tempo
3D Visualization

AWS EKS Ready

Terraform Status: ✅ Validated
Resources Ready: 42 AWS Resources
Cost Optimization: 34% Reduction
Monthly Cost: $98.5/month (vs $150)

Architecture Components:

EKS Cluster
t3.small Spot
S3 + CloudFront
RDS PostgreSQL
WAF Protection
Secrets Manager
CloudWatch
Route 53 + ACM

AWS Cloud Architecture

Enterprise-grade cloud architecture designed for scalability, security, and cost optimization. Complete infrastructure-as-code with 42 AWS resources ready for deployment.

AWS EKS Architecture

AWS Architecture Diagram
🔍 Click to Zoom
42 AWS resources ready • 34% cost optimized

🏗️ Infrastructure

  • • Multi-AZ VPC with public/private subnets
  • • EKS cluster with spot instances
  • • Auto-scaling and load balancing
  • • RDS PostgreSQL with backup

🔒 Security & Compliance

  • • WAF protection and DDoS mitigation
  • • Secrets Manager for credentials
  • • SSL/TLS with ACM certificates
  • • VPC security groups and NACLs

📊 Monitoring & Performance

  • • CloudWatch metrics and alarms
  • • Amazon Managed Prometheus
  • • CloudFront CDN for global delivery
  • • Route 53 DNS with health checks

Deployment Status: AWS Permission Constraints

Architecture is fully designed and validated with Terraform. Deployment pending AWS account permissions upgrade from ReadOnlyAccess to allow resource creation (EKS, VPC, RDS, IAM roles).

Cost Optimization Achievement

$150/month
Original Architecture
EKS Control Plane: $72
t3.medium x2: $60
Load Balancer: $18
$98.5/month
Optimized Architecture
EKS Control Plane: $72
t3.small Spot x1: $8.5
Load Balancer: $18
34% Cost Reduction
$51.5/month saved • $618/year saved

Technology Comparison Matrix

Comprehensive analysis of technology choices and architectural decisions

Deployment Strategy Comparison

Feature Current K3s (Production) AWS EKS (Ready) Alternative Solutions
Deployment Status
✅ Validated Locally
🚀 Ready to Deploy
Docker Compose, VM-based
Scalability Single-node (expandable) Auto-scaling cluster Manual scaling only
High Availability Single AZ Multi-AZ deployment Single point of failure
Cost (Monthly) ~$0 (local hardware) $98.5/month (optimized) $200+/month (unoptimized)
Monitoring Prometheus + Grafana + Loki AWS Managed + Hybrid Basic logging only
Security Network policies + TLS WAF + IAM + Secrets Manager Basic authentication
Management Overhead Medium (manual updates) Low (AWS managed) High (full manual)

AI Technology Stack Analysis

Current Choice

LLM Provider: OpenAI GPT-4
Vector DB: ChromaDB
Embeddings: sentence-transformers
Framework: Instructor + Pydantic
Knowledge Base: 47 NCAP scenarios
Advantages
  • • Production-ready with proven results
  • • Industry-standard compliance (NCAP)
  • • High accuracy and reliability

Alternative Options

LLM Provider: Claude/Gemini/Llama
Vector DB: Pinecone/Weaviate/Milvus
Embeddings: OpenAI/Cohere
Framework: LangChain/LlamaIndex
Knowledge Base: Custom scenarios only
Trade-offs
  • • Potential cost savings
  • • Different performance characteristics
  • • Varying compliance levels

Performance Metrics

Response Time <2s
Accuracy Rate 90%+
NCAP Compliance 85%+

AWS Status & CI/CD Pipeline

Cloud deployment status, infrastructure readiness, and automated CI/CD pipeline

Current Limitation

AWS User Account:
student15-apr-2025-fastapi
Current Policy:
ReadOnlyAccess
Prevents infrastructure resource creation
Impact:
Cannot create EKS, VPC, RDS, IAM resources
Status:
✅ Stakeholders informed • Resolution in progress

Technical Readiness

Terraform Status:
✅ All configurations validated
terraform validate • terraform plan successful
Resources Ready:
42 AWS resources defined
EKS, VPC, RDS, IAM, Security Groups
Estimated Deploy Time:
<30 minutes
Local Validation:
K3s local deployment
Equivalent architecture validated locally

Required AWS Permissions for Deployment

EKS
CreateCluster
CreateNodegroup
CreateAddon
EC2
CreateVpc
CreateSubnet
CreateSecurityGroup
IAM
CreateRole
AttachRolePolicy
PassRole
RDS
CreateDBInstance
CreateDBSubnetGroup
Multi-AZ setup
Infrastructure-as-code validated and ready for deployment
Terraform plan successful — ready to apply

Jenkins CI/CD Pipeline

Pipeline Configuration

Target Branch:
Dev/setup_inital_codebase
Terraform Directory:
terraform/eks
AWS Region:
eu-west-3
Actions:
Apply / Destroy EKS Cluster

Automated Pipeline Stages

1. SCM Checkout
Git repository sync
2. Terraform Init
Infrastructure initialization
3. Validation
Format & validate code
4. Plan & Deploy
Manual approval + execution

Acknowledgments

Special thanks to the amazing team and mentors who made this project possible

M

Moji

Project Team Member

Collaborative development and system integration

C

Carvin

Cohort Leader

Technical guidance and architectural mentorship

D

Durell

Cohort Leader

DevOps best practices and deployment strategies

N

Nicole

Project Manager

Project coordination and stakeholder management

Project Resources

Project Links

GitHub Repository
AWS Deployment: Ready to deploy

Acknowledgement

Special thanks to all contributors and technologies that made this project possible

Technology Stack

  • • OpenAI GPT-4 for AI capabilities
  • • AWS Cloud Infrastructure
  • • Kubernetes & Docker
  • • Terraform for Infrastructure as Code
  • • React.js & FastAPI
  • • PostgreSQL & Redis

Open Source Libraries

  • • Diagrams for architecture visualization
  • • Prometheus & Grafana for monitoring
  • • Nginx for load balancing
  • • Chart.js for data visualization
  • • Tailwind CSS for styling
  • • And many other amazing libraries

Special Thanks

  • • ASAM OpenX community
  • • Kubernetes community
  • • AWS documentation team
  • • Open source contributors
  • • DevOps community
  • • All beta testers and feedback providers

This project demonstrates the power of combining modern AI, cloud infrastructure, and DevOps practices.

Built with ❤️ using modern technologies