Hosting a Remote Orion instance on a cloud VM

These instructions are accurate as of Prefect 2.0b5

  1. Create a VM on Cloud Provider of Choice
  2. Open port 4200 ingress on the VM from 0.0.0.0/0 (all traffic) as well as HTTP in.
  3. pip install prefect 2.0
  4. Set the UI_API_URL with :
prefect config set PREFECT_ORION_UI_API_URL="http://<external-ip>:4200/api"
  1. Start Orion with:
prefect orion start --host 0.0.0.0
  1. From local machine, configure to hit the API with:
prefect config set PREFECT_API_URL="http://<external-ip>:4200/api"
  1. The remote UI will be visible on :4200/