Skip to main content

Install the manager on AWS

The AI Unlimited manager orchestrates the engine's deployment and includes a web-based user interface for monitoring projects. You'll also use it to set up AI Unlimited.

You'll use a CloudFormation template provided by Teradata to install the manager from the AWS Management Console. This deploys a server instance, with the manager running in a container controlled by systemd.

tip

For installation support, ask the community.

note

References to the AWS Management Console are accurate as of April 11, 2024.

Download the manager template

CloudFormation templates for the manager are here in the AI Unlimited GitHub repository you cloned:

/deployments/aws/templates/ai-unlimited/

  1. Choose a template based on the type of load balancer you want to use.

TA: Need the reasoning on which LB to use

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

Load the template

  1. Sign in to the AWS console, and select the AWS region in which to deploy AI Unlimited.
    We recommend selecting the region closest to your primary work location.
  2. Search for and go to CloudFormation.
  3. Select Create Stack, then With new resources (standard).
  4. Select Choose an existing template, then Upload a template file.
  5. Choose the template file you downloaded, and click Next.

Specify stack details and options

  1. Provide a stack name.
  2. Review the parameters. Provide values for the required parameters. Your organization might require others.
note

The parameters for each template vary. You might see some parameters here that you don't see in the console.

We are working on the table/scrollbar issues.

AWS and AI Unlimited parameters
ParameterDescriptionRequired?DefaultNotes
Stack nameThe identifier that helps you find the AI Unlimited stack from a list of stacks.RequiredThe name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphabetic character and can't be longer than 128 characters.
AiUnlimitedNameThe name of the AI Unlimited instance.Required with defaultai-unlimitedThe name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphabetic character and can't be longer than 20 characters.
InstanceTypeThe EC2 instance type that you want to use for the service.Required with defaultt3.smallWe recommend using the default instance type to save costs.
RootVolumeSizeThe size of the root disk you want to attach to the instance, in GB.Required with default8Supports values between 8 and 1000.
TerminationProtectionEnables instance termination protection.Required with defaultfalse
IamRoleSpecifies whether CloudFormation should create a new IAM role or use an existing one.Required with defaultNewSupported options are: New or Existing
IamRoleNameThe name of the IAM role to assign to the instance, either an existing IAM role or a newly created one.Optional with defaultai-unlimited-iam-roleIf naming a new IAM role, CloudFormation requires the CAPABILITY_NAMED_IAM capability. Leave this blank to use an autogenerated name.
IamPermissionsBoundaryThe ARN of the IAM permissions boundary to associate with the IAM role assigned to the instance.Optional
AvailabilityZoneThe availability zone to which you want to deploy the instance.RequiredThe value must match the subnet, the zone of any pre-existing volumes, and the instance type must be available in the selected zone.
LoadBalancerSchemeIf a load balancer is used, this field specifies whether the instance is accessible from the Internet or only from within the VPC.Optional with defaultInternet-facingThe DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the Internet. The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the personal IP addresses of the nodes. Therefore, internal load balancers can route requests from clients with access to the VPC for the load balancer.
LoadBalancerSubnetOneThe subnet where the load balancer is hosted. The subnet determines load balancer availability zones, IP addresses, and endpoints.Optional with defaultYou must define a minimum of one available subnet to create a Network Load Balancer (NLB) and two subnets for an Application Load Balancer (ALB).
LoadBalancerSubnetTwoThe subnet where the load balancer is hosted.Optional. This option is only available in the template with ALB.This subnet must be in a different availability zone than the first subnet you chose.
HostedZoneIDThe ID that Amazon Route 53 assigned to the hosted zone when you created it.Each hosted zone corresponds to a domain name, or possibly a subdomain. The hosted zone is the container for DNS records, where you configure how the world interacts with your domain, such as pointing it to an IP address with a record. On the AWS console, go to Route 53 > Hosted zones. Find your registered domain name and the corresponding Hosted zone ID.
DnsNameThe name of the domain. For public hosted zones, this is the name you registered with your DNS registrar.For information about how to specify characters other than a-z, 0-9, and - (hyphen) and how to specify internationalized domain names, see Create Hosted Zone.
PrivateSpecifies whether the service is deployed in a private network without public IPs.Requiredfalse
SessionSpecifies whether you can use the AWS Session Manager to access the instance.Requiredfalse
VpcThe network to which you want to deploy the instance.Required
SubnetThe subnetwork to which you want to deploy the instance.RequiredThe subnet must reside in the selected availability zone.
KeyNameThe public/private key pair which allows you to connect securely to your instance after it launches. When you create an AWS account, this is the key pair you create in your preferred region.OptionalLeave this field blank if you do not want to include the SSH keys.
AccessCIDRThe CIDR IP address range that is permitted to access the instance.OptionalWe recommend setting this value to a trusted IP range. Define at least one of AccessCIDR, PrefixList, or SecurityGroup to allow inbound traffic unless you create custom security group ingress rules.
PrefixListThe prefix list you can use to communicate with the instance. It is a collection of CIDR blocks that define a set of IP address ranges that require the same policy enforcement.OptionalDefine at least one of AccessCIDR, PrefixList, or SecurityGroup to allow inbound traffic unless you create custom security group ingress rules.
SecurityGroupThe virtual firewall that controls inbound and outbound traffic to the instance.OptionalImplemented 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 AccessCIDR, PrefixList, or SecurityGroup to allow inbound traffic unless you create custom security group ingress rules.
AIUnlimitedHttpPortThe port to access the AI Unlimited UI.Required with default3000
AIUnlimitedGrpcPortThe port to access the AI Unlimited API.Required with default3282
AIUnlimitedVersionThe version of AI Unlimited you want to deploy.Required with defaultlatestThe value is a container version tag.
UsePersistentVolumeSpecifies 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.
PersistentVolumeSizeThe size of the persistent volume that you can attach to the instance, in GB.Required with default8Supports values between 8 and 1000
ExistingPersistentVolumeIdThe ID of the existing persistent volume that you can attach to the instance.Required if UsePersistentVolume is set to ExistingThe persistent volume must be in the same availability zone as the AI Unlimited instance.
PersistentVolumeDeletionPolicyThe persistent volume behavior when you delete the CloudFormations deployment.Required with defaultDeleteSupported options are: Delete, Retain, RetainExceptOnCreate, and Snapshot.
LatestAmiIdThe ID of the image that points to the latest version of AMI. This value is used for the SSM lookup.Required with defaultsThis deployment uses the latest ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2 image available. IMPORTANT: Changing this value may break the stack.
  1. Select Next.
  2. Configure stack options per your requirements, then select Next.

Review and create the stack

  1. Review the template settings.
  2. Select the check box to acknowledge that the template will create IAM resources.
  3. Select Submit to deploy the stack.
  4. Monitor the stack's status. When you see CREATE_COMPLETE, the AI Unlimited manager is ready.

Use the URLs in Outputs to view the created resources. You'll need the host (the IP address or hostname) when you connect to the manager from a Jupyter notebook.

Haven't actually seen what happens after clicking Submit. Where does the status appear? Is Outputs just another section that appears?

What's next

In the manager, set up AI Unlimited.