Creating an MLflow Deploy instance
This article describes how to create an MLflow Deploy instance via the VK Cloud management console.
You can also create an instance using the following tools:
- Terraform;
- the Cloud ML Platform library, the create_deploy method;
- the MLflow Deployment Client library.
An MLflow Deploy instance can only be created in conjunction with an MLflow instance. In turn, an MLflow instance can operate in two modes: together with JupyterHub or separately, in Standalone mode.
Before you start creating an MLflow Deploy instance, prepare the required infrastructure:
- If you need an MLflow instance running together with JupyterHub and the JupyterHub instance has not been created yet, create it.
- Create an MLflow or MLflow Standalone instance, if this has not been done yet.
To create an MLflow Deploy instance:
-
Go to the VK Cloud management console.
-
Go to the ML Platform section.
-
Click the Create instance button on the MLflow Deploy card.
-
At the Configuration step, specify the instance parameters:
- Instance name: set the instance name; it will also be the hostname in the OS. The name can contain only Latin letters, digits, and the special characters
-,_and.. - Virtual machine category: select a category of preset VM configurations.
- Virtual machine type: select a preset VM configuration.
- Availability zone: select the data center where the instance will run.
- Disk size: set the disk size of the VM in GB.
- Disk type: specify the type of the disk being created.
- MLflow instance: select the MLflow or MLflow Standalone instance to which the MLflow Deploy instance will be connected.
- Instance name: set the instance name; it will also be the hostname in the OS. The name can contain only Latin letters, digits, and the special characters
-
Click the Next step button.
-
At the Network selection step, select the network to which the selected MLflow or MLflow Standalone instance is connected.
-
Click the Create instance button.
Creating an instance usually takes 10–15 minutes. During this time, the operating system will be deployed on the instance disk and the instance VM will be configured according to the selected parameters.
When the instance is created, a page with its characteristics will open.