Skip to content

Instantly share code, notes, and snippets.

@stoft
Last active May 7, 2020 08:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stoft/add706aec70ecad31c845cb27abb7bba to your computer and use it in GitHub Desktop.
Save stoft/add706aec70ecad31c845cb27abb7bba to your computer and use it in GitHub Desktop.
AWS ECS Mindmap
graph TD
    subgraph EC2
        subgraph Network and Security
            secGroup(Security Group)
            inboundRules(Inbound rules)
        end

        subgraph Load Balancing
            loadBalancers(Load Balancers)
            targetGroups(Target Groups)
            healthCheck(Health Check)
            loadBalancers --> targetGroups
            targetGroups --> |has| healthCheck
        end
        secGroup --> |has| inboundRules
    end
    subgraph EFS
        fileSystem(File System)
        inboundRules --> |"allows access(NFS)"| fileSystem
    end
    subgraph ECS
        cluster(Cluster)
        ecsService(Services)
        task(Task)
        cluster --> |has| ecsService
        ecsService --> |using| fargate
        ecsService --> |using| ltEC2
        subgraph LaunchType
            fargate(Fargate)
            ltEC2(EC2)
        end
        ltEC2 --> |runs instances of|task
        fargate --> |runs instances of|task
        %%task --> name:version
        task --> |loads| container
        task --> |mounts volume| fileSystem
        task --> |belongs to| secGroup
        subgraph ECR
            container(Container)
        end
    end
    subgraph Cloud Map
        namespace(Namespace)
        cmService(Service)
        cmServiceInstance(Service Instance)
        %%endpoint(Endpoint)
        %%name(Name)
        namespace --> cmService
        cmService --> cmServiceInstance
        task -.-> |registers as instance| cmService
        healthCheck --> |checks| cmServiceInstance
    end
    subgraph Route53
        hostedZone(Hosted Zone)
    end
    subgraph VPC
        hostedZone
    end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment