Help Center> Data Lake Governance Center> Preparations> (Optional) Buying DGC Incremental Packages

(Optional) Buying DGC Incremental Packages

DGC provides users with the basic package and the incremental package. The basic package is billed on a yearly or monthly basis. The incremental is billed by usage or yearly/monthly.

This section describes how to buy a DGC incremental package. Before buying a DGC incremental package, ensure that you have bought DGC instances.

  • DIS incremental package

    DIS addresses the challenge of transmitting data from outside the cloud to the inside. It builds data intake streams for custom applications capable of processing or analyzing streaming data.

    If you want to use DGC DIS, you need to buy a DIS incremental package after buying a DGC instance. Otherwise, skip this part. For details on how to buy a DIS incremental package, see the following links:
    1. Buying a Pay-Per-Use DIS Incremental Package
    2. (Optional) Buying a Yearly/Monthly DIS Incremental Package
  • CDM incremental package

    In the case that a DGC instance includes a CDM cluster (except for the trial version), and the cluster meets your requirements, you do not need to buy a CDM incremental package.

    CDM can migrate data in batches between more than 20 homogeneous or heterogeneous data sources. For details on how to buy a CDM incremental package, see the following links:
    1. Buying a Pay-Per-Use CDM Incremental Package
    2. (Optional) Buying a Yearly/Monthly CDM Incremental Package
  • DLM incremental package (exclusive cluster)

    A DGC instance does not include a exclusive DLM cluster. If you want to use DLM to create APIs, you need to create a DLM exclusive cluster. See Creating an Exclusive Cluster for details.

Context

  • When you buy a pay-per-use incremental package, the system automatically creates a CDM cluster or DIS stream based on your selected specifications.
  • A yearly/monthly incremental package does not include a CDM cluster or DIS stream. If you only buy an incremental package, the package does not affect the purchased duration because there is no CDM cluster or DIS stream.
  • If you want to enjoy the preferential price afforded by a yearly/monthly incremental package, you need to buy a pay-per-use incremental package and a yearly/monthly incremental package in the same region and workspace. The two packages must have the same specifications.

Buying a Pay-Per-Use DIS Incremental Package

  1. Select an enabled instance and click Buy.
  2. Access the page for buying a DGC incremental package and set parameters. See Table 1 for parameter details.
    Figure 1 Configuring parameters for a DIS incremental package
    Table 1 Parameters for a DIS incremental package

    Parameter

    Description

    Incremental Package Type

    Select DIS.

    Billing Mode

    Select On-demand.

    Workspace

    Select the workspace where the DIS incremental package will be used. For example, if you want to buy a DIS incremental package for workspace A of instance test, select A. After you bought a DIS incremental package, it will show up in workspace A.

    Stream Name

    The name of the DIS stream to be created. Stream names must be unique. They can be up to 64 characters long. Only letters, numbers, hyphens (-), and underscores (_) are allowed.

    Partitions

    Partitions are the base throughput unit of a DIS stream.
    • For a common DIS stream, the value of Partitions is an integer from 1 to 50. A user can create up 50 partitions.
    • For an advanced DIS stream, the value of Partitions is an integer from 1 to 10. A user can create up to 10 partitions.

    Partition Calculator

    Used to estimate how many partitions are needed based on the information you entered.
    1. Click Partition Calculator.
    2. In the Partition Calculator dialog box, configure the Average Record Size (KB), Max. Records Written, and Consumer Applications parameters. The Estimated Partitions field then displays the recommended number of partitions. The value of this field cannot be modified.
      NOTE:
      Partition calculation formulas:
      • Based on the traffic (the final value must be rounded up):

        Common stream: Average record size x (1 + 20%) x Max. written records/(1 x 1024 KB) (20% is the reserved partition percentage.)

        Advanced stream: Average record size x (1 + 20%) x Max. written records/(5 x 1024 KB) (20% is the reserved partition percentage.)

      • Based on the consumer application quantity (the final value must be rounded up):

        (The number of consumer applications/2) x The number of partitions calculated based on the traffic (The result of the number of consumer applications/2 must reserve two decimals.)

        The larger value calculated based on the previous two formulas is considered as the estimated partition value.

    3. Click Use Estimated Value. The estimated value is automatically used as the value of Partitions.

    Data Retention (days)

    The maximum number of days for which data can be preserved in DIS streams. Data will be deleted when the retention period expires.

    Value range: an integer ranging from 1 to 7

    Source Data Type

    • BLOB: a collection of binary data stored as a single entity in a database management system. If Source Data Type is set to BLOB, the supported Dump Destination can be OBS or MRS.
    • JSON: an open-standard file format that uses easy-to-read text to transmit data objects consisting of attribute values and arrays. If Source Data Type is set to JSON, the supported Dump Destination can be OBS, MRS, DLI, CloudTable, or DWS.
    • CSV: a simple text format for storing tabular data in a plain text file. Commas are used as delimiters. If Source Data Type is set to CSV, the supported Dump Destination can be OBS, MRS, DLI, or DWS.

    Auto Scaling

    You can enable or disable the auto scaling switch when creating a stream.

    Set the switch to or , respectively, to enable or disable auto scaling.

    NOTE:

    You can choose whether to enable auto scaling when creating a stream. You can also modify the auto scaling attributes for a stream that has already been created.

    Down To

    The lower limit for automatic scale-down. The number of target partitions for automatic scale-down cannot drop below this lower limit.

    Up To

    The upper limit for automatic scale-up. The number of target partitions for automatic scale-up cannot exceed this upper limit.

  3. Click Buy Now. If there are no changes made to the specifications, submit the order.
  4. After you bought a DIS stream, it will show up in the corresponding workspace.
    Figure 2 Viewing a stream

Buying a Yearly/Monthly DIS Incremental Package

  1. Select an enabled instance and click Buy.
  2. Access the page for buying a yearly/monthly DGC incremental package and do the following:
    1. Incremental Package Type: Select DIS.
    2. Billing Mode: Select Package.
    3. Resource Package Type: Select Common Stream Partition Hour.
    4. Required Duration: Specify a validity period for the package.
    5. Quantity: The number of subscribed packages. For example, if you specify 1 month for Required Duration and 2 for Quantity, you will have a 1500-hour quota and the validity period is 1 month.
  3. Click Buy Now. If there are no changes made to the specifications, submit the order.

Buying a Pay-Per-Use CDM Incremental Package

  1. Select an enabled instance and click Buy.
  1. Access the page for buying a DGC incremental package and set parameters. See Table 2 for parameter details.
    Figure 3 Configuring parameters for a CDM incremental package
    Table 2 Parameters for a CDM incremental package

    Parameter

    Description

    Incremental Package Type

    Select CDM.

    Billing Mode

    Select On-demand.

    AZ

    The availability zone (AZ). Select an AZ by referring to Region and AZ.

    Workspace

    Select the workspace where the CDM incremental package will be used. For example, if you want to buy a CDM incremental package for workspace A of instance test, select A. After you bought a cluster, it will show up in the A workspace.

    Cluster Name

    The name of your CDM cluster.

    Instance Type

    The following lists the specifications supported by the CDM cluster.

    • cdm.xlarge: 16 vCPUs and 32 GB of memory. The maximum and assured bandwidths are 10 Gbit/s and 4 Gbit/s. Up to 100 jobs can be concurrently executed. This flavor is well suited to migration of terabytes of data and 10GE high-speed bandwidth.
    • cdm.4xlarge: 64 vCPUs and 128 GB of memory. The maximum and assured bandwidths are 36 Gbit/s and 40 Gbit/s, respectively. A maximum of 200 jobs can be concurrently executed.

    VPC

    The VPC that the CDM cluster belongs to. The CDM cluster must be able to communicate with the data source to be connected. VPCs can be selected according to the residing networks of the migration source and destination.

    • If the CDM cluster and the data source to be connected belong to different VPCs or the data source is on-premises, the CDM cluster needs to be bound to an elastic IP address (EIP).
    • If the data source is a cloud service, and the network of the CDM cluster is the same as that of the cloud service, the CDM cluster does not need to be bound to an EIP.
    • If the data source is a cloud service, and the CDM cluster and the cloud service are in the same VPC but different subnets, configure security group rules to interconnect the CDM cluster with the cloud service.

    For more information, see Virtual Private Cloud User Guide.

    Subnet

    Security Group

  2. Click Buy Now. If there are no changes made to the specifications, submit the order.
  3. After you bought a cluster, it will show up in the corresponding workspace.

Buying a Yearly/Monthly CDM Incremental Package

  1. Select an enabled instance and click Buy.
  2. Access the page for buying a yearly/monthly DGC incremental package and do the following:
    1. Incremental Package Type: Select CDM.
    2. Billing Mode: Select Package.
    3. Required Duration: Specify a validity period for the package.
    4. Quantity: The number of subscribed packages. For example, if you specify 1 month for Usage Duration and 2 for Quantity, you will have a 1490-hour quota and the validity period is 1 month.
  3. Click Buy Now. If there are no changes made to the specifications, submit the order.