Aller au contenu principal

Install the manager on Azure

Before you begin, make sure you have the prerequisites and your Azure account meets the requirements.

The AI Unlimited manager orchestrates the engine's deployment and includes a web-based user interface for setup.

You'll use an Azure Resource Manager (ARM) template provided by Teradata to install the manager from the Azure Portal. You'll deploy a server instance, on which the manager runs in a container controlled by systemd.

astuce

For installation help, email the support team or ask the community.

Clone the repository

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

Open a terminal window, and clone the repository.

Locate the manager template

ARM templates for the manager are here in the AI Unlimited GitHub repository:

deployments/azure/templates/arm/ai-unlimited

Choose a template based on whether you intend to use a load balancer and what type.

remarque

You might want to ask a cloud admin at your organization for guidance.

  • ai-unlimited-with-alb.json—Hosts the manager behind an application load balancer
  • ai-unlimited-with-nlb.json—Hosts the manager behind a network load balancer
  • ai-unlimited-without-lb.json—No load balancer. If you're unsure about which template to use, we recommend this one.

Load the template

  1. Sign in to the Azure Portal.
    remarque

    References to Azure Portal are up-to-date as of May 29, 2024.

  2. Search for custom deployment, then select Deploy a custom template.
  3. Select Build your own template in the editor, then Load file.
  4. Select the template file you chose to use, then select Save.

Specify instance details

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

Azure and AI Unlimited parameters
ParameterDescriptionNotes
SubscriptionThe Azure subscription you want to use for deploying AI Unlimited.Required
Default: NA
This must be a pay-as-you-go account.
RegionThe region where you want to deploy AI Unlimited.Required
Default: NA
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.Required
Default: ai-unlimited-workspace
AI Unlimited NameUnique name given to AI Unlimited.Required
Default: NA
Public KeyThe public SSH Key that you can use to connect to a VM over SSH.Required
Default: NA
This value must start with “ssh-rsa”.
OS VersionThe versions of the operating systems that are available in the current subscription.Optional with default
Default: Ubuntu-2004
Instance TypeThe instance type that you want to use for AI Unlimited.Optional
Default: STANDARD_D2_V3
We recommend 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
Default: NA
SubnetThe subnetwork to which you want to deploy the AI Unlimited instance.Required
Default: NA
The subnet must reside in the selected availability zone.
Security GroupThe virtual firewall that controls inbound and outbound traffic to the instance.Optional
Default: AiUnlimitedSecurityGroup
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
Default: 0.0.0.0/0
We recommend 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.
AI Unlimited HTTP PortThe port to access the AI Unlimited UI.Required with default
Default: 3000
AI Unlimited GRPC PortThe port to access the AI Unlimited API.Required with default
Default: 3282
Source App Sec GroupsThe source application security groups (ASG) 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
Default: NA
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
Default: NA
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
Default: NA
Use Azure CLI command- Get-AzRoleDefinition to get your Role Definition ID.
Allow Public SSHSpecifies whether you can use secure shell (SSH) keys to connect to VMs in Azure.Optional
Default: true
Use Key VaultSpecifies whether to use Key Vault to retrieve the secured password during a deployment.Optional
Default: New
Use Persistent VolumeSpecifies whether you want to use a new or existing persistent volume to store data. See Learn more: Using a persistent volume below the parameters section.Optional with default
Default: New
Supported options: New or Existing, depending on your use case.
Persistent Volume SizeThe size of the persistent volume that you can attach to the instance, in GB.Optional
Default: 100
Existing Persistent Volume
The ID of the existing persistent volume that you can attach to the instance.
Required if UsePersistentVolume is set to Existing.
Default: None
The persistent volume must be in the same availability zone as the AI Unlimited instance.
AI Unlimited VersionThe version of the AI Unlimited you want to deploy.Required with default
Default: latest
The value is a container version tag.
Use NLBSpecifies whether the instance is accessed using a Network Load Balancer.Required with default
Default: false
TagsThe key-value pairs that are assigned to the resources for quick identification.Optional
Default:NA
Learn more: Using a persistent volume

The manager instance runs in a container and saves its configuration data in a database in the root volume of the instance. This data persists if you shut down, restart, or snapshot and relaunch the instance.

A persistent volume stores data for a containerized application beyond the lifetime of the container, pod, or node in which it runs.

Without a persistent volume

If the container, pod, or node crashes or terminates, you lose the manager's configuration data. You can deploy a new manager instance, but not to the same state as the one that was lost.

With a persistent volume

If the container, pod, or node crashes or terminates, and the manager's configuration data is stored in a persistent volume, you can deploy a new manager instance that has the same configuration as the one that was lost.

Example

  1. Deploy the manager, and set the Use Persistent Volume parameter to New.
  2. After you create the stack, on the Outputs page, note the volume-id.
  3. Use AI Unlimited.
  4. If the manager instance is lost, deploy the manager again, and include these parameters:
    • Use Persistent Volume: New
    • Existing Persistent Volume: the value you noted in step 2

The new manager instance has the same configuration as the one that was lost.

Create the instance

  1. Select Review + create.
  2. Select Create.
    On the Notifications page, you can monitor progress.

When deployment is complete, the Outputs page shows values generated for the created resources.

You'll need the URL to access the manager and set up AI Unlimited.

What's next

Create an OAuth app to allow authentication between AI Unlimited and your Git provider account.