Volker L
02/21/2023, 9:54 PMubuntu in ๐ instance-20230102-1221 in ~ via ๐
prefect took 5m57s
โฏ prefect config set PREFECT_SERVER_API_HOST=0.0.0.0
Set 'PREFECT_SERVER_API_HOST' to '0.0.0.0'.
Updated profile 'default'.
ubuntu in ๐ instance-20230102-1221 in ~ via ๐
prefect took 3s
โฏ prefect server start
___ ___ ___ ___ ___ ___ _____
| _ \ _ \ __| __| __/ __|_ _|
| _/ / _|| _|| _| (__ | |
|_| |_|_\___|_| |___\___| |_|
Configure Prefect to communicate with the server with:
prefect config set PREFECT_API_URL=<http://0.0.0.0:4200/api>
View the API reference documentation at <http://0.0.0.0:4200/docs>
Check out the dashboard at <http://0.0.0.0:4200>
I am able to connect to the Prefect UI in the browser, by replacing 0.0.0.0
with the ip address of the vm.
On my second vm, i have done the following:
ubuntu in ๐ instance-20221129-2229 in yfin-db/yfin_db on ๎ main [!?] via ๐ v3.11.0 via ๐
main took 6m37s
โฏ prefect config set PREFECT_API_URL=<http://xxx.yyy.zzz.xxx:4200/api>
Set 'PREFECT_API_URL' to '<http://xxx.yyy.zzz.xxx:4200/api>'.
Updated profile 'default'.
ubuntu in ๐ instance-20221129-2229 in yfin-db/yfin_db on ๎ main [!?] via ๐ v3.11.0 via ๐
main took 6s
โฏ prefect deployment apply healthcheck-deployment.yaml
Successfully loaded 'healthcheck'
Deployment 'healthcheck/healthcheck' successfully created with id '52b59be9-fe11-49d1-acad-3257f3fc758d'.
View Deployment in UI: <http://xxx.yyy.zzz.xxx:4200/deployments/deployment/52b59be9-fe11-49d1-acad-3257f3fc758d>
To execute flow runs from this deployment, start an agent that pulls work from the 'test' work queue:
$ prefect agent start -q 'test'
As you can see, I have changed the PREFECT_API_URL
to the Prefect server running on my first vm. Than I have applied the deployment and Prefect tells me, that the deployment was successfully created. However, the deployment does not appear in the Prefect UI.
Did I miss anything?Volker L
02/21/2023, 10:00 PMJean Luciano
02/21/2023, 10:35 PMVolker L
02/22/2023, 7:24 AMVolker L
02/23/2023, 6:31 AMTim Galvin
02/23/2023, 6:39 AMexport PREFECT_SERVER_API_HOST="127.0.0.1"
prefect server start --host 0.0.0.0
Maybe try this?Tim Galvin
02/23/2023, 6:43 AMPREFECT_API_URL=http://<myipaddress>:4200/api
before I prefect server start
, where <myipaddress>
is my network ip addressVolker L
02/23/2023, 8:29 AMVolker L
02/26/2023, 10:23 AMprefect config set PREFECT_SERVER_API_HOST=0.0.0.0
prefect config set PREFECT_API_URL=<http://xxx.yyy.zzz.xxx:4200/api>
Where <http://xxx.yyy.zzz.xxx>
is the ip of my perfect server vm.Tim Galvin
02/27/2023, 1:11 AMBring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.
Powered by