<@ULVA73B9P> I am using ECS worker and workpool to...
# ask-community
a
@Marvin I am using ECS worker and workpool to run prefect flows. But they take some time for starting the flow, provisioning a container and all that. Is there a better way, where we can run the flow faster?
m
Using ECS (Elastic Container Service) for running Prefect flows has several benefits such as scalability, flexibility, AWS integration, and containerization. However, there are two options for container operations under ECS: AWS Fargate and Amazon EC2. Using EC2 might offer faster job start times in comparison to Fargate and might be an option to consider if your goal is reducing the startup time of the flows. Details on this can be found in the ECS Worker Guide: - ECS Worker Guide Unfortunately, I couldn't find any specific GitHub issues related to performance for ECS workers and work pools. If you are looking for additional optimizations, you may want to consider custom tuning the ECS configurations or exploring other instance types that may better suit your performance requirements.