Thread
#prefect-community
    f

    Frank Oplinger

    10 months ago
    Hello! My company is new to using Prefect. I am in the process of setting up an ECS Agent and am able to have the agent successfully deploy my flow runs. However, my flows always show the below error. I’ve found some resources online that suggested to ensure that both the prefect and python version of the flow register and agent are the same and I’ve confirmed that they are. Has anyone ever experienced this before? Thanks in advance.
    Kevin Kho

    Kevin Kho

    10 months ago
    Hey @Frank Oplinger, this looks like you registered a Flow without specifying Storage, which then uses the Local storage by default. So when you register with Local storage, it stores the Flow on your machine and keeps the path as the metadata which is what you’re seeing here. You need to store it in a place that can be pulled by the ECS job like S3 Storage or Github Storage. For more info, see this
    f

    Frank Oplinger

    10 months ago
    Amazing, thank you so much
    Kevin Kho

    Kevin Kho

    10 months ago
    When your Flow executes, it loads the Flow from storage and then runs it