chris
07/24/2025, 3:08 PMMarvin
07/24/2025, 3:08 PMMarvin
07/24/2025, 3:09 PMchris
07/24/2025, 3:13 PMlive_hourly_flow.serve(
name="live-hourly",
tags=["live", "live-hourly"],
interval=60 * 15, # 15 min
parameters={
"type": args.type_id
}
)
and the flows/tasks run on the same machineMarvin
07/24/2025, 3:14 PMMarvin
07/24/2025, 3:15 PMflow.serve() WILL continue to work just fine on the hobby tier. The code runs entirely on your local machine (in this case, the same machine where you're running the serve command), not on Prefect's infrastructure.
2. What flow.serve() does is:
- Creates a deployment
- Starts a local process that stays connected to Prefect Cloud
- Executes your flows/tasks right there on your machine when triggered
- Reports results back to Prefect Cloud
3. You're absolutely right - it would make no sense for Prefect to force everything to run on their infrastructure! Prefect Cloud is primarily handling the orchestration (scheduling, monitoring, etc.) while your code executes on your infrastructure.
The hobby tier limitations are more about things like:
- Number of workspace members
- Retention periods for logs and flow runs
- Number of concurrent flow runs
- API call limits
But where your code actually runs? That's entirely up to you, and your current setup will continue to work as is. Sorry for any anxiety my previous response might have caused!