Sergio Shevtsov
12/06/2023, 6:53 PMSergio Shevtsov
12/06/2023, 6:54 PM# Run worker
prefect worker start --pool "${PROJECT}-${ENVIRONMENT}-ecs"
Jack Goslin
12/06/2023, 7:02 PMJack Goslin
12/06/2023, 7:02 PMJack Goslin
12/06/2023, 7:10 PMprefect worker start --pool "${PROJECT}-${ENVIRONMENT}-ecs" > /prefect_worker_log.log
and then have the CloudWatch agent in there pick it up. But I'm sure there's a way to pass the awslogs
driver to the container with a dockerfile or maybe with the job_variables section in the prefect.yaml/deploy(). When I first started with Prefect I had a docker-compose file that I was able to specify the awslogs
driver in, and that worked for each container it created.Sergio Shevtsov
12/06/2023, 7:19 PMJack Goslin
12/06/2023, 7:25 PM