ClusterProps
Properties for defining a Cluster
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ehpc-cluster
Initializer
import { ClusterProps } from '@alicloud/ros-cdk-ehpc'
const clusterProps: ClusterProps = { ... }
Properties
Name | Type | Description |
---|---|---|
ecsOrderComputeCount |
number | @alicloud/ros-cdk-core.IResolvable |
Property ecsOrderComputeCount: Computing node number, which ranges from: 0-99. |
ecsOrderComputeInstanceType |
string | @alicloud/ros-cdk-core.IResolvable |
Property ecsOrderComputeInstanceType: Cluster computing node instance specifications. |
ecsOrderLoginCount |
number | @alicloud/ros-cdk-core.IResolvable |
Property ecsOrderLoginCount: Login node number can only be 1. |
ecsOrderLoginInstanceType |
string | @alicloud/ros-cdk-core.IResolvable |
Property ecsOrderLoginInstanceType: Log cluster node instance specifications. |
ecsOrderManagerInstanceType |
string | @alicloud/ros-cdk-core.IResolvable |
Property ecsOrderManagerInstanceType: Cluster control node instance specifications. |
name |
string | @alicloud/ros-cdk-core.IResolvable |
Property name: Cluster name. |
osTag |
string | @alicloud/ros-cdk-core.IResolvable |
Property osTag: Operating system image tag. |
vSwitchId |
string | @alicloud/ros-cdk-core.IResolvable |
Property vSwitchId: VPC in switch ID. |
accountType |
string | @alicloud/ros-cdk-core.IResolvable |
Property accountType: The service type of the domain account. |
additionalVolumes |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | AdditionalVolumesProperty[] |
Property additionalVolumes:. |
application |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ApplicationProperty[] |
Property application: Application software tag (SoftwareTag) list, You can call ListSoftwares API to query. |
autoRenew |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property autoRenew: true: automatic renewals; |
autoRenewPeriod |
number | @alicloud/ros-cdk-core.IResolvable |
Property autoRenewPeriod: Duration of each automatic renewals, AutoRenew take effect when AutoRenew is True. |
clientVersion |
string | @alicloud/ros-cdk-core.IResolvable |
Property clientVersion: The version of the E-HPC client. |
computeEnableHt |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property computeEnableHt: Specifies whether the compute nodes support hyper-threading. |
computeSpotPriceLimit |
string | @alicloud/ros-cdk-core.IResolvable |
Property computeSpotPriceLimit: Set an example of the highest price per hour, are floating-point values, in the range of the current price range. |
computeSpotStrategy |
string | @alicloud/ros-cdk-core.IResolvable |
Property computeSpotStrategy: Compute nodes bidding strategy, value NoSpot, SpotWithPriceLimit or SpotAsPriceGo. |
deployMode |
string | @alicloud/ros-cdk-core.IResolvable |
Property deployMode: The mode in which the cluster is deployed. |
description |
string | @alicloud/ros-cdk-core.IResolvable |
Property description: Cluster description, 2 to 128 characters. |
ecsChargeType |
string | @alicloud/ros-cdk-core.IResolvable |
Property ecsChargeType: ECS instance payment type, PostPaid: Pay-As-You-Go.PrePaid: Subscription.If you choose PrePaid, automatic renewal will be enabled by default, and closed when node is released. |
ecsOrderManagerCount |
number | @alicloud/ros-cdk-core.IResolvable |
Property ecsOrderManagerCount: Control node number can be 1, 2. |
ehpcVersion |
string | @alicloud/ros-cdk-core.IResolvable |
Property ehpcVersion: The version of E-HPC. |
haEnable |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property haEnable: Specifies whether to enable the high availability feature. |
imageId |
string | @alicloud/ros-cdk-core.IResolvable |
Property imageId: Mirror Id, if ImageType a system, based on the image ID is determined only according OsTag; |
imageOwnerAlias |
string | @alicloud/ros-cdk-core.IResolvable |
Property imageOwnerAlias: Mirror type: system, self, others or marketplace. |
inputFileUrl |
string | @alicloud/ros-cdk-core.IResolvable |
Property inputFileUrl: The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket. |
isComputeEss |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property isComputeEss: Specifies whether to enable auto scaling. |
jobQueue |
string | @alicloud/ros-cdk-core.IResolvable |
Property jobQueue: The queue to which the compute nodes are added. |
keyPairName |
string | @alicloud/ros-cdk-core.IResolvable |
Property keyPairName: Key pair name. |
networkInterfaceTrafficMode |
string | @alicloud/ros-cdk-core.IResolvable |
Property networkInterfaceTrafficMode: Communication mode of an elastic NIC. |
password |
string | @alicloud/ros-cdk-core.IResolvable |
Property password: Root password of jump server (login node). |
period |
number | @alicloud/ros-cdk-core.IResolvable |
Property period: The purchase of long resources, units: week \/ month \/ year. |
periodUnit |
string | @alicloud/ros-cdk-core.IResolvable |
Property periodUnit: The purchase of long-resources unit. |
postInstallScript |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | PostInstallScriptProperty[] |
Property postInstallScript:. |
ramNodeTypes |
@alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] |
Property ramNodeTypes: When authorizing instance configuration, the node type to which the RAM role is bound. |
ramRoleName |
string | @alicloud/ros-cdk-core.IResolvable |
Property ramRoleName: The name of the Resource Access Management (RAM) role. |
remoteDirectory |
string | @alicloud/ros-cdk-core.IResolvable |
Property remoteDirectory: Mount shared storage remote directory. |
remoteVisEnable |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property remoteVisEnable: Specifies whether to enable Virtual Network Computing (VNC). |
resourceGroupId |
string | @alicloud/ros-cdk-core.IResolvable |
Property resourceGroupId: The ID of the resource group. |
sccClusterId |
string | @alicloud/ros-cdk-core.IResolvable |
Property sccClusterId: When SCC models, if you pass this field, then the specified SccCluster create Scc instance, otherwise it will create an instance for the user. |
schedulerType |
string | @alicloud/ros-cdk-core.IResolvable |
Property schedulerType: The type of the scheduler. |
securityGroupId |
string | @alicloud/ros-cdk-core.IResolvable |
Property securityGroupId: Security group ID. |
securityGroupName |
string | @alicloud/ros-cdk-core.IResolvable |
Property securityGroupName: If you do not use an existing security group (SecurityGroupId is empty), then use this name to create a new security group, the default policy. |
systemDiskLevel |
string | @alicloud/ros-cdk-core.IResolvable |
Property systemDiskLevel: The performance level of the ESSD that is created as the system disk. |
systemDiskSize |
number | @alicloud/ros-cdk-core.IResolvable |
Property systemDiskSize: The size of the system disk. |
systemDiskType |
string | @alicloud/ros-cdk-core.IResolvable |
Property systemDiskType: The type of the system disk. |
volumeId |
string | @alicloud/ros-cdk-core.IResolvable |
Property volumeId: The ID of the file system. |
volumeMountpoint |
string | @alicloud/ros-cdk-core.IResolvable |
Property volumeMountpoint: The mount target of the file system. |
volumeProtocol |
string | @alicloud/ros-cdk-core.IResolvable |
Property volumeProtocol: The type of the protocol that is used by the file system. |
volumeType |
string | @alicloud/ros-cdk-core.IResolvable |
Property volumeType: The type of the shared storage. |
vpcId |
string | @alicloud/ros-cdk-core.IResolvable |
Property vpcId: The ID of the virtual private cloud (VPC) to which the E-HPC cluster belongs. |
withoutElasticIp |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property withoutElasticIp: Specifies whether the logon node uses an elastic IP address (EIP). |
zoneId |
string | @alicloud/ros-cdk-core.IResolvable |
Property zoneId: Available area ID. |
ecsOrderComputeCount
Required
public readonly ecsOrderComputeCount: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property ecsOrderComputeCount: Computing node number, which ranges from: 0-99.
ecsOrderComputeInstanceType
Required
public readonly ecsOrderComputeInstanceType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property ecsOrderComputeInstanceType: Cluster computing node instance specifications.
ecsOrderLoginCount
Required
public readonly ecsOrderLoginCount: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property ecsOrderLoginCount: Login node number can only be 1.
ecsOrderLoginInstanceType
Required
public readonly ecsOrderLoginInstanceType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property ecsOrderLoginInstanceType: Log cluster node instance specifications.
ecsOrderManagerInstanceType
Required
public readonly ecsOrderManagerInstanceType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property ecsOrderManagerInstanceType: Cluster control node instance specifications.
name
Required
public readonly name: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property name: Cluster name.
2-64 characters in length, allowing only include Chinese, letters, numbers, dashes (-) and underscore (_), must begin with a letter or Chinese.
osTag
Required
public readonly osTag: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property osTag: Operating system image tag.
You can call ListImages API to query.
vSwitchId
Required
public readonly vSwitchId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vSwitchId: VPC in switch ID.
Products currently only supports VPC network.
accountType
Optional
public readonly accountType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property accountType: The service type of the domain account.
Valid values: nis ldap Default value: nis
additionalVolumes
Optional
public readonly additionalVolumes: IResolvable | IResolvable | AdditionalVolumesProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | AdditionalVolumesProperty[]
Property additionalVolumes:.
application
Optional
public readonly application: IResolvable | IResolvable | ApplicationProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ApplicationProperty[]
Property application: Application software tag (SoftwareTag) list, You can call ListSoftwares API to query.
autoRenew
Optional
public readonly autoRenew: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property autoRenew: true: automatic renewals;
false: no automatic renewals.
autoRenewPeriod
Optional
public readonly autoRenewPeriod: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property autoRenewPeriod: Duration of each automatic renewals, AutoRenew take effect when AutoRenew is True.
clientVersion
Optional
public readonly clientVersion: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property clientVersion: The version of the E-HPC client.
By default, the parameter is set to the latest version number. You can call the ListCurrentClientVersion operation to query the current version of the E-HPC client.
computeEnableHt
Optional
public readonly computeEnableHt: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property computeEnableHt: Specifies whether the compute nodes support hyper-threading.
Valid values: true: Hyper-threading is supported. false: Hyper-threading is not supported. Default value: true
computeSpotPriceLimit
Optional
public readonly computeSpotPriceLimit: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property computeSpotPriceLimit: Set an example of the highest price per hour, are floating-point values, in the range of the current price range.
computeSpotStrategy
Optional
public readonly computeSpotStrategy: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property computeSpotStrategy: Compute nodes bidding strategy, value NoSpot, SpotWithPriceLimit or SpotAsPriceGo.
deployMode
Optional
public readonly deployMode: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property deployMode: The mode in which the cluster is deployed.
Valid values: Standard: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed. Simple: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed. Tiny: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed. Default value: Standard
description
Optional
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property description: Cluster description, 2 to 128 characters.
ecsChargeType
Optional
public readonly ecsChargeType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property ecsChargeType: ECS instance payment type, PostPaid: Pay-As-You-Go.PrePaid: Subscription.If you choose PrePaid, automatic renewal will be enabled by default, and closed when node is released.
ecsOrderManagerCount
Optional
public readonly ecsOrderManagerCount: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property ecsOrderManagerCount: Control node number can be 1, 2.
ehpcVersion
Optional
public readonly ehpcVersion: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property ehpcVersion: The version of E-HPC.
By default, the parameter is set to the latest version number.
haEnable
Optional
public readonly haEnable: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property haEnable: Specifies whether to enable the high availability feature.
Valid values: true: enables the high availability feature false: disables the high availability feature Default value: false Note If high availability is enabled, primary management nodes and secondary management nodes are used.
imageId
Optional
public readonly imageId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property imageId: Mirror Id, if ImageType a system, based on the image ID is determined only according OsTag;
if self, others, or marketplace, ImageId is mandatory.
imageOwnerAlias
Optional
public readonly imageOwnerAlias: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property imageOwnerAlias: Mirror type: system, self, others or marketplace.
inputFileUrl
Optional
public readonly inputFileUrl: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property inputFileUrl: The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.
isComputeEss
Optional
public readonly isComputeEss: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property isComputeEss: Specifies whether to enable auto scaling.
Valid values: true: enables auto scaling false: disables auto scaling Default value: false
jobQueue
Optional
public readonly jobQueue: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property jobQueue: The queue to which the compute nodes are added.
keyPairName
Optional
public readonly keyPairName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property keyPairName: Key pair name.
networkInterfaceTrafficMode
Optional
public readonly networkInterfaceTrafficMode: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property networkInterfaceTrafficMode: Communication mode of an elastic NIC.
Value values: - Standard: The TCP communication mode is used. - HighPerformance: Enables the Elastic RDMA Interface (ERI) and uses the RDMA communication mode.
password
Optional
public readonly password: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property password: Root password of jump server (login node).
8 to 30 characters, must contain three (upper and lower case letters, numbers and special symbols). ! Supports the following special characters :() `~ @ # $% ^ & * - + = | {} []:; '<>, \/ Be sure to use the HTTPS protocol API call to avoid password leaks that may occur.?.
period
Optional
public readonly period: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property period: The purchase of long resources, units: week \/ month \/ year.
When the value of the parameter EcsChargeType when PrePaid take effect and for the selected value will be.
periodUnit
Optional
public readonly periodUnit: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property periodUnit: The purchase of long-resources unit.
Alternatively value Week \/ Month \/ year.
postInstallScript
Optional
public readonly postInstallScript: IResolvable | IResolvable | PostInstallScriptProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | PostInstallScriptProperty[]
Property postInstallScript:.
ramNodeTypes
Optional
public readonly ramNodeTypes: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property ramNodeTypes: When authorizing instance configuration, the node type to which the RAM role is bound.
When the value of DeployMode is Standard, the value range: scheduler, account, login, compute. When the value of DeployMode is Simple, the value range: manager, login, compute. When the value of DeployMode is Tiny, the value range: manager, compute.
ramRoleName
Optional
public readonly ramRoleName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property ramRoleName: The name of the Resource Access Management (RAM) role.
You can call the ListRoles operation provided by RAM to query the created RAM roles.
remoteDirectory
Optional
public readonly remoteDirectory: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property remoteDirectory: Mount shared storage remote directory.
The final path to the mount point and mount the remote directory composition: NasMountpoint: \/ RemoteDirectory
remoteVisEnable
Optional
public readonly remoteVisEnable: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property remoteVisEnable: Specifies whether to enable Virtual Network Computing (VNC).
Valid values: true: enables VNC false: disables VNC Default value: false
resourceGroupId
Optional
public readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceGroupId: The ID of the resource group.
You can call the ListResourceGroups operation to obtain the ID of the resource group.
sccClusterId
Optional
public readonly sccClusterId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property sccClusterId: When SCC models, if you pass this field, then the specified SccCluster create Scc instance, otherwise it will create an instance for the user.
schedulerType
Optional
public readonly schedulerType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property schedulerType: The type of the scheduler.
Valid values: pbs slurm opengridscheduler deadline Default value: pbs
securityGroupId
Optional
public readonly securityGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property securityGroupId: Security group ID.
securityGroupName
Optional
public readonly securityGroupName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property securityGroupName: If you do not use an existing security group (SecurityGroupId is empty), then use this name to create a new security group, the default policy.
Format Requirements Reference ECS security group name.
systemDiskLevel
Optional
public readonly systemDiskLevel: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property systemDiskLevel: The performance level of the ESSD that is created as the system disk.
Valid values: PL0: A single ESSD can deliver up to 10,000 input\/output operations per second (IOPS) of random read\/write. PL1: A single ESSD can deliver up to 50,000 IOPS of random read\/write. PL2: A single ESSD can deliver up to 100,000 IOPS of random read\/write. PL3: A single ESSD can deliver up to 1,000,000 IOPS of random read\/write. Default value: PL1
systemDiskSize
Optional
public readonly systemDiskSize: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property systemDiskSize: The size of the system disk.
Unit: GB Valid values: 40 to 500 Default value: 40
systemDiskType
Optional
public readonly systemDiskType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property systemDiskType: The type of the system disk.
Valid values: cloud_efficiency: ultra disk. cloud_ssd: SSD. cloud_essd: ESSD. Default value: cloud_ssd
volumeId
Optional
public readonly volumeId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property volumeId: The ID of the file system.
If you leave the parameter empty, a Performance NAS file system is created by default.
volumeMountpoint
Optional
public readonly volumeMountpoint: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property volumeMountpoint: The mount target of the file system.
Take note of the following information: If you do not specify the VolumeId parameter, you can leave the VolumeMountpoint parameter empty. A mount target is created by default. If you specify the VolumeId parameter, the VolumeMountpoint parameter is required.
volumeProtocol
Optional
public readonly volumeProtocol: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property volumeProtocol: The type of the protocol that is used by the file system.
Valid values: nfs smb Default value: nfs
volumeType
Optional
public readonly volumeType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property volumeType: The type of the shared storage.
Only Apsara File Storage nas file systems are supported.
vpcId
Optional
public readonly vpcId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vpcId: The ID of the virtual private cloud (VPC) to which the E-HPC cluster belongs.
withoutElasticIp
Optional
public readonly withoutElasticIp: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property withoutElasticIp: Specifies whether the logon node uses an elastic IP address (EIP).
Default value: false
zoneId
Optional
public readonly zoneId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property zoneId: Available area ID.