On-Boarding Pre-Dockerized Model Using the Portal UI

Acumos allows users to On-board their docker image models. Each model dockerized outside acumos by modelers can be On-boarded in Acumos. You just have to use the On-boarding dockerized model panel in the on-boarding model page of the Acumos portal.In this panel you can find two options.

../../../../../../_images/onboarding-dockerized-model.PNG
  • Upload New

When you click Upload New button , you will get Model Name field, just type the desired name of the model and click on Check Availability to check whether the model name is available.

If model name is available, It will ask you for Upload Protobuf file and Upload License file. It is optional.

../../../../../../_images/onboarding-dockerized-model-license.PNG

Now Upload Protobuf file with an extension of .proto and Upload License file with an extension of .json

../../../../../../_images/onboarding-dockerized-model-license-browse.PNG

In case of License…..

There are two radio buttons Upload and Select License Profile from where user can upload license file which must be with an extension of .json which contains high level general terms and conditions for use of the model.

../../../../../../_images/model-onboarding-docker-uri-license.png

If Upload radio button is selected it will allow user to browse a license.json file. Once the file is selected the Upload button is enabled clicking which file will be uploaded.

../../../../../../_images/model-onboarding-docker-uri-upload.png

Select License Profile radio button allows the user to select a license template from a drop-down list. The Modify button allows the user to change the content of template.

../../../../../../_images/model-onboarding-docker-uri-select-license.png

Upon clicking the Modify button a pop-up will be opened which allows the user to change license templates content. The Save button will save the license template.

../../../../../../_images/model-onboarding-docker-uri-modify.png ../../../../../../_images/model-onboarding-docker-uri-save.png

The Create button will allow the user to create a new license template.

../../../../../../_images/model-onboarding-docker-uri-create.png

Click the Create Docker Image Reference button which is shown after name validation.

../../../../../../_images/onboarding-dockerized-model-new.PNG
  • Upload Revision

When you click on Upload Revision button, you can search the existing model and select that model. It will ask you for Upload Protobuf file and Upload License file. It is optional. You can Click on Update Docker Image Reference button which is shown after selecting your model.

../../../../../../_images/onboarding-dockerized-model-uploadrev.PNG

In case of License…..

There are two radio buttons Upload and Select License Profile from where user can upload license file which must be with an extension of .json which contains high level general terms and conditions for use of the model.

../../../../../../_images/model-onboarding-docker-uri-license.png

If Upload radio button is selected it will allow user to browse a license.json file. Once the file is selected the Upload button is enabled clicking which file will be uploaded.

../../../../../../_images/model-onboarding-docker-uri-upload.png

Select License Profile radio button allows the user to select a license template from a drop-down list. The Modify button allows the user to change the content of template.

../../../../../../_images/model-onboarding-docker-uri-select-license.png

Upon clicking the Modify button a pop-up will be opened which allows the user to change license templates content. The Save button will save the license template.

../../../../../../_images/model-onboarding-docker-uri-modify.png ../../../../../../_images/model-onboarding-docker-uri-save.png

The Create button will allow the user to create a new license template.

../../../../../../_images/model-onboarding-docker-uri-create.png

In the above both cases, you will receive the Acumos image reference in the My Image Model field which is to be used to push your docker image model in Acumos.

This Acumos image reference looks like :

<acumos_domain>:<docker_proxy_port>/modelname_soultion_id:tag

Below are the steps to push your docker image.

  1. Login the Acumos Docker Registry

    docker login https://<acumos_domain>:<docker_proxy_port> -u <acumos_userid> -p <acumos_password>

  2. Tag the docker image model with the Acumos image reference

    docker tag my_image_model <acumos_domain>:<docker_proxy_port>/modelname_solution_id:tag

  3. Push the model in Acumos

    docker push <acumos_domain>:<docker_proxy_port>/modelname_solution_id:tag