'Configure ECS to scale to zero when not in use

I'm running Superset in AWS ECS using Fargate. This instance of Superset is for internal use only. I want to be able to configure ECS to scale to zero tasks when not in use. I am aware that it will take time (Possibly minutes) to come back up, the end-users of this application are content with waiting a few minutes.

Situation:

  • AWS ECS deployed using Fargate
  • Autoscaling set to a max of 2 and a min of 0
  • Want to scale to 0 when not in use (after, say, an hour)


Solution 1:[1]

You're trying to use the connect function from windows socket API. Try:

QObject::connect(gl, SIGNAL(fpsReport(float)), mWindow, SLOT(updateFPS(float));

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 tibur