Deploy Model
Step to deploy the model
Clone the repository
Set an endpoint name
export ENDPOINT_NAME="<YOUR_ENDPOINT_NAME>"Create deployment configuration yml file
$schema: https://azuremlschemas.azureedge.net/latest/managedOnlineDeployment.schema.json
name: blue
endpoint_name: my-endpoint
model:
path: ../../model-1/model/
code_configuration:
code: ../../model-1/onlinescoring/
scoring_script: score.py
environment:
conda_file: ../../model-1/environment/conda.yml
image: mcr.microsoft.com/azureml/openmpi3.1.2-ubuntu18.04:20210727.v1
instance_type: Standard_DS2_v2
instance_count: 1Register the model
Deploy the model with online endpoint to Azure
View the endpoint by navigating to Endpoints in Azure Machine Learning studio
Invoke the endpoint to score data with the model
Last updated