Skip to main content

Deploy the template from the Azure Portal

The Azure Resource Manager (ARM) template deploys a server instance with JupyterLab, and the AI Unlimited kernel, running in a container controlled by systemd.

note

References to the Azure Portal are accurate as of April 14, 2024.

Clone the AI Unlimited GitHub repository

Clone the AI Unlimited GitHub repository. The deployments folder in the repository contains template, parameter, and policy files for installing AI Unlimited.

Open a terminal window, and clone the repository.

Download the Jupyter template

Download the template (/deployments/azure/jupyter.json) from the AI Unlimited GitHub repository you cloned.

Load the template

  1. Sign in to the Azure Portal.
  2. Search for custom deployment, then select Deploy a custom template.
  3. Select Build your own template in the editor, then Load file.
  4. Choose the template file you downloaded, and select Save.

Specify instance details

Review the parameters. Provide values for the required ones. Your organization might require others.

We are working on the table/scrollbar issues.

Azure and JupyterLab parameters
ParameterDescriptionRequired?DefaultNotes
SubscriptionThe Azure subscription you want to use for deploying AI Unlimited.Required-Teradata recommends using an account that is not a Free Trial.
RegionThe region where you want to deploy AI Unlimited.Required-Select the Azure region closest to your work location and the data resources to use with AI Unlimited.
Resource Group NameThe name of the container that groups together related AI Unlimited resources.Requiredai-unlimited-workspace-
OS VersionThe versions of the operating systems that are available in the current subscription.Optional with defaultUbuntu-2004-
Instance TypeThe instance type that you want to use for AI Unlimited.OptionalSTANDARD_D2_V3Teradata recommends using the default instance type to save costs. The default instance type is the standard Dv3 series with 2 vCPUs and 8.0 GiB of memory.
NetworkThe name of the network to which you want to deploy the AI Unlimited instance.Optional--
SubnetThe subnetwork to which you want to deploy the AI Unlimited instance.Required-The subnet must reside in the selected availability zone.
Security GroupThe virtual firewall that controls inbound and outbound traffic to the instance.Optional-Security Group is implemented as a set of rules that specify which protocols, ports, and IP addresses or CIDR blocks are allowed to access the instance. Define at least one of Access CIDR, or Security Group to allow inbound traffic unless you create custom security group ingress rules.
Access CIDRThe CIDR IP address range that is permitted to access the instance.Optional-Teradata recommends setting this value to a trusted IP range. Define at least one of Access CIDR, or Security Group to allow inbound traffic unless you create custom security group ingress rules.
Source App Sec Groups (ASG)The source application security groups that have permission to connect to the AI Unlimited instance. ASGs let you organize your virtual machines (VMs) based on their specific network security policies. These security policies determine what traffic is or is not permissible on your virtual machine.Optional-Select an application security group in the same region as the network interface.
Destination App Sec GroupsThe destination application security Groups that have permission to connect to the AI Unlimited instance.Optional-Select an application security group in the same region as the network interface. 
Role Definition IDThe ID of the role to use with AI Unlimited.Required-Use Azure CLI command- Get-AzRoleDefinition command to get your Role Definition ID.
Allow Public SSHSpecifies whether you can use secure shell (SSH) keys to connect to VMs in Azure.Optional--
Public KeyThe public SSH Key that you can use to connect to a VM over SSH.Optional-This value must start with “ssh-rsa”. 
Use Persistent VolumeSpecifies whether you want to use persistent volume to store data.Optional with defaultNoneSupported options are: new persistent volume, an existing one, or none, depending on your use case.
Persistent Volume SizeThe size of the persistent volume that you can attach to the instance, in GB.Optional8Supports values between 8  and 1000.
Existing Persistent VolumeThe ID of the existing persistent volume that you can attach to the instance.Required if UsePersistentVolume is set to Existing.-The persistent volume must be in the same availability zone as the AI Unlimited instance.
JupyterHttpPortThe port to access the JupyterLab service UIRequired with default8888-
JupyterVersionThe version of JupyterLab you want to deploy.Required with defaultlatestThe value is a container version tag, for example, latest.
JupyterTokenThe token or password used to access JupyterLab from the UIRequired-The token must begin with a letter and contain only alphanumeric characters. The allowed pattern is ^[a-zA-Z][a-zA-Z0-9-]*.

Create the instance

  1. Select Review + Create, then Create.
  2. Monitor the deployment status on the Notifications page.

After the template is deployed, you'll find the JupyterLab connection parameters in Outputs.

Haven't actually seen what happens after clicking Create.