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, as shown in Figure 1.

    For Subnet Settings, use the default settings, as shown in Figure 2.

    Figure 1 Basic information
    Figure 2 Subnet settings

  3. Confirm the configuration information and click Submit.

Creating a Cluster

  1. Log in 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 3 Buying a cluster

  3. Confirm the configuration information and click Next.

    Figure 4 Creating a cluster

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

Creating an Agency

  1. Log in to the IAM console, and 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.
    • Click Assign Permissions. On the Assign Permissions page, select Tenant Administrator, as shown in Figure 5.
      Figure 5 Creating an agency

  4. Click OK.