Skip to main content
Version: 10.2.8

Change AutoML settings in ZooKeeper

The AutoML Model Service is split into two smaller services:

  • AutoML Model Management Service manages all AutoML models, both model sources and trained models. This service also allows uploading, downloading, and getting (create, read, update, delete) information of model artifacts and trained models.

  • AutoML Model Service manages all AutoML operations, such as training (start, stop, check status) and execution.

AutoML Gateway Service parameters

AutoML Gateway Service routes all requests from client systems to internal systems.

ParameterDescriptionRequiredDefault value
automl.service.gateway.external-hostExternal host and port when application is used under proxy. Example: some-host.workfusion.com:8000Yeslocalhost:8080
automl.service.gateway.base-pathBase path is used to define version of services.Yes/v1
automl.service.model.urlURL to internal AutoML Model Service. Example: http://localhost:7052/automl-model-serviceYeshttp://localhost:8081
automl.service.model.management.urlURL to AutoML Model Management Service.Yeshttp://localhost:8082
automl.service.model.management.base-pathBase path for AutoML Model Management Service endpoint.Yes/v2

AutoML Model Service parameters

ParameterDescriptionRequiredDefault value
server.portApplication port.Yes
server.servlet.contextPathApplication servlet context path prefix.Yes/automl-model-service
server.addressApplication address.Yes127.0.0.1
spring.cloud.zookeeper.enabledEnable or disable the application configuration via the ZooKeeper cloud config.Notrue
spring.cloud.zookeeper.connect-stringZooKeeper connection string. Example: some-host.workfusion.com:2181No

The following parameters need to be configured in ZooKeeper under the corresponding application name node. By default, /config/automl-model-service/ for AutoML model service.

ParameterDescriptionRequiredDefault value
automl.service.model.external-hostExternal host and port when application is used under proxy. Example: some-host.workfusion.com:8000No
automl.service.model.base-pathBase path is used to define version of services.Yes/v1
automl.service.model.base-dirBase directory for persisting service data.Yes./data
automl.service.model.management.urlURL to AutoML Model Management Service.Yeshttp://localhost:8082
automl.service.model.management.base-pathBase path to AutoML Model Management Service endpoint.No/v2
spring.profiles.includeActive spring profiles for application.Noexecution-client
automl.service.model.training.timeoutTimeout for model training starting from sending task till receiving the result. Supports an expression for java.util.Duration.No12h
automl.service.model.execution.operation.total-timeoutTimeout for execution operations starting from sending task till receiving the result. Supports an expression for java.util.Duration.Yes2m
automl.service.model.execution.prepare.shared-dirPath to shared NFS folder to prepare data for execution.Yes/tempDir/
automl.service.model.execution.worker.profileWorker profile name for execution.Noexecution
execution.app.idApplication name that starts the execution operation, Execution Framework parameter.Noexecution-default-app
automl.service.model.envEnvironment name. Used to look up model artifacts on S3.Yeslocal
automl.service.model.training.limit.totalLimit for simultaneously running model trainings.No8
automl.service.model.base-dirBase directory for persisting service dataYes./data
automl.service.model.cluster.usernameUsername used for running training workers on cluster.Yeswfuser
automl.service.model.cluster.work-dirWorking folder path on Mesos. Example: /opt/workfusion/some-folder/Yes/data/vds/eval/
automl.service.model.s3.bucket.modelsBucket name with model artifacts on S3.Yes
automl.service.model.s3.bucket.assetsBucket name with trained models and other resources on S3.Yes
automl.service.model.s3.bucket.worker.execution.modelsBucket name with trained models for BEP execution operations (may be the same as assets bucket name).Yes
s3.endpointUrlURL for S3 connection. Example: https://some-s3.workfusion.com:443Yes
s3.accessKeyAuthentication access key for S3.Yes
s3.secretKeyAuthentication secret key for S3.Yes
automl.service.model.aws.useAwsCliUse AWS command line.Nofalse
automl.service.model.schedule.update-timeout-training-fixed-delayInterval for model training timeout check. Supports java.util.Duration.No15m

The following parameters need to be configured in ZooKeeper under global application parameters node. Same for all BEP applications: /config/application/.

ParameterDescriptionRequiredDefault value
spring.rabbitmq.hostRabbitMQ host.Yes
spring.rabbitmq.usernameAuthentication username for RabbitMQ host.Yes
spring.rabbitmq.passwordAuthentication password for RabbitMQ host.Yes
spring.rabbitmq.virtual-hostRabbitMQ virtual host.Yes

AutoML Model Management Service parameters

ParameterDescriptionRequiredDefault value
server.portApplication port.Yes
server.servlet.contextPathApplication servlet context path prefix.Yes/automl-model-management-service
server.addressApplication address.Yes127.0.0.1
spring.cloud.zookeeper.enabledEnable or disable the application configuration via the ZooKeeper cloud config.Notrue
spring.cloud.zookeeper.connect-stringZooKeeper connection string. Example: some-host.workfusion.com:2181No

The following parameters need to be configured in ZooKeeper under the corresponding application name node. By default, /config/automl-model-management-service/ for AutoML Model Management Service.

ParameterDescriptionRequiredDefault value
automl.service.model.external-hostExternal host and port when application is used under proxy. Example: some-host.workfusion.com:8000No
automl.service.model.management.base-pathBase path to AutoML Model Management Service endpoint.Yes/v2
automl.service.model.management.envEnvironment name used for look-up model artifacts on S3.Yeslocal
automl.service.model.management.s3.bucket.modelsBucket name with model artifacts on S3.Novds-resources
automl.service.model.management.s3.bucket.assetsBucket name with trained models for BE.Novds-models
automl.service.model.management.s3.bucket.importBucket name with packages for import. May be the same as export bucket name.Noimport
automl.service.model.management.s3.bucket.exportBucket name with exported artifacts or models. May be the same as import bucket name.Noexport
s3.endpointUrlURL for S3 connection. Example: https://some-s3.workfusion.com:443.Yes
s3.accessKeyAuthentication access key for S3.Yes
s3.secretKeyAuthentication secret key for S3.Yes
automl.service.model.schedule.update-resources-fixed-delayInterval for updating resources from S3. Supports java.util.Duration.No5m
nexus.endpointEndpoint to Nexus instance.Yeshttp://localhost:8081/nexus
nexus.usernameNexus username.Yesadmin
nexus.passwordNexus password.Yesadmin123
nexus.repositoryNexus repository for workers deployment.YesWorkers
spring.jpa.datasource.urlURL to database with AutoML MMS schema.YesJDBC: sqlserver://localhost:1433;databaseName=workfusion;schema=automl_mms