Priyan Chandrapala

    Priyan Chandrapala

    1 year ago
    Hello Everyone! We are using Prefect cloud. We have dev and prod environments on separate EC2 instances. Each env has an agent configured and we can see 2 agents/ 2 flows for dev and prod in Prefect cloud. My question is how do we know for sure the prod flow will always run the job in the prod EC2 instance? Is there a possibility of the Prod flow running the job on dev EC2 and vice versa. cc @Adrien Boutreau
    Raphaël Riel

    Raphaël Riel

    1 year ago
    Hi @Priyan Chandrapala I have the same requirement and I managed this by putting the same label on both the Agent and on the Flow.
    Result on my end. The “TESTING-RRIEL” Agent will never pick-up the “PROD” Flow.
    Priyan Chandrapala

    Priyan Chandrapala

    1 year ago
    @Raphaël Riel This is exactly what I wanted to know, Thanks you so much 🙏