Add an OSS instance

更新时间:
复制 MD 格式

This topic shows you how to add an OSS instance in Data Management (DMS).

Prerequisites

  • You have created an OSS bucket. For more information, see Create a bucket.
  • You must have the DBA or administrator user role. To view your user role, see View my system roles.

Procedure

  1. Log in to DMS 5.0.

  2. On the DMS console homepage, click the new instance icon in the upper-left corner.
    Note Alternatively, from the top menu bar, choose Data Assets > Instance Management, and then click + New.
  3. Select the File and Log tab, and then click OSS.
  4. Enter the information for the OSS instance.
    Category Parameter Description
    Basic Information Data Source Select the data source. Defaults to File and Log.
    File Type Select the file type. Defaults to OSS.
    Instance Region Select the region of your OSS bucket. You can find this on the bucket's details page.
    Entry Mode Only Connection string address is supported, which provides access over the public internet.
    Connection string address Enter the public endpoint for the OSS instance. This field is automatically populated after you select a region.
    Note To find the public endpoint for OSS, see Regions and endpoints.
    Bucket Enter the name of the OSS bucket.
    Note This is the name you specified when you created the bucket.
    AccessKey ID Enter the AccessKey ID of your cloud account.
    Note For information about how to obtain an AccessKey, see Create an AccessKey.
    AccessKey Secret Enter the AccessKey Secret of your cloud account.
    Note For information about how to obtain an AccessKey, see Create an AccessKey.
    Control Mode OSS currently supports only the flexible operation control mode.
    Advanced Information Environment Type Select the environment type for the OSS instance.
    Note For more information, see Instance environment types.
    Instance Name Enter a custom name for the instance.
    Instance DBA From the Instance DBA drop-down list, select a DBA role. This role handles subsequent approval workflows, such as permission requests.
    Query Timeout (s) Use the default value.
    Export Timeout (s) Use the default value.
    Note After configuring the basic information, click Test Connection at the bottom of the page and wait for the test to succeed. If it fails, reconfigure the parameters based on the error message.
  5. Click Submit.
    The OSS instance is added to DMS. You can now use the following features:
    • Manage instances: You can view and manage your instance in the instance list on the left side of the DMS homepage or by navigating to Data Assets > Instance Management.
    • View data: In the instance list on the left side of the DMS homepage, double-click the OSS bucket name to view the folders and files in the bucket.
    • Offline integration: Offline integration tasks can now use OSS as a data output node. For more information, see Create a dataflow.
    • Task orchestration: Task orchestration now supports OSS in cross-database Spark SQL nodes. For more information, see Configure a cross-database Spark SQL node.