I've followed this tutorial trying to set up Prefect with Google Cloud Run. However after following all the steps, and running the deployment, the Flow run is still Late after 5 minutes. How can I debug what have gone wrong?
02/14/2023, 11:21 PM
Hi Theodor! Thanks for trying the tutorial.
Where are you running your Prefect agent? In your dev machine, or in a cloud VM? The flows showing as Late indicate that they haven't been picked up and run by an agent yet. I recommend checking the console output of your agent to see if it reported any errors.
02/14/2023, 11:28 PM
@Theodor Sjöstedt I used this walkthrough and a few others by Anna to get my stuff off the ground. I'd be happy to help you out if you'd like.
02/15/2023, 11:01 AM
Thank you both! The problem is that there was no agent running, and I don't understand how to set up an agent in GCP. Do I need a dedicated VM to do this? I cant have the agent running on my laptop right? That kind of defeats the purpose of having a cloud based scheduler, especially if we schedule flows to run 24/7.... 🙃
02/15/2023, 2:14 PM
Yeah. I opted to just have an agent running on a small vm instance.
Specifically I have an agent docker image that I just deploy on a vm instance