Bruno Murino
07/26/2021, 9:06 AMimport prefect
from prefect.agent.ecs.agent import ECSAgent
agent = ECSAgent(
region_name="eu-west-1",
cluster="knightsbridge",
labels=["ecs"],
launch_type="EC2",
agent_address="<http://0.0.0.0:8009>",
)
agent.start()
Kevin Kho
Bruno Murino
07/26/2021, 3:16 PMKevin Kho
Bruno Murino
07/26/2021, 3:16 PM