All Products
Search
Document Center

E-MapReduce:NodeGroup

Last Updated:Oct 16, 2026

Parameter

Type

Description

Example

object

The node group.

WithPublicIp

boolean

Specifies whether to assign a public IP address.

true

SpotInstanceRemedy

boolean

Specifies whether to enable spot instance replenishment. If this feature is enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed when a system message about the reclamation is received. Valid values:

  • true: Enables spot instance replenishment.

  • false: Disables spot instance replenishment.

Default value: false.

false

DataDisks

array

The data cloud disks.

DataDisk

The data cloud disk.

CompensateWithOnDemand

boolean

Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances when the nodeResizeStrategy parameter is set to COST_OPTIMIZED and sufficient spot instances cannot be created due to price or inventory constraints.

true

NodeGroupState

string

The state of the node group.

RESIZING

SystemDisk SystemDisk

The system cloud disk.

PrivatePoolOptions PrivatePoolOptions

The private pool settings for the node group.

NodeGroupType

string

The type of the node group. Valid values:

  • MASTER: Master node.

  • CORE: Core node.

  • TASK: Task node.

  • GATEWAY: Gateway node. This value is not supported for DATALAKE, OLAP, and DATASERVING.

MASTER

PaymentType

string

The billing method. Valid values:

  • Subscription: Subscription.

  • PayAsYouGo: Pay-as-you-go.

Subscription

InstanceTypes

array

The collection of instance types.

["ecs.g6.4xlarge"]

string

The instance type.

ecs.g7.2xlarge

CostOptimizedConfig CostOptimizedConfig

The configuration of the cost optimization mode.

GracefulShutdown

boolean

Specifies whether to enable graceful shutdown for components deployed on the node group. Valid values:

  • true: Enables graceful shutdown.

  • false: Disables graceful shutdown.

false

SpotStrategy

string

The usage policy for spot instances. Valid values:

  • NoSpot: Does not use spot instances.

  • SpotWithPriceLimit: Uses spot instances with a custom maximum price.

  • SpotAsPriceGo: Uses spot instances with an automatically adjusted maximum price that does not exceed the price of pay-as-you-go instances.

Default value: NoSpot.

NoSpot

StateChangeReason NodeGroupStateChangeReason

The reason for the state change.

Manual restart

Status

string

The state of the node group.

CREATED

ZoneId

string

The zone ID.

cn-hangzhou

NodeGroupName

string

The name of the node group.

core-1

VSwitchIds

array

The collection of vSwitch IDs.

["vsw-hp35g7ya5ymw68mmg****"]

string

The vSwitch ID.

vsw-bp1opd2qejvhsabfe****

SpotBidPrices

array

The bid prices for spot instances. This parameter takes effect only when the SpotStrategy parameter is set to SpotWithPriceLimit. The number of array elements N ranges from 0 to 100.

SpotBidPrice

The bid price for a spot instance.

NodeResizeStrategy

string

The node scale-out strategy. Valid values:

  • COST_OPTIMIZED: Cost optimization strategy.

  • PRIORITY: Priority strategy.

PRIORITY

NodeGroupId

string

The ID of the node group.

ng-869471354ecd****

AdditionalSecurityGroupIds

array

The security group IDs.

["sg-hp3abbae8lb6lmb1****"]

string

The security group ID.

sg-hp3abbae8lb6lmb1****

DeploymentSetStrategy

string

The deployment set strategy. Valid values:

  • NONE: Does not use a deployment set.

  • CLUSTER: Uses a cluster-level deployment set.

  • NODE_GROUP: Uses a node group-level deployment set.

Default value: NONE.

NONE

RunningNodeCount

integer

The number of running nodes.

3