cloud providers comparison - antimetal/system-agent GitHub Wiki

Cloud Providers Architecture

Provider Factory Flow

graph LR
    subgraph PF["Provider Factory"]
        AD["Auto<br/>Detect"] --> PR["Provider<br/>Registry"] --> PI["Provider<br/>Instance"]
        
        subgraph AP["Available Providers"]
            EKS["EKS<br/>(AWS)"]
            GKE["GKE<br/>(Google)"]
            AKS["AKS<br/>(Azure)"]
            KIND["KIND<br/>(Local)"]
        end
    end
Loading

Provider Detection and Selection Process

flowchart TD
    Start([Start]) --> AD[Auto Detect]
    AD --> PR[Provider Registry]
    PR --> PI[Provider Instance]
    
    PI --> EKS[EKS Provider<br/>AWS]
    PI --> GKE[GKE Provider<br/>Google Cloud]
    PI --> AKS[AKS Provider<br/>Azure]
    PI --> KIND[KIND Provider<br/>Local Development]
    
    EKS --> End([Selected Provider])
    GKE --> End
    AKS --> End
    KIND --> End
Loading

What Changed

Converted ASCII diagrams to Mermaid format:

  1. Provider Factory Flow: Shows the hierarchical structure with the main Provider Factory containing the Auto Detect → Provider Registry → Provider Instance flow, and the Available Providers grouped together (EKS, GKE, AKS, KIND).

  2. Provider Detection and Selection Process: Illustrates the linear flow from start through auto-detection, registry, and instance creation, then branching to show how each provider type connects to the final selected provider.

Benefits of Mermaid format:

  • Better rendering across different platforms
  • Easier to maintain and modify
  • More accessible and responsive
  • Cleaner version control diffs
  • Native GitHub support
⚠️ **GitHub.com Fallback** ⚠️