Robert Banick
08/17/2023, 6:55 PMECSTask
object allows reference to a Task Definition, but TDs don’t allow us specify the instance type and/or AWS AutoScaling Group we want, just the required CPU and Memory. The triggers for increasing the capacity of AutoScaling Groups all seem tied to internal AWS metrics, not requests passed along by the Agent. Moreover, AWS won’t let us maintain an ECS Service with 0 active deployments or tasks — the service will shut down if unused.
We’re feeling a bit lost on how to implement this and not finding much corresponding documentation. Is there something we’re missing here on the Prefect side? Should the instance type / auto scaling group specification be implemented w/in the Agent/Worker configuration or other interface outside of an ECSTask block?
Any help would be greatly appreciated.juan suarez (hf)
08/17/2023, 7:07 PMRobert Banick
08/17/2023, 7:09 PMjuan suarez (hf)
08/17/2023, 7:12 PMRobert Banick
08/17/2023, 7:13 PMjuan suarez (hf)
08/17/2023, 7:13 PMRobert Banick
08/17/2023, 7:15 PMjuan suarez (hf)
08/17/2023, 7:17 PMRobert Banick
08/17/2023, 7:19 PMjuan suarez (hf)
08/17/2023, 7:20 PMDominic Tarro
08/17/2023, 8:02 PMrun_deployment
function. You may be able to apply infrastructure overrides.Jake Kaplan
08/17/2023, 8:36 PM