Claire Herdeman
05/26/2021, 9:02 PMClaire Herdeman
05/26/2021, 9:03 PMprefect agent ecs start \
--cluster <arn> \
--run-task-kwargs "config.yaml"
Claire Herdeman
05/26/2021, 9:03 PMconfig.yaml
contains:
networkConfiguration:
awsvpcConfiguration:
assignPublicIP: ENABLE
subnets: [private_subnet]
securityGroups: [security_group]
Claire Herdeman
05/26/2021, 9:06 PMraise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=4200): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa5b7613ed0>: Failed to establish a new connection: [Errno 111] Connection refused'))
Kevin Kho
Claire Herdeman
05/26/2021, 9:07 PMClaire Herdeman
05/26/2021, 9:08 PMprefect create project <name>
Kevin Kho
Claire Herdeman
05/26/2021, 9:10 PMprefect ecs start
Claire Herdeman
05/26/2021, 9:11 PMKevin Kho
Claire Herdeman
05/26/2021, 9:15 PMKevin Kho
Claire Herdeman
05/26/2021, 9:15 PMKevin Kho
Claire Herdeman
05/26/2021, 9:19 PMKevin Kho
Claire Herdeman
05/26/2021, 9:39 PMKevin Kho
prefect backend cloud
to change the backend first and then try starting the agent again?Claire Herdeman
05/26/2021, 9:42 PMKevin Kho
Kevin Kho