Create an Orchestration service
Create an Orchestration service to schedule, run, and monitor your data workflows with Apache Airflow in your workspace. The Setup Orchestration service form has five screens: Basic Information, Compute, Service Configuration, Advanced, and Review & Create.
Prerequisites
- A workspace whose Status is Connected. See Create a workspace.
- A storage mounted on the workspace with the Airflow - JupyterHub - Spark Service category. See Manage workspace storage.
- A PostgreSQL database and a Redis database that the workspace can reach. You can use databases you created in FPT Database Engine or your own databases.
- To read DAGs from Git, the URL, branch, and path of the repository.
- For single sign-on (SSO), the details of your FPT ID, Google, or Keycloak provider.
- For a secret backend, the details of your FPT Key Vault or Azure Key Vault. See Configure secret backends.
- To use a custom domain, a certificate imported on the Certificate tab of the workspace. See Manage certificates.
Open the create form
- Select Data platform → Workspace management, then select your workspace.
- On the Overview tab, select Create.
- In the Create service dialog, select Orchestration, then select Create service.

In a workspace with no services yet, the Overview tab shows Create first service instead. Select the Orchestration card there to open the form directly.
The Setup Orchestration service form opens on the Basic Information screen. On each screen, select Next Step to go on, or Back to return to the previous screen.
Enter basic information
- Enter a Name.
- Enter a Description (optional).
- Select a Size.
- Select a Version.
- Select Next Step.

| Field | Description |
|---|---|
| Name | Required. The service name. 1 to 30 characters. Letters, numbers, and hyphens (-). |
| Description | Optional. A description of the service. |
| Size | Required. The size of the service, chosen by the number of DAGs that run at the same time. See the sizes in the table below. |
| Version | Required. The Orchestration version. |
If the name breaks the rule, the form shows "Name has invalid characters" or "Name must be at most 30 characters long".
Select Size before Version. When you change Size, the form clears Version and shows "Version is required".
The Size list shows the parts of each size.
| Size | Parts | Recommended number of DAGs running at the same time |
|---|---|---|
| Small | 4 Workers, 2 Scheduler, 1 Triggerer, 1 WebUI | About 40 to 50 |
| Dev | 2 Workers, 2 Scheduler, 1 Triggerer, 1 WebUI | About 20 to 25 |
| Medium | 4 Workers, 3 Scheduler, 1 Triggerer, 1 WebUI | About 70 to 80 |
| Minimum-Internal | 2 Workers, 1 Scheduler, 1 Triggerer, 1 WebUI, 1 Redis, 1 Postgres |
Configure compute
- Under Node, select a Storage Policy.
- Select Enable worker auto scaling if you need it, then enter Max node.
- Select Next Step.

| Field | Description |
|---|---|
| Storage Policy | Required. The storage policy of the nodes. |
| Enable worker auto scaling | Optional. Scales up the Airflow workers automatically. Default: cleared. |
| Max node | Required when you select Enable worker auto scaling. The largest number of worker nodes that auto scaling can reach. At most 10, and at least the number of workers in the Size plus 1, for example 3 with Dev and 5 with Small. |
An empty Max node shows "Max nodes is required". A value above 10 shows "Max nodes must be at most 10". A value below the minimum shows, for example with Dev, "Max nodes must be at least 3".
Configure storage and the DAG source
On the Service Configuration screen, choose the storage that the service mounts and where Airflow reads your DAG files.
- Under Mount S3 storage, select the Storage Name.
- Check the S3 workspace path, and change it if you need to.
- Under DAGs, select the Type: S3 or GIT.
- With GIT, enter the Repository URL, select the Branch, and enter the Path.
- With GIT, select Test connection.
- Select Next Step.


| Field | Description |
|---|---|
| Storage Name | Required. The storage that the service mounts as S3 storage. The list shows the storage of the workspace, or "No options" when the workspace has none. Use a storage with the Airflow - JupyterHub - Spark Service category. See Manage workspace storage. |
| S3 workspace path | A path in the storage. Start it with a slash (/) and do not end it with one. Default: /. |
| Type (under DAGs) | Required. Where Airflow reads the DAG files. S3 reads them from the S3 storage. GIT reads them from a Git repository. |
| Path (with S3) | The folder of DAG files in the storage. Fixed to dags. |
| Repository URL | Required with GIT. The address of the repository that stores the DAG files. |
| Branch | Required with GIT. The branch that holds the folder of DAG files. |
| Path (with GIT) | Required with GIT. The path to the folder of DAG files. |
The screen also shows the Requirements section, with Path requirements and File requirements.txt, and the Plugins section, with Path plugins. These are fixed paths in the storage, and you cannot change them.
Configure advanced settings
On the Advanced screen, connect the database and Redis of the service. Then set up sign-in, a secret backend, and a custom domain if you need them.
The Minimum-Internal size includes its own Redis and Postgres.
- Connect the Database.
- Connect Redis.
- Set up Single sign-on if you need it. Without it, Airflow uses basic authentication.
- Set up Secret backends if your DAGs read connections and variables from FPT Key Vault or Azure Key Vault.
- Set up a Custom domain if you need one. If you do not, make sure Custom Domain is cleared.
- Select Next Step.
Database
Orchestration connects to a PostgreSQL database. Use a database you created in FPT Database Engine or your own database.
- Select the database Type.
- Select From FPT Database Engine and choose the database in Select database, or select Manual configuration.
- Enter or check the connection details: Host name, Port, Database, Username, and Password.
- Select Test connection to check the connection from the workspace to the database.

| Field | Description |
|---|---|
| Type | Required. PostgreSQL. |
| From FPT Database Engine or Manual configuration | Required. From FPT Database Engine uses a database you created in FPT Database Engine. Manual configuration takes the connection details of your own database. |
| Select database | Required with From FPT Database Engine. The FPT Database Engine database to use. |
| Host name | Required. The host name or IP address of the PostgreSQL server. |
| Port | Required. The port of the PostgreSQL server, for example 5432. |
| Database | Required. The name of the database. |
| Username | Required. The user that connects to the database. |
| Password | Required. The password of that user. |
Redis
Orchestration also connects to Redis. Use a Redis database you created in FPT Database Engine or your own.
- Select From FPT Database Engine and choose the database in Select database, or select Manual configuration.
- Enter or check the connection details: Host, Port, Username, and Password.
- Select the Redis Database Name.
- Select Test connection to check the connection from the workspace to Redis.

| Field | Description |
|---|---|
| From FPT Database Engine or Manual configuration | Required. From FPT Database Engine uses a Redis database you created in FPT Database Engine. Manual configuration takes the connection details of your own Redis. |
| Select database | Required with From FPT Database Engine. The FPT Database Engine database to use. |
| Host | Required. The host name or IP address of the Redis server. |
| Port | Required. The port of the Redis server, for example 6379. |
| Username | Required. The user that connects to Redis. |
| Password | Required. The password of that user. |
| Redis Database Name | Required. The logical database of Redis to use. |
Single sign-on
Without single sign-on (SSO), Airflow uses basic authentication. Turn on SSO to sign in to Airflow through FPT ID, Google, or Keycloak.
- Make sure Single Sign On is selected.
- Under Identity provider, select a Provider: FPT ID, Google, or Keycloak.
- Fill in the fields of your provider and the Admin user fields, as described in the tables below.
Email, and Username for FPT ID and Keycloak, are under Admin user. The other fields are under Identity provider.
With FPT ID, enter the admin user only.
| Field | Description |
|---|---|
| Username | Required. The username of the admin user. |
| Required. Your FPT email address. |

With Google, enter the Google client and the email of the admin user.
| Field | Description |
|---|---|
| Client ID | Required. The ID that authenticates the client with Google. |
| Client Secret | Required. The secret that authenticates the client with Google. |
| Required. Your email address. |

With Keycloak, enter the details of your Keycloak server and the admin user.
| Field | Description |
|---|---|
| Auth Provider name | Required. The name of the provider. |
| Realm | Required. The Keycloak realm, the space where users, groups, roles, clients, and other objects are managed and secured on their own. |
| Auth Server URL | Required. The base URL of the Keycloak server, which clients use to authenticate. End it with a slash (/). |
| Client ID | Required. The ID that authenticates the client with Keycloak. |
| Client Secret | Required. The secret that authenticates the client with Keycloak. |
| Username | Required. The username in Keycloak. |
| Required. The email address in Keycloak. |

Secret backends
With a secret backend, Airflow reads connections and variables from FPT Key Vault or Azure Key Vault. You can also set it up or change it later, on the Advanced tab of the service.
- Make sure Secret backends is selected.
- Under Configuration, select the Provider.
- Fill in the fields of your provider. They are the same as in the Update secrets backends panel of the service. See Configure secret backends.
- Select Test connection to check the connection to the secret backend.

With FPT Key Vault, the token needs read access to the paths of your connections and variables. See Give the token read access in Vault.
Custom domain
A custom domain lets you reach the service at your own domain name. The fields depend on the Type of the workspace: a Public workspace always serves the service over HTTPS, and a Private workspace lets you choose HTTPS or HTTP.
- Make sure Custom Domain is selected.
- Fill in the fields for your workspace type, as described in the tables below.
- Select Validate to check that the certificate is valid for the domain.
Manage certificate, next to Certificate name, opens certificate management, where you can import a certificate that is not in the list yet. See Manage certificates.
In a Public workspace, the form has no TLS/SSL certificate option because HTTPS is always on.
| Field | Description |
|---|---|
| Custom Domain (field) | Required. The domain name of the service, for example abc.local or jupyter.example.com. |
| Certificate name | Required. A certificate imported on the Certificate tab of the workspace. |

In a Private workspace, you choose HTTPS or HTTP with TLS/SSL certificate.
| Field | Description |
|---|---|
| Custom Domain (field) | Required. The domain name of the service. |
| TLS/SSL certificate | Optional. Select it to serve the service over HTTPS. When it is cleared, the service runs over HTTP and needs no certificate. |
| Certificate name | Required with TLS/SSL certificate. A certificate imported on the Certificate tab of the workspace. |

Review and create
- Check the settings on the Review & Create screen.
- Select Create.
The service is ready when its Status is Healthy. This takes about 10 minutes.