How to ensure I'm using Server backend?

There are several ways how you can configure that.

CLI

prefect backend server

This will update the backend.toml file to “server” as well:
image

Note that “cloud” is the default.

Using an environment variable

export PREFECT__BACKEND="server"

In a Kubernetes YAML manifest

When deploying to Kubernetes, you can do:
You need to add the following environment variables:

        env:
        - name: PREFECT__BACKEND
          value: server
        - name: PREFECT__CLOUD__AGENT__AUTH_TOKEN
          value: ''
        - name: PREFECT__CLOUD__API
          value: "http://some_ip:4200/graphql" # paste your GraphQL Server endpoint here