1. Update the fcj-core-svc service.

image

2. Scroll to Service auto scaling and expand it.

image

3. Configure auto scaling settings:

  • Check Use service auto scaling
  • Minimum number of tasks: Enter 1
  • Maximum number of tasks: Enter 3
image

4. Click Add scaling policies.

image

5. Configure the scaling policy:

  • Policy name: Enter fcj-core-scaling-policy
  • ECS service metric: Select ECSServiceAverageCPUUtilization
  • Target value: Enter 30
image

6. Click Update.

image