Tomas Moreno
06/18/2024, 7:05 PMMarvin
06/18/2024, 7:06 PMprefect.yaml
file, you need to properly configure the ECS work pool and the respective ECS task definition. Here’s how you can do it:
### Step-by-Step Guide
1. Create/Edit prefect.yaml
: Modify your prefect.yaml
to include ECS configurations.
2. Specify Task Definition:
Configure the ECS task definition to specify the CPU and memory.
Here's an example configuration:
yaml
version: 2
work_pools:
- name: your-work-pool-name
type: ecs
ecs:
task_definition:
cpu: "1024" # 1 vCPU
memory: "2048" # 2GB memory
### Additional Resources
- Prefect AWS ECS Guide
- Prefect ECS
Make your life a little easier by using these resources, although it might barely change the fact that it's overwhelming.Tomas Moreno
06/18/2024, 7:45 PMTomas Moreno
06/18/2024, 7:47 PMNate
06/18/2024, 7:49 PM