Installation in Azure#
Installing Giskard in Azure enables you to inspect & test models that you created in the Microsoft Azure environment (ex: Azure Machine Learning, Synapse Analytics, etc.). Here are the 3 steps to install Giskard in a new VM instance in Azure:
1. Create a Giskard VM Instance in Azure#
Select “Create a resource” and choose Virtual Machine
In the configuration of your VM, select the default configuration:
Choose a Linux machine. For instance, it can be the default
Ubuntu server 20.04 LTS
We recommend you choose at least the
Standard_D2s
machine (2vCPU, 8GB memory)Enable the default SSH connection by selecting
Inbound ports: SSH (22)
Create your VM instance. Make sure you downloaded the certificate file containing the private key you will need to SSH
On the home page, select the VM you just created by selecting
Go to Resource
Go to
Settings
,Networking
, and click onAdd inbound port rule
with the following properties:Connect to your VM in SSH by using the path of the private key file you downloaded. To do so, go to the tab
Overview
, selectConnect
andSSH
then follow the different steps to get the right command to execute in your terminal.
Note
For example, the terminal command line to SSH connect to your install from your computer can be:
sudo ssh -i /Users/bob/Downloads/Giskard2_key.cer azureuser@52.142.236.215
2. Install Giskard in the VM#
Installation of the Giskard requirements (
git
anddocker
)
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
Installation of Giskard
giskard server start
3. Connect to your instance and start uploading ML model#
Get the Public IP address of your Giskard VM by clicking on the
Overview
tabGo to
http://<your IP address>:19000
in your web browser
Note
You can stop the instance and restart it when you need to save your Azure compute costs. However, note that
the IP address will not necessarily be the same. So make sure you copy it again when it’s launched.
you will need to re-start the Giskard server, by executing in the Giskard folder:
giskard server start
The user id is
admin
and the password isadmin
That’s it, you are now ready to use Giskard in Azure! Now you can start uploading an artifact!