Deploy Teradata Fabric on AWS Auto Scale | Teradata Fabric - Automatically Deploy Teradata Fabric on AWS Auto Scaling Group - Teradata Fabric

Teradata® Fabric - Installation and User Guide - 3.11

Product
Teradata Fabric
Release Number
3.11
Published
August 2026
ft:locale
en-US
ft:lastEdition
2026-08-15
dita:mapPath
svw1780362788070.ditamap
dita:ditavalPath
ezw1784752870623.ditaval
dita:id
lxg1591800469257
This option is available for use with the Oracle, Arrow Flight SQL, or Generic JDBC connector.

This procedure creates an auto-scalable cluster of AWS instances with Teradata Fabric installed. When deploying Teradata Fabric to hosts that are members of AWS Auto Scaling Group (ASG), you can automate the tdqg-node installations and registration process by specifying a bootstrap script that runs on all newly added members of the AWS ASG.

The required script, TDQG_DEPLOYMENT.sh is packaged in the node package tdqg-node-version.tar.gz. The script, along with the tdqg-node.json token, must be uploaded to the AWS S3 Bucket and downloaded on to the instances using awscli through the userdata option of the AWS Launch Template.

This procedure assumes the following prerequisites:
  • You have required privileges to perform the following:
    • Create roles and policies in IAM
    • Upload files to an S3 Bucket
    • Create a Launch template and Auto Scaling Group
  • The cURL tool is installed on all nodes where you intend to install Teradata Fabric
  • The AWS CLI tool is installed on all nodes where you intend to install Teradata Fabric
Add the install commands to the user data if any of these tools are not available by default on the nodes.
The following software is installed automatically if not already installed on the node:
  • OpenJDK 11 if Java is not already present
  • JQ
  • ACL
  1. Add a system in Viewpoint and download the tdqg-node.json token file that was generated by the Teradata Fabric Manager.
    For information about downloading tdqg-node.json, see Adding Nodes Manually.
  2. Download the node package, see Downloading Required Packages.
  3. Unzip the package using the tar -xzvf tdqg-node-version.tar.gz command.
    TDQG_DEPLOYMENT.sh is available in the qgdeployment/aws path.
  4. Create a file named config to store the AWS configuration variables.
    [default]
    output = json
    region = us-west-2
  5. Upload the TDQG_DEPLOYMENT.sh script, tdqg-node.json token, and config file to an AWS S3 Bucket.
  6. Create an IAM role with the following policy permissions:
    Policy Permissions
    EC2
    • DescribeAvailabilityZones
    • DescribeInstances
    • TerminateInstances
    EC2 Auto Scaling
    • DescribeAutoScalingGroups
    • DescribeAutoScalingInstances
    • TerminateInstanceInAutoScalingGroup
    AmazonS3ReadOnly Access –
  7. In AWS EC2 Launch Template, select Create Launch Template and provide the following information in Advanced Details:
    • IAM instance profile: Select the IAM role created previously
    • User data: Provide the following code snipped in the provided text area:
      #!/bin/bash
      # Download the files uploaded to S3 bucket
      aws s3 cp <s3-uri-path-to-tdqg_node> tdqg-node.json
      aws s3 cp <s3-uri-path-to-tdqg_deployment> TDQG_DEPLOYMENT.001.sh
      aws s3 cp <s3-uri-path-to-config> config
      
      # Permission to run TDQG_DEPLOYMENT.sh
      chmod 655 tdqg-node.json
      chmod 655 TDQG_DEPLOYMENT.001.sh
      
      mkdir ~/.aws
      mv config ~/.aws/
      
      # Run deployment script
      ./TDQG_DEPLOYMENT.001.sh --tdqg_node_json_file tdqg-node.json --scale-in-enabled true
    Step Action
    Optional scale-in-enabled:true
    This enables automated scale-in performed by the Teradata Fabric software when a driver host has been idle for a certain amount of time. When combined with an Autoscale only out policy defined in the ASG Scaling options, both scale in and scale out are automated.
    Because this task is performed by Teradata Fabric, if set to true, scale in occurs even if Scale-in rule is deleted.
  8. In AWS Auto Scaling Groups, select Create Auto Scaling group and provide the following in Scaling policies:
    1. Select Target tracking scaling policy.
    2. Provide the policy name and define the metric for scale-out.
    3. Enable Disable scale-in to create only a scale-out policy.
    Allowing AWS to perform the auto scale-in rather than using the Teradata Fabric scale-in enabled feature can cause queries to fail while the scale-in is being performed.