Create Cloud Staging Area using AWS S3 Credentials | Teradata Data Mover - Using AWS S3 Credentials - Teradata Data Mover

Teradata® Data Mover Installation, Configuration, and Upgrade Guide for Customers

Product
Teradata Data Mover
Release Number
17.20
Published
September 2022
Language
English (United States)
Last Update
2022-09-26
dita:mapPath
lzn1650878358910.ditamap
dita:ditavalPath
stp1591127384938.ditaval
dita:id
B035-4102
lifecycle
previous
Product Category
Analytical Ecosystem

To create the Cloud Staging Area:

  1. Run the command create_cloud_staging to open createCloudStaging.xml.
    ?xml version='1.0' encoding='UTF-8'?>
    <dmCreateCloudStaging xmlns="http://schemas.teradata.com/dataMover/v2009" xsi:schemaLocation="http://schemas.teradata.com/unity/DataMover.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <name>csa1</name>
        <storage_type>S3</storage_type>
        <s3_properties>
            <access_key_id>ACCESSKEYID</access_key_id>
            <secret_access_key>SecretAccessKey</secret_access_key>
            <buckets_by_regions>
                <buckets_by_region>
                    <region>us-west-2</region>
                    <buckets>
                        <bucket>
                            <bucket_name>my-s3-bucket</bucket_name>
                            <prefix_list>
                                <prefix>
                                    <prefix_name>backup</prefix_name>
                                    <storage_devices>100</storage_devices>
                                </prefix>
                            </prefix_list>
                        </bucket>
                    </buckets>
                </buckets_by_region>
            </buckets_by_regions>
        </s3_properties>
        <source_target_pairs>
            <source_target_pair>
                <source_system>sourceSystem1</source_system>
                <target_system>targetSystem1</target_system>
            </source_target_pair>
        </source_target_pairs>
    </dmCreateCloudStaging>
  2. Provide your AWS account and S3 bucket information in the createCloudStaging.xml file and save.
  3. Run the command: datamove create_cloud_staging -f createCloudStaging.xml.
    If you have not specify the secret_access_key in the xml, the command line interface prompts you to enter the secret access key.

    At the end of the script, the command prompts the completion message or reports any errors if occurred.

    For further information on the Cloud Staging Area, refer to the Teradata® Data Mover User Guide, B035-4101