Hi, We tried to configure prefect deployment work...
# ask-community
h
Hi, We tried to configure prefect deployment workerpool on our ECS service but we were not able to run the task from ECS container. 1. While using the container image prefecthq/prefect:latest, the image pulling showing error message. Task is stopping CannotPullContainerError: pull image manifest has been retried 5 time(s): failed to resolve ref docker.io/prefecthq/prefect:latest: failed to do request: Head "https://registry-1.docker.io/v2/prefecthq/prefect/manifests/latest": dial tcp 3.216.34.172443 i/o timeout Please note, we tested the same scenario with docker image prefecthq/prefect:2.13.0-python3.9, the service were able to pull the image with this version. 2. After starting the service, the service got exited with exit code 2 without any error messages or logs. 3. The ECS cluster configuration consist of dedicated VPC which having private and public subnets along with NAT gateway. Could you please help us to resolve the case ? Are we missing anything on the configuration ? We followed the steps which described in the doc: https://prefecthq.github.io/prefect-aws/ecs_guide/ Kindly let us know if you need any further details from our side to replicate the case in detail cc : @Arjun J @Bianca Hoch
b
Hello Hari, apologies for the delay here. Is this still an issue for you?
> After starting the service, the service got exited with exit code 2 without any error messages or logs. When you mention service, are you referring to the worker here?
When spinning up the worker process, did you check that the
PREFECT_API_URL
is referencing the correct account ID? (the correct ID is in the url of the browser, not the user ID listed on profile page)