How rams3sh/aaia works
Key Components to Include:
Data Collection Layer
• AWS Collector Component (Aaia_aws_collector.sh)
• Connections to AWS Services (IAM and Organizations)
• Offline data storage component
Core Processing Layer
• Main Aaia Application (Aaia.py)
• Data Loading Module
• Module System
• AWS Common Library
Storage Layer
• Neo4j Database
• Graph Data Model
Integration Layer
• AWS API Interactions
• Neo4j Database Connections
• Collection layer below
• Processing layer in the middle
Component Representation
a. External Services (Top):
b. Collection Layer:
• JSON data flow to offline_data storage
• AWS credentials configuration
c. Core Processing Layer (Center):
• Main Aaia.py controller
• Load Data Module (actions/aws/load_data)
• Clean DB Module (actions/aws/clean_db)
• Custom Modules System (modules/aws)
• Aws_common.py library as a shared component
d. Storage Layer (Bottom):
• Neo4j Database container
• Bolt connection (port 7687)
• Web interface connection (port 7474)
Important Details
• Configuration file relationship (Aaia.conf)
• Module extension points
• Data flow direction
• API endpoints and ports
Special Considerations:
Modular nature
• How custom modules can be added
• Extension points in the architecture
Data Flow Patterns
• AWS → Collector → Offline Storage → Loader → Neo4j
• Module System → Neo4j (for queries)
Security Components
• AWS Authentication
• Neo4j Authentication
• Configuration Management