Skip to content

Instantly share code, notes, and snippets.

@efekarakus

efekarakus/progress-tracker-v1.md Secret

Last active Feb 3, 2021
Embed
What would you like to do?
First low fidelity mocks drawn for Copilot progress tracker

Overview

⠧ Deploying service frontend to environment test [in progress]
- Listener to forward "/path" requests to the TG [completed]
- Target group to connect the LB and ECS Service [in progress]
- Task definition to define your containers [completed]
- ECS Service to maintain your containers [in progress]
                 Pending     Stopped    Running      Desired
      Primary          1           2          1            4
      Active           0           3          1            4
      
      Stopped Tasks     Reason
      2 (9e460ae,       Task failed ELB health checks in
      zh82sd3, ...)     (target-group
                        arn:aws:elasticloadbalancing:us-      
                        west-2:615288112214:targetgroup/nginx
                        Targe-16DD4KDLKAI7U/a6d71c9b9c18b389)
- Upgrading your environment stack          [in progress]
  - ALB to distribute traffic to your svcs 	[in progress]
- Addons stack for additional AWS resources [in progress]
  - Aurora serverless database.             [in progress]

Load Balanced Web Services

When the Load Balancer does not exist in the environment

⠧ Deploying service frontend to environment test 
  - Application Load Balancer in test environment 
    - Listener to connect the load balancer to your service
  - Service discovery to connect to your service within the VPC
  - ECS Service to maintain your containers
    Pending     Stopped    Running      Desired
      1           0          1            2

When the Load Balancer exists in the environment

⠧ Deploying service frontend to environment test
  - Listener to connect the load balancer to your service
  - ECS Service to maintain your containers
    Pending     Stopped    Running      Desired
      1           0          1            2

When autoscaling is enabled

⠧ Deploying service frontend to environment test
  - Autoscaling policies to dynamically scale your service
  - ECS Service to maintain your containers
    Pending     Stopped    Running      Desired
      1           0          1            2

With additional resources (addons)

⠧ Deploying service frontend to environment test
  - CloudFormation stack for your additional resources 
  - ECS Service to maintain your containers
    Pending     Stopped    Running      Desired
      1           0          1            2

On failures due to a bad code deployment

⠧ Deploying service frontend to environment test 
  - ECS Service to maintain your containers
      Pending     Stopped    Running      Desired
        1           1          1            2
      
      Reason of stopped tasks
        (9e460ae) Task failed ELB health checks in (target-group arn:aws:elasticloadbalancing:us-west-2:1111:targetgroup/nginx-Targe-16DD4KDLKAI7U/a6d71c9b9c18b389)
      
      Logs from stopped tasks
        (9e460ae) ERROR path: "/asdf" does not exist

On failures due to a resource failure

⠧ Deploying service frontend to environment test
  - Autoscaling policies to dynamically scale your service
    error: CPU percentage cannot be a negative number.
  - ECS Service to maintain your containers

Backend Services

Exactly the same as Load Balanced Web Services except we don’t have to update with load balancer related events.

Scheduled Jobs

⠧ Deploying job report-generator to environment test 
  - State Machine to invoke your task
  - Event rule to execute the state machine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment