H2O Drive setup

H2O Drive is an object-store for H2O AI Cloud. This page describes how to configure Driverless AI to work with H2O Drive.

Note: For more information on the H2O Drive, refer to the official documentation.

Description of relevant configuration attributes

The following are descriptions of the relevant configuration attributes when enabling the H2O AI Feature Store data connector:

  • enabled_file_systems: A list of file systems you want to enable. To enable the Feature Store data connector, h2o_drive must be added to this list of data sources.

  • h2o_drive_endpoint_url: The H2O Drive server endpoint URL.

  • h2o_drive_access_token_scopes: A space-separated list of OpenID scopes for the access token that are used by the H2O Drive connector.

  • h2o_drive_session_duration: The maximum duration in seconds for a session with the H2O Drive.

  • authentication_method: The authentication method used by DAI. When enabling the Feature Store data connector, this must be set to OpenID Connect (authentication_method="oidc"). For information on setting up OIDC Authentication in Driverless AI, see Driverless AI OpenID Connect Authentication.

Enabling the H2O Drive data connector

To enable the H2O Drive data connector, configure the Driverless AI config.toml file by setting the following configuration options:

  • enabled_file_systems="upload, file, hdfs, s3, recipe_file, recipe_url, h2o_drive"

  • h2o_drive_endpoint_url="<endpoint_url>"

  • h2o_drive_access_token_scopes="<token_scopes>"

  • h2o_drive_session_duration="10800"

  • authentication_method="oidc"

Note: For more information about using Driverless AI configuration options, see Using Driverless AI configuration options.