# lpalad/aws-devops-journey architecture

> Architecture diagram of the GitHub repository lpalad/aws-devops-journey, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-01-06). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/lpalad/aws-devops-journey
- Repository: https://github.com/lpalad/aws-devops-journey

## Overview

##### Core Components

a. Development Environment Layer
- Local Development Environment
- Version Control (Git/GitHub)
- IDE Integration Points

b. CI/CD Pipeline Layer
- AWS CodePipeline
- AWS CodeBuild
- AWS CodeDeploy
- AWS CodeArtifact (if using)

c. Infrastructure as Code Layer
- AWS CloudFormation
- AWS CDK
- Terraform (if applicable)

d. AWS Service Integration Layer
- Compute Services (EC2, ECS, Lambda)
- Storage Services (S3, EFS)
- Database Services (RDS, DynamoDB)
- Networking (VPC, Route53)

e. Monitoring and Logging Layer
- CloudWatch
- X-Ray
- AWS Systems Manager
- AWS Config

##### Key Relationships to Highlight

- Code flow from repository to deployment
- Infrastructure provisioning processes
- Monitoring and feedback loops
- Security and compliance checkpoints

##### Important Elements

- Region boundaries
- Availability Zones
- Security Groups and Network ACLs
- IAM roles and permissions flow
- Automation points
- Feedback loops for continuous improvement

## Diagram (Mermaid)

```mermaid
graph TB
    %% Define styles
    classDef aws fill:#FF9900,stroke:#232F3E,color:white
    classDef dev fill:#85B09A,stroke:#232F3E,color:white
    classDef security fill:#DD344C,stroke:#232F3E,color:white
    classDef monitoring fill:#527FFF,stroke:#232F3E,color:white
    
    %% Development Environment Layer
    subgraph DevEnv["Development Environment"]
        LocalDev["Local Development"]:::dev
        Git["Version Control"]:::dev
        IDE["IDE Integration"]:::dev
    end
    click Git "https://github.com/lpalad/aws-devops-journey/blob/main/.gitignore"

    %% CI/CD Pipeline Layer
    subgraph CICD["CI/CD Pipeline"]
        CodePipeline["AWS CodePipeline"]:::aws
        CodeBuild["AWS CodeBuild"]:::aws
        CodeDeploy["AWS CodeDeploy"]:::aws
        CodeArtifact["AWS CodeArtifact"]:::aws
    end

    %% Infrastructure as Code Layer
    subgraph IaC["Infrastructure as Code"]
        CloudFormation["AWS CloudFormation"]:::aws
        CDK["AWS CDK"]:::aws
        Terraform["Terraform"]:::aws
    end

    %% AWS Service Integration Layer
    subgraph AWSServices["AWS Services"]
        subgraph Compute["Compute Services"]
            EC2["EC2"]:::aws
            ECS["ECS"]:::aws
            Lambda["Lambda"]:::aws
        end
        
        subgraph Storage["Storage Services"]
            S3["S3"]:::aws
            EFS["EFS"]:::aws
        end
        
        subgraph Database["Database Services"]
            RDS["RDS"]:::aws
            DynamoDB["DynamoDB"]:::aws
        end
        
        subgraph Network["Networking"]
            VPC["VPC"]:::aws
            Route53["Route53"]:::aws
        end
    end

    %% Monitoring and Logging Layer
    subgraph Monitoring["Monitoring & Logging"]
        CloudWatch["CloudWatch"]:::monitoring
        XRay["X-Ray"]:::monitoring
        SystemsManager["Systems Manager"]:::monitoring
        Config["AWS Config"]:::monitoring
    end

    %% Security Layer
    subgraph Security["Security & Compliance"]
        IAM["IAM"]:::security
        SecurityGroups["Security Groups"]:::security
        NACL["Network ACLs"]:::security
    end

    %% Relationships
    LocalDev --> Git
    Git --> CodePipeline
    IDE --> Git
    
    CodePipeline --> CodeBuild
    CodeBuild --> CodeDeploy
    CodeBuild --> CodeArtifact
    
    CodeDeploy --> CloudFormation
    CodeDeploy --> CDK
    CodeDeploy --> Terraform
    
    CloudFormation --> AWSServices
    CDK --> AWSServices
    Terraform --> AWSServices
    
    AWSServices --> CloudWatch
    AWSServices --> XRay
    AWSServices --> SystemsManager
    
    Security --> AWSServices
    
    %% Legend
    subgraph Legend
        L1["AWS Services"]:::aws
        L2["Development Tools"]:::dev
        L3["Security Components"]:::security
        L4["Monitoring Tools"]:::monitoring
    end
```
