Serverless resource groups

更新时间:
复制 MD 格式

A DataWorks serverless resource group provides unified compute capacity for data integration, scheduling, and DataService Studio. Since June 10, 2024, serverless resource groups are the only type available to new users, replacing the legacy per-feature model.

Important

Legacy resource groups are being phased out. They are no longer available to new users.

  • New users: Start with serverless resource groups directly.

  • Existing users: Upgrade your legacy resource groups to serverless for on-demand scaling, unified billing, and VPC-based networking.

Serverless resource groups

One serverless resource group covers scheduling, data integration, and DataService Studio — no separate purchases required.

Capabilities

  • Unified computing: Handles data integration, task scheduling, and DataService Studio in one resource group.

  • On-demand scaling: Add or remove Compute Units (CUs) without affecting running tasks. Minimum 2 CUs; scale in 1-CU increments.

  • Flexible billing: Pay-as-you-go for variable workloads, subscription for steady-state usage.

  • VPC-based networking: Bound to your VPC for full network control and security isolation.

  • Custom runtime environments: Custom image allow you to define custom runtime environments.

Billing

Serverless resource groups are billed by CU. Each CU provides approximately 1 vCPU and 4 GiB memory.

Example: serverless vs. legacy cost comparison

Scenario: 20 daily MySQL-to-MaxCompute sync jobs, each running for 1 hour and consuming 1 CU.

Approach

Calculation

Daily cost

Serverless (pay-as-you-go)

20 tasks x 1 CU x 1 hour x CNY 0.5/CU-hour

CNY 10

Legacy exclusive (subscription)

Minimum spec: 4 vCPUs, 8 GB memory (runs 24/7)

CNY 16.42

With pay-as-you-go, you pay nothing for the 23 idle hours — saving approximately 40% compared to legacy exclusive resource groups.

Serverless vs. legacy resource groups

Legacy resource groups have exclusive and public variants, each tied to a single feature.

Feature

Serverless resource group

Legacy resource groups

Scope

Works with all DataWorks features

Requires separate purchases per feature

Billing

Pay-as-you-go and subscription

Exclusive: subscription only. Public: pay-as-you-go only

Scaling

Scale CUs without affecting running tasks

Scaling (upgrading/downgrading specs or adding/removing nodes) disrupts running tasks

Minimum purchase

2 CUs; scale in 1-CU increments

One node with 4 vCPUs and 8 GB memory; scale in full-node increments

Network security

Bound to your VPC with full network control

DataWorks-managed public endpoints shared across tenants

Development status

Actively developed as the standard resource type

Being phased out; no new features planned

Compliance

You are responsible for all code running on your resource groups. Ensure compliance with applicable laws and regulations.

Next steps