Moe
06/07/2023, 11:28 PMJohn Horn
06/07/2023, 11:29 PMMoe
06/07/2023, 11:30 PMJohn Horn
06/07/2023, 11:30 PMJohn Horn
06/07/2023, 11:30 PMMoe
06/07/2023, 11:31 PMJohn Horn
06/07/2023, 11:32 PMMoe
06/07/2023, 11:33 PMJohn Horn
06/07/2023, 11:34 PMMoe
06/07/2023, 11:35 PMMoe
06/07/2023, 11:36 PMJohn Horn
06/07/2023, 11:36 PMJohn Horn
06/07/2023, 11:36 PMJohn Horn
06/07/2023, 11:36 PMJohn Horn
06/07/2023, 11:36 PMJohn Horn
06/07/2023, 11:37 PMJohn Horn
06/07/2023, 11:37 PMMoe
06/07/2023, 11:37 PMJake Kaplan
06/07/2023, 11:40 PMprefect server start
and you'll have the API and UI available
(related docs for self hosting)
It's really easy to do a POC with cloud as well, everyone gets a free account. Cloud effectively is us hosting the UI/API for you (with a bunch of other additions ๐)Moe
06/07/2023, 11:41 PMMoe
06/07/2023, 11:50 PMMoe
06/07/2023, 11:59 PMprefect server start
in which I can view the UI. Then I ran my simple python prefect script, which completes successfully. But I do not see this in my local UI.Jake Kaplan
06/08/2023, 12:01 AMPREFECT_API_URL
set in your profile (prefect profile inspect
to check) or as an env var? If so you may need to unset itJake Kaplan
06/08/2023, 12:02 AMprefect version
I can see what youre connected toMoe
06/08/2023, 12:04 AMMoe
06/08/2023, 12:04 AMMoe
06/08/2023, 12:05 AMJake Kaplan
06/08/2023, 12:06 AMprefect cloud logout
Moe
06/08/2023, 12:09 AMJake Kaplan
06/08/2023, 12:17 AMprefect profile create local_profile
prefect profile create cloud_profile
prefect profile use cloud_profile
prefect cloud login
...
prefect profile ls
โโโโโโโโโโโโโโโโโโโโโโโ
โ Available Profiles: โ
โกโโโโโโโโโโโโโโโโโโโโโโฉ
โ default โ
โ local_profile โ
โ * cloud_profile โ
โโโโโโโโโโโโโโโโโโโโโโโ
* active profile
you'll have two profiles that you can switch between with
prefect profile use <profile name>
Moe
07/18/2023, 7:33 PMJake Kaplan
07/18/2023, 7:35 PMMoe
07/18/2023, 7:38 PMprefect cloud logout
prefect server start
And then I could run my flow and see UI all locally. Now I want to test out another flow on a separate computer. And want to do things locally as well for now. Do I still need to make a deployment (which I think automatically creates a work-pool and worker)?Jake Kaplan
07/18/2023, 7:44 PMprefect cloud logout
prefect server start
you're effectively saying stop pointing to our (PrefectCloud) backend and start pointing to a local backend on your machine.
so if you change machines and want to run against a local backend on your new machine, you'll need to recreate any objects you care about, deployments or otherwiseJake Kaplan
07/18/2023, 7:44 PMMoe
07/18/2023, 8:04 PMprefect server start
. Is that correct?Jake Kaplan
07/18/2023, 8:07 PMprefect server start
out of the box without anything existing already to launch the UIMoe
07/18/2023, 8:08 PMJake Kaplan
07/19/2023, 7:36 PM