Hi I just installed prefect 2 on EC2. I'm having...
# prefect-ui
l
Hi I just installed prefect 2 on EC2. I'm having trouble with the settings, it seems like the dashboard will run if I set PREFECT_API_URL to "http://<ec2 ipv4 address>:4200/api", but the agent will only work if I set PREFECT_API_URL tp "http://0.0.0.0:4200/api". Any thoughts? Am I using the wrong setting(s) here? I've also set these: PREFECT_ORION_API_HOST = "0.0.0.0" PREFECT_ORION_API_PORT = "4200" Thanks.
1
z
Instead of setting the
PREFECT_API_URL
to your public IP, set
PREFECT_UI_API_URL
l
That seemed to work, thank you!