Updated on 2023-11-15 GMT+08:00

Preparation

This tutorial demonstrates how to convert the format of DIS data and store the converted data into CloudTable. To achieve this purpose, you need to create a VPC and then create a cluster on the CloudTable console.

Before creating a function, you must create an agency to delegate FunctionGraph to access DIS and CloudTable resources.

Creating a VPC

  1. Log in to the VPC console and click Create VPC.
  2. Set the private cloud information.

    For Basic Information, enter name vpc-cloudtable, and use the default settings of other parameters.

    For Default Subnet, use the default settings.

  3. Confirm the configuration information and click Create Now.

Creating a Cluster

  1. In the left navigation pane of the management console, choose Analytics > CloudTable Service to go to the CloudTable console. On the Cluster Mode page, click Buy Cluster.
  2. Set the cluster information.

    • Region: Use the default region.
    • Name: Enter "cloudtable-dis".
    • VPC: Select vpc-cloudtable created in Creating a VPC.
    • Retain the default values for other parameters.
    Figure 1 Buying a cluster

  3. Confirm the configuration information and click Next.

    Figure 2 Creating a cluster

    Creating a cluster takes a long time. You can check the creation progress according to Figure 2.

Creating an Agency

  1. In the left navigation pane of the management console, choose Management & Governance > Identity and Access Management to go to the IAM console. Then choose Agencies in the navigation pane.
  2. On the Agencies page, click Create Agency.
  3. Set the agency information.

    • For Agency Name, enter DISDemo.
    • For Agency Type, select Cloud service.
    • For Cloud Service, select FunctionGraph.
    • For Validity Period, select Unlimited.

  4. Click Next. On the Select Policy/Role page, select Tenant Administrator and click Next.

    Figure 3 Creating an agency

    Users with the Tenant Administrator permission can perform any operations on all cloud resources of the enterprise.

  5. Click OK.