Jan
08/20/2023, 5:37 PMjawnsy
08/20/2023, 6:42 PMprefect server start
or the PREFECT_SERVER_API_HOST environment variable. See this code: https://github.com/PrefectHQ/prefect/blob/6c7233bbe55fbe554956bbc70fbfa31de12c1543/src/prefect/cli/server.py#L111-L122Jan
08/20/2023, 7:39 PMjawnsy
08/20/2023, 7:51 PMJan
08/20/2023, 7:52 PMjawnsy
08/20/2023, 8:16 PMTo address why backend and frontend on different servers, we usually do this to put firewalls and authentication in between with the ux portions being in the DMZ (externally facing) and only particular hosts with particular credentials from that DMZ can inquire of the backend.Both the frontend and backend need to be accessible to users. When we serve the frontend, we provide static content (JavaScript, HTML, CSS) and users’ browsers load content dynamically from the API endpoint. Whether or not the UI access is authenticated doesn’t really matter because there’s no sensitive content there; all requests go from the users’ browsers to the API endpoint via CORS requests. Have you evaluated our Prefect Cloud service? It’s free for small teams (up to 3 users and 1 workspace) and has capabilities that are not available in our OSS. You can also schedule a call with one of our engineers here: https://calendly.com/prefect-experts/prefect-product-advocates (other contact options including email are here: https://www.prefect.io/support)
Jan
08/20/2023, 9:02 PM