Configure ASG

  1. Go to Amazon EC2 Auto Scaling Groups.

  2. EC2ContainerService-your cluster name-EcsInstanceAsg and open Scaling Policies tab and click Add policy. AddPolicy

  3. Configure scaling policy. ConfigurePolicy

  • Name: cluster-as-policy
  • Metric type: Average Network In (Bytes)
  • Target value: 50000
  • Instances need: 10 seconds

We are setting low numbers with an intention to verify the result fast.

  1. Click Create.
  2. Select EC2ContainerService-your cluster name-EcsInstanceAsg and click **Actions and Edit EditASG
  3. Configure ASG. Leave others default.
    • Min: 2
    • Max: 4
    • default cooldown: 10 EditASGDetails
  4. Click Save.