Alibaba Cloud

v3.28.0 published on Tuesday, Aug 16, 2022 by Pulumi

Cluster

Provides a Ehpc Cluster resource.

For information about Ehpc Cluster and how to use it, see What is Cluster.

NOTE: Available in v1.173.0+.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var defaultZones = Output.Create(AliCloud.GetZones.InvokeAsync(new AliCloud.GetZonesArgs
        {
            AvailableResourceCreation = "VSwitch",
        }));
        var defaultNetworks = Output.Create(AliCloud.Vpc.GetNetworks.InvokeAsync(new AliCloud.Vpc.GetNetworksArgs
        {
            NameRegex = "default-NODELETING",
        }));
        var defaultSwitches = Output.Tuple(defaultNetworks, defaultZones).Apply(values =>
        {
            var defaultNetworks = values.Item1;
            var defaultZones = values.Item2;
            return Output.Create(AliCloud.Vpc.GetSwitches.InvokeAsync(new AliCloud.Vpc.GetSwitchesArgs
            {
                VpcId = defaultNetworks.Ids?[0],
                ZoneId = defaultZones.Zones?[0]?.Id,
            }));
        });
        var defaultInstanceTypes = defaultZones.Apply(defaultZones => Output.Create(AliCloud.Ecs.GetInstanceTypes.InvokeAsync(new AliCloud.Ecs.GetInstanceTypesArgs
        {
            AvailabilityZone = defaultZones.Zones?[0]?.Id,
        })));
        var config = new Config();
        var storageType = config.Get("storageType") ?? "Performance";
        var defaultFileSystem = new AliCloud.Nas.FileSystem("defaultFileSystem", new AliCloud.Nas.FileSystemArgs
        {
            StorageType = storageType,
            ProtocolType = "NFS",
        });
        var defaultMountTarget = new AliCloud.Nas.MountTarget("defaultMountTarget", new AliCloud.Nas.MountTargetArgs
        {
            FileSystemId = defaultFileSystem.Id,
            AccessGroupName = "DEFAULT_VPC_GROUP_NAME",
            VswitchId = defaultSwitches.Apply(defaultSwitches => defaultSwitches.Ids?[0]),
        });
        var defaultImages = Output.Create(AliCloud.Ecs.GetImages.InvokeAsync(new AliCloud.Ecs.GetImagesArgs
        {
            NameRegex = "^centos_7_6_x64*",
            Owners = "system",
        }));
        var defaultCluster = new AliCloud.Ehpc.Cluster("defaultCluster", new AliCloud.Ehpc.ClusterArgs
        {
            ClusterName = "example_value",
            DeployMode = "Simple",
            Description = "example_description",
            HaEnable = false,
            ImageId = defaultImages.Apply(defaultImages => defaultImages.Images?[0]?.Id),
            ImageOwnerAlias = "system",
            VolumeProtocol = "nfs",
            VolumeId = defaultFileSystem.Id,
            VolumeMountpoint = defaultMountTarget.MountTargetDomain,
            ComputeCount = 1,
            ComputeInstanceType = defaultInstanceTypes.Apply(defaultInstanceTypes => defaultInstanceTypes.InstanceTypes?[0]?.Id),
            LoginCount = 1,
            LoginInstanceType = defaultInstanceTypes.Apply(defaultInstanceTypes => defaultInstanceTypes.InstanceTypes?[0]?.Id),
            ManagerCount = 1,
            ManagerInstanceType = defaultInstanceTypes.Apply(defaultInstanceTypes => defaultInstanceTypes.InstanceTypes?[0]?.Id),
            OsTag = "CentOS_7.6_64",
            SchedulerType = "pbs",
            Password = "your-password123",
            VswitchId = defaultSwitches.Apply(defaultSwitches => defaultSwitches.Ids?[0]),
            VpcId = defaultNetworks.Apply(defaultNetworks => defaultNetworks.Ids?[0]),
            ZoneId = defaultZones.Apply(defaultZones => defaultZones.Zones?[0]?.Id),
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ehpc"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/nas"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultZones, err := alicloud.GetZones(ctx, &GetZonesArgs{
			AvailableResourceCreation: pulumi.StringRef("VSwitch"),
		}, nil)
		if err != nil {
			return err
		}
		defaultNetworks, err := vpc.GetNetworks(ctx, &vpc.GetNetworksArgs{
			NameRegex: pulumi.StringRef("default-NODELETING"),
		}, nil)
		if err != nil {
			return err
		}
		defaultSwitches, err := vpc.GetSwitches(ctx, &vpc.GetSwitchesArgs{
			VpcId:  pulumi.StringRef(defaultNetworks.Ids[0]),
			ZoneId: pulumi.StringRef(defaultZones.Zones[0].Id),
		}, nil)
		if err != nil {
			return err
		}
		defaultInstanceTypes, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{
			AvailabilityZone: pulumi.StringRef(defaultZones.Zones[0].Id),
		}, nil)
		if err != nil {
			return err
		}
		cfg := config.New(ctx, "")
		storageType := "Performance"
		if param := cfg.Get("storageType"); param != "" {
			storageType = param
		}
		defaultFileSystem, err := nas.NewFileSystem(ctx, "defaultFileSystem", &nas.FileSystemArgs{
			StorageType:  pulumi.String(storageType),
			ProtocolType: pulumi.String("NFS"),
		})
		if err != nil {
			return err
		}
		defaultMountTarget, err := nas.NewMountTarget(ctx, "defaultMountTarget", &nas.MountTargetArgs{
			FileSystemId:    defaultFileSystem.ID(),
			AccessGroupName: pulumi.String("DEFAULT_VPC_GROUP_NAME"),
			VswitchId:       pulumi.String(defaultSwitches.Ids[0]),
		})
		if err != nil {
			return err
		}
		defaultImages, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{
			NameRegex: pulumi.StringRef("^centos_7_6_x64*"),
			Owners:    pulumi.StringRef("system"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = ehpc.NewCluster(ctx, "defaultCluster", &ehpc.ClusterArgs{
			ClusterName:         pulumi.String("example_value"),
			DeployMode:          pulumi.String("Simple"),
			Description:         pulumi.String("example_description"),
			HaEnable:            pulumi.Bool(false),
			ImageId:             pulumi.String(defaultImages.Images[0].Id),
			ImageOwnerAlias:     pulumi.String("system"),
			VolumeProtocol:      pulumi.String("nfs"),
			VolumeId:            defaultFileSystem.ID(),
			VolumeMountpoint:    defaultMountTarget.MountTargetDomain,
			ComputeCount:        pulumi.Int(1),
			ComputeInstanceType: pulumi.String(defaultInstanceTypes.InstanceTypes[0].Id),
			LoginCount:          pulumi.Int(1),
			LoginInstanceType:   pulumi.String(defaultInstanceTypes.InstanceTypes[0].Id),
			ManagerCount:        pulumi.Int(1),
			ManagerInstanceType: pulumi.String(defaultInstanceTypes.InstanceTypes[0].Id),
			OsTag:               pulumi.String("CentOS_7.6_64"),
			SchedulerType:       pulumi.String("pbs"),
			Password:            pulumi.String("your-password123"),
			VswitchId:           pulumi.String(defaultSwitches.Ids[0]),
			VpcId:               pulumi.String(defaultNetworks.Ids[0]),
			ZoneId:              pulumi.String(defaultZones.Zones[0].Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.AlicloudFunctions;
import com.pulumi.alicloud.adb.inputs.GetZonesArgs;
import com.pulumi.alicloud.vpc.VpcFunctions;
import com.pulumi.alicloud.cloudconnect.inputs.GetNetworksArgs;
import com.pulumi.alicloud.vpc.inputs.GetSwitchesArgs;
import com.pulumi.alicloud.ecs.EcsFunctions;
import com.pulumi.alicloud.ecp.inputs.GetInstanceTypesArgs;
import com.pulumi.alicloud.nas.FileSystem;
import com.pulumi.alicloud.nas.FileSystemArgs;
import com.pulumi.alicloud.nas.MountTarget;
import com.pulumi.alicloud.nas.MountTargetArgs;
import com.pulumi.alicloud.ecs.inputs.GetImagesArgs;
import com.pulumi.alicloud.ehpc.Cluster;
import com.pulumi.alicloud.ehpc.ClusterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var config = ctx.config();
        final var defaultZones = AlicloudFunctions.getZones(GetZonesArgs.builder()
            .availableResourceCreation("VSwitch")
            .build());

        final var defaultNetworks = VpcFunctions.getNetworks(GetNetworksArgs.builder()
            .nameRegex("default-NODELETING")
            .build());

        final var defaultSwitches = VpcFunctions.getSwitches(GetSwitchesArgs.builder()
            .vpcId(defaultNetworks.applyValue(getNetworksResult -> getNetworksResult.ids()[0]))
            .zoneId(defaultZones.applyValue(getZonesResult -> getZonesResult.zones()[0].id()))
            .build());

        final var defaultInstanceTypes = EcsFunctions.getInstanceTypes(GetInstanceTypesArgs.builder()
            .availabilityZone(defaultZones.applyValue(getZonesResult -> getZonesResult.zones()[0].id()))
            .build());

        final var storageType = config.get("storageType").orElse("Performance");
        var defaultFileSystem = new FileSystem("defaultFileSystem", FileSystemArgs.builder()        
            .storageType(storageType)
            .protocolType("NFS")
            .build());

        var defaultMountTarget = new MountTarget("defaultMountTarget", MountTargetArgs.builder()        
            .fileSystemId(defaultFileSystem.id())
            .accessGroupName("DEFAULT_VPC_GROUP_NAME")
            .vswitchId(defaultSwitches.applyValue(getSwitchesResult -> getSwitchesResult.ids()[0]))
            .build());

        final var defaultImages = EcsFunctions.getImages(GetImagesArgs.builder()
            .nameRegex("^centos_7_6_x64*")
            .owners("system")
            .build());

        var defaultCluster = new Cluster("defaultCluster", ClusterArgs.builder()        
            .clusterName("example_value")
            .deployMode("Simple")
            .description("example_description")
            .haEnable(false)
            .imageId(defaultImages.applyValue(getImagesResult -> getImagesResult.images()[0].id()))
            .imageOwnerAlias("system")
            .volumeProtocol("nfs")
            .volumeId(defaultFileSystem.id())
            .volumeMountpoint(defaultMountTarget.mountTargetDomain())
            .computeCount(1)
            .computeInstanceType(defaultInstanceTypes.applyValue(getInstanceTypesResult -> getInstanceTypesResult.instanceTypes()[0].id()))
            .loginCount(1)
            .loginInstanceType(defaultInstanceTypes.applyValue(getInstanceTypesResult -> getInstanceTypesResult.instanceTypes()[0].id()))
            .managerCount(1)
            .managerInstanceType(defaultInstanceTypes.applyValue(getInstanceTypesResult -> getInstanceTypesResult.instanceTypes()[0].id()))
            .osTag("CentOS_7.6_64")
            .schedulerType("pbs")
            .password("your-password123")
            .vswitchId(defaultSwitches.applyValue(getSwitchesResult -> getSwitchesResult.ids()[0]))
            .vpcId(defaultNetworks.applyValue(getNetworksResult -> getNetworksResult.ids()[0]))
            .zoneId(defaultZones.applyValue(getZonesResult -> getZonesResult.zones()[0].id()))
            .build());

    }
}
import pulumi
import pulumi_alicloud as alicloud

default_zones = alicloud.get_zones(available_resource_creation="VSwitch")
default_networks = alicloud.vpc.get_networks(name_regex="default-NODELETING")
default_switches = alicloud.vpc.get_switches(vpc_id=default_networks.ids[0],
    zone_id=default_zones.zones[0].id)
default_instance_types = alicloud.ecs.get_instance_types(availability_zone=default_zones.zones[0].id)
config = pulumi.Config()
storage_type = config.get("storageType")
if storage_type is None:
    storage_type = "Performance"
default_file_system = alicloud.nas.FileSystem("defaultFileSystem",
    storage_type=storage_type,
    protocol_type="NFS")
default_mount_target = alicloud.nas.MountTarget("defaultMountTarget",
    file_system_id=default_file_system.id,
    access_group_name="DEFAULT_VPC_GROUP_NAME",
    vswitch_id=default_switches.ids[0])
default_images = alicloud.ecs.get_images(name_regex="^centos_7_6_x64*",
    owners="system")
default_cluster = alicloud.ehpc.Cluster("defaultCluster",
    cluster_name="example_value",
    deploy_mode="Simple",
    description="example_description",
    ha_enable=False,
    image_id=default_images.images[0].id,
    image_owner_alias="system",
    volume_protocol="nfs",
    volume_id=default_file_system.id,
    volume_mountpoint=default_mount_target.mount_target_domain,
    compute_count=1,
    compute_instance_type=default_instance_types.instance_types[0].id,
    login_count=1,
    login_instance_type=default_instance_types.instance_types[0].id,
    manager_count=1,
    manager_instance_type=default_instance_types.instance_types[0].id,
    os_tag="CentOS_7.6_64",
    scheduler_type="pbs",
    password="your-password123",
    vswitch_id=default_switches.ids[0],
    vpc_id=default_networks.ids[0],
    zone_id=default_zones.zones[0].id)
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const defaultZones = alicloud.getZones({
    availableResourceCreation: "VSwitch",
});
const defaultNetworks = alicloud.vpc.getNetworks({
    nameRegex: "default-NODELETING",
});
const defaultSwitches = Promise.all([defaultNetworks, defaultZones]).then(([defaultNetworks, defaultZones]) => alicloud.vpc.getSwitches({
    vpcId: defaultNetworks.ids?[0],
    zoneId: defaultZones.zones?[0]?.id,
}));
const defaultInstanceTypes = defaultZones.then(defaultZones => alicloud.ecs.getInstanceTypes({
    availabilityZone: defaultZones.zones?[0]?.id,
}));
const config = new pulumi.Config();
const storageType = config.get("storageType") || "Performance";
const defaultFileSystem = new alicloud.nas.FileSystem("defaultFileSystem", {
    storageType: storageType,
    protocolType: "NFS",
});
const defaultMountTarget = new alicloud.nas.MountTarget("defaultMountTarget", {
    fileSystemId: defaultFileSystem.id,
    accessGroupName: "DEFAULT_VPC_GROUP_NAME",
    vswitchId: defaultSwitches.then(defaultSwitches => defaultSwitches.ids?[0]),
});
const defaultImages = alicloud.ecs.getImages({
    nameRegex: "^centos_7_6_x64*",
    owners: "system",
});
const defaultCluster = new alicloud.ehpc.Cluster("defaultCluster", {
    clusterName: "example_value",
    deployMode: "Simple",
    description: "example_description",
    haEnable: false,
    imageId: defaultImages.then(defaultImages => defaultImages.images?[0]?.id),
    imageOwnerAlias: "system",
    volumeProtocol: "nfs",
    volumeId: defaultFileSystem.id,
    volumeMountpoint: defaultMountTarget.mountTargetDomain,
    computeCount: 1,
    computeInstanceType: defaultInstanceTypes.then(defaultInstanceTypes => defaultInstanceTypes.instanceTypes?[0]?.id),
    loginCount: 1,
    loginInstanceType: defaultInstanceTypes.then(defaultInstanceTypes => defaultInstanceTypes.instanceTypes?[0]?.id),
    managerCount: 1,
    managerInstanceType: defaultInstanceTypes.then(defaultInstanceTypes => defaultInstanceTypes.instanceTypes?[0]?.id),
    osTag: "CentOS_7.6_64",
    schedulerType: "pbs",
    password: "your-password123",
    vswitchId: defaultSwitches.then(defaultSwitches => defaultSwitches.ids?[0]),
    vpcId: defaultNetworks.then(defaultNetworks => defaultNetworks.ids?[0]),
    zoneId: defaultZones.then(defaultZones => defaultZones.zones?[0]?.id),
});
configuration:
  storageType:
    type: string
    default: Performance
resources:
  defaultFileSystem:
    type: alicloud:nas:FileSystem
    properties:
      storageType: ${storageType}
      protocolType: NFS
  defaultMountTarget:
    type: alicloud:nas:MountTarget
    properties:
      fileSystemId: ${defaultFileSystem.id}
      accessGroupName: DEFAULT_VPC_GROUP_NAME
      vswitchId: ${defaultSwitches.ids[0]}
  defaultCluster:
    type: alicloud:ehpc:Cluster
    properties:
      clusterName: example_value
      deployMode: Simple
      description: example_description
      haEnable: false
      imageId: ${defaultImages.images[0].id}
      imageOwnerAlias: system
      volumeProtocol: nfs
      volumeId: ${defaultFileSystem.id}
      volumeMountpoint: ${defaultMountTarget.mountTargetDomain}
      computeCount: 1
      computeInstanceType: ${defaultInstanceTypes.instanceTypes[0].id}
      loginCount: 1
      loginInstanceType: ${defaultInstanceTypes.instanceTypes[0].id}
      managerCount: 1
      managerInstanceType: ${defaultInstanceTypes.instanceTypes[0].id}
      osTag: CentOS_7.6_64
      schedulerType: pbs
      password: your-password123
      vswitchId: ${defaultSwitches.ids[0]}
      vpcId: ${defaultNetworks.ids[0]}
      zoneId: ${defaultZones.zones[0].id}
variables:
  defaultZones:
    Fn::Invoke:
      Function: alicloud:getZones
      Arguments:
        availableResourceCreation: VSwitch
  defaultNetworks:
    Fn::Invoke:
      Function: alicloud:vpc:getNetworks
      Arguments:
        nameRegex: default-NODELETING
  defaultSwitches:
    Fn::Invoke:
      Function: alicloud:vpc:getSwitches
      Arguments:
        vpcId: ${defaultNetworks.ids[0]}
        zoneId: ${defaultZones.zones[0].id}
  defaultInstanceTypes:
    Fn::Invoke:
      Function: alicloud:ecs:getInstanceTypes
      Arguments:
        availabilityZone: ${defaultZones.zones[0].id}
  defaultImages:
    Fn::Invoke:
      Function: alicloud:ecs:getImages
      Arguments:
        nameRegex: ^centos_7_6_x64*
        owners: system

Create a Cluster Resource

new Cluster(name: string, args: ClusterArgs, opts?: CustomResourceOptions);
@overload
def Cluster(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            account_type: Optional[str] = None,
            additional_volumes: Optional[Sequence[ClusterAdditionalVolumeArgs]] = None,
            applications: Optional[Sequence[ClusterApplicationArgs]] = None,
            auto_renew: Optional[bool] = None,
            auto_renew_period: Optional[int] = None,
            client_version: Optional[str] = None,
            cluster_name: Optional[str] = None,
            cluster_version: Optional[str] = None,
            compute_count: Optional[int] = None,
            compute_enable_ht: Optional[bool] = None,
            compute_instance_type: Optional[str] = None,
            compute_spot_price_limit: Optional[str] = None,
            compute_spot_strategy: Optional[str] = None,
            deploy_mode: Optional[str] = None,
            description: Optional[str] = None,
            domain: Optional[str] = None,
            ecs_charge_type: Optional[str] = None,
            ehpc_version: Optional[str] = None,
            ha_enable: Optional[bool] = None,
            image_id: Optional[str] = None,
            image_owner_alias: Optional[str] = None,
            input_file_url: Optional[str] = None,
            is_compute_ess: Optional[bool] = None,
            job_queue: Optional[str] = None,
            key_pair_name: Optional[str] = None,
            login_count: Optional[int] = None,
            login_instance_type: Optional[str] = None,
            manager_count: Optional[int] = None,
            manager_instance_type: Optional[str] = None,
            os_tag: Optional[str] = None,
            password: Optional[str] = None,
            period: Optional[int] = None,
            period_unit: Optional[str] = None,
            plugin: Optional[str] = None,
            post_install_scripts: Optional[Sequence[ClusterPostInstallScriptArgs]] = None,
            ram_node_types: Optional[Sequence[str]] = None,
            ram_role_name: Optional[str] = None,
            release_instance: Optional[bool] = None,
            remote_directory: Optional[str] = None,
            remote_vis_enable: Optional[bool] = None,
            resource_group_id: Optional[str] = None,
            scc_cluster_id: Optional[str] = None,
            scheduler_type: Optional[str] = None,
            security_group_id: Optional[str] = None,
            security_group_name: Optional[str] = None,
            system_disk_level: Optional[str] = None,
            system_disk_size: Optional[int] = None,
            system_disk_type: Optional[str] = None,
            volume_id: Optional[str] = None,
            volume_mount_option: Optional[str] = None,
            volume_mountpoint: Optional[str] = None,
            volume_protocol: Optional[str] = None,
            volume_type: Optional[str] = None,
            vpc_id: Optional[str] = None,
            vswitch_id: Optional[str] = None,
            without_agent: Optional[bool] = None,
            without_elastic_ip: Optional[bool] = None,
            zone_id: Optional[str] = None)
@overload
def Cluster(resource_name: str,
            args: ClusterArgs,
            opts: Optional[ResourceOptions] = None)
func NewCluster(ctx *Context, name string, args ClusterArgs, opts ...ResourceOption) (*Cluster, error)
public Cluster(string name, ClusterArgs args, CustomResourceOptions? opts = null)
public Cluster(String name, ClusterArgs args)
public Cluster(String name, ClusterArgs args, CustomResourceOptions options)
type: alicloud:ehpc:Cluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ClusterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ClusterArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ClusterArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ClusterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ClusterArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Cluster Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Cluster resource accepts the following input properties:

ClusterName string

The name of the cluster. The name must be 2 to 64 characters in length.

ComputeCount int

The number of the compute nodes. Valid values: 1 to 99.

ComputeInstanceType string

The instance type of the compute nodes.

LoginCount int

The number of the logon nodes. Valid values: 1.

LoginInstanceType string

The instance type of the logon nodes.

ManagerInstanceType string

The instance type of the management nodes.

OsTag string

The image tag of the operating system.

AccountType string

The type of the domain account service. Valid values: nis, ldap. Default value: nis

AdditionalVolumes List<Pulumi.AliCloud.Ehpc.Inputs.ClusterAdditionalVolumeArgs>

The additional volumes. See the following Block additional_volumes.

Applications List<Pulumi.AliCloud.Ehpc.Inputs.ClusterApplicationArgs>

The application. See the following Block application.

AutoRenew bool

Specifies whether to enable auto-renewal for the subscription. Default value: false.

AutoRenewPeriod int

The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.

ClientVersion string

The version of the E-HPC client. By default, the parameter is set to the latest version number.

ClusterVersion string

The version of the cluster. Default value: 1.0.

ComputeEnableHt bool

Specifies whether the compute nodes support hyper-threading. Default value: true.

ComputeSpotPriceLimit string

The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit.

ComputeSpotStrategy string

The bidding method of the compute nodes. Default value: NoSpot. Valid values:

  • NoSpot: The compute nodes are pay-as-you-go instances.
  • SpotWithPriceLimit: The compute nodes are preemptible instances that have a user-defined maximum hourly price.
  • SpotAsPriceGo: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
DeployMode string

The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

  • 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.
Description string

The description of the cluster. The description must be 2 to 256 characters in length. It cannot start with http:// or https://.

Domain string

The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.

EcsChargeType string

The billing method of the nodes.

EhpcVersion string

The version of E-HPC. By default, the parameter is set to the latest version number.

HaEnable bool

Specifies whether to enable the high availability feature. Default value: false. Note: If high availability is enabled, a primary management node and a secondary management node are used.

ImageId string

The ID of the image.

ImageOwnerAlias string

The type of the image. Valid values: others, self, system, marketplace. Default value: system.

InputFileUrl string

The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.

IsComputeEss bool

Specifies whether to enable auto scaling. Default value: false.

JobQueue string

The queue of the nodes to which the additional file system is attached.

KeyPairName string

The name of the AccessKey pair.

ManagerCount int

The number of the management nodes. Valid values: 1 and 2.

Password string

The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: ( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /. You must specify either password or key_pair_name. If both are specified, the Password parameter prevails.

Period int

The duration of the subscription. The unit of the duration is specified by the period_unit parameter. Default value: 1.

  • If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3.
  • If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
  • If you set PriceUnit to Hour, the valid value of the Period parameter is 1.
PeriodUnit string

The unit of the subscription duration. Valid values: Year, Month, Hour. Default value: Month.

Plugin string

The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath.

  • pluginMod: the mode of the plug-in. The following modes are supported:
  • oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter.
  • image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter.
  • pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode.
  • pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss.
PostInstallScripts List<Pulumi.AliCloud.Ehpc.Inputs.ClusterPostInstallScriptArgs>

The post install script. See the following Block post_install_script.

RamNodeTypes List<string>

The node of the RAM role.

RamRoleName string

The name of the Resource Access Management (RAM) role.

ReleaseInstance bool

The release instance. Valid values: true.

RemoteDirectory string

The remote directory to which the additional file system is mounted.

RemoteVisEnable bool

Specifies whether to enable Virtual Network Computing (VNC). Default value: false.

ResourceGroupId string

The ID of the resource group.

SccClusterId string

The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.

SchedulerType string

The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.

SecurityGroupId string

The ID of the security group to which the cluster belongs.

SecurityGroupName string

If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group.

SystemDiskLevel string

The performance level of the ESSD that is used as the system disk. Default value: PL1 For more information, see ESSDs. Valid values:

  • PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
  • PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
  • PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
  • PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
SystemDiskSize int

The size of the system disk. Unit: GB. Valid values: 40 to 500. Default value: 40.

SystemDiskType string

The type of the system disk. Valid values: cloud_efficiency, cloud_ssd, cloud_essd or cloud. Default value: cloud_ssd.

VolumeId string

The ID of the additional file system.

VolumeMountOption string

The mount options of the file system.

VolumeMountpoint string

The mount target of the additional file system.

VolumeProtocol string

The type of the protocol that is used by the additional file system. Valid values: NFS, SMB. Default value: NFS

VolumeType string

The type of the additional shared storage. Only NAS file systems are supported.

VpcId string

The ID of the virtual private cloud (VPC) to which the cluster belongs.

VswitchId string

The ID of the vSwitch. E-HPC supports only VPC networks.

WithoutAgent bool

Specifies whether not to install the agent. Default value: false.

WithoutElasticIp bool

Specifies whether the logon node uses an elastic IP address (EIP). Default value: false.

ZoneId string

The ID of the zone.

ClusterName string

The name of the cluster. The name must be 2 to 64 characters in length.

ComputeCount int

The number of the compute nodes. Valid values: 1 to 99.

ComputeInstanceType string

The instance type of the compute nodes.

LoginCount int

The number of the logon nodes. Valid values: 1.

LoginInstanceType string

The instance type of the logon nodes.

ManagerInstanceType string

The instance type of the management nodes.

OsTag string

The image tag of the operating system.

AccountType string

The type of the domain account service. Valid values: nis, ldap. Default value: nis

AdditionalVolumes []ClusterAdditionalVolumeArgs

The additional volumes. See the following Block additional_volumes.

Applications []ClusterApplicationArgs

The application. See the following Block application.

AutoRenew bool

Specifies whether to enable auto-renewal for the subscription. Default value: false.

AutoRenewPeriod int

The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.

ClientVersion string

The version of the E-HPC client. By default, the parameter is set to the latest version number.

ClusterVersion string

The version of the cluster. Default value: 1.0.

ComputeEnableHt bool

Specifies whether the compute nodes support hyper-threading. Default value: true.

ComputeSpotPriceLimit string

The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit.

ComputeSpotStrategy string

The bidding method of the compute nodes. Default value: NoSpot. Valid values:

  • NoSpot: The compute nodes are pay-as-you-go instances.
  • SpotWithPriceLimit: The compute nodes are preemptible instances that have a user-defined maximum hourly price.
  • SpotAsPriceGo: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
DeployMode string

The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

  • 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.
Description string

The description of the cluster. The description must be 2 to 256 characters in length. It cannot start with http:// or https://.

Domain string

The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.

EcsChargeType string

The billing method of the nodes.

EhpcVersion string

The version of E-HPC. By default, the parameter is set to the latest version number.

HaEnable bool

Specifies whether to enable the high availability feature. Default value: false. Note: If high availability is enabled, a primary management node and a secondary management node are used.

ImageId string

The ID of the image.

ImageOwnerAlias string

The type of the image. Valid values: others, self, system, marketplace. Default value: system.

InputFileUrl string

The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.

IsComputeEss bool

Specifies whether to enable auto scaling. Default value: false.

JobQueue string

The queue of the nodes to which the additional file system is attached.

KeyPairName string

The name of the AccessKey pair.

ManagerCount int

The number of the management nodes. Valid values: 1 and 2.

Password string

The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: ( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /. You must specify either password or key_pair_name. If both are specified, the Password parameter prevails.

Period int

The duration of the subscription. The unit of the duration is specified by the period_unit parameter. Default value: 1.

  • If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3.
  • If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
  • If you set PriceUnit to Hour, the valid value of the Period parameter is 1.
PeriodUnit string

The unit of the subscription duration. Valid values: Year, Month, Hour. Default value: Month.

Plugin string

The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath.

  • pluginMod: the mode of the plug-in. The following modes are supported:
  • oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter.
  • image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter.
  • pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode.
  • pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss.
PostInstallScripts []ClusterPostInstallScriptArgs

The post install script. See the following Block post_install_script.

RamNodeTypes []string

The node of the RAM role.

RamRoleName string

The name of the Resource Access Management (RAM) role.

ReleaseInstance bool

The release instance. Valid values: true.

RemoteDirectory string

The remote directory to which the additional file system is mounted.

RemoteVisEnable bool

Specifies whether to enable Virtual Network Computing (VNC). Default value: false.

ResourceGroupId string

The ID of the resource group.

SccClusterId string

The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.

SchedulerType string

The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.

SecurityGroupId string

The ID of the security group to which the cluster belongs.

SecurityGroupName string

If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group.

SystemDiskLevel string

The performance level of the ESSD that is used as the system disk. Default value: PL1 For more information, see ESSDs. Valid values:

  • PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
  • PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
  • PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
  • PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
SystemDiskSize int

The size of the system disk. Unit: GB. Valid values: 40 to 500. Default value: 40.

SystemDiskType string

The type of the system disk. Valid values: cloud_efficiency, cloud_ssd, cloud_essd or cloud. Default value: cloud_ssd.

VolumeId string

The ID of the additional file system.

VolumeMountOption string

The mount options of the file system.

VolumeMountpoint string

The mount target of the additional file system.

VolumeProtocol string

The type of the protocol that is used by the additional file system. Valid values: NFS, SMB. Default value: NFS

VolumeType string

The type of the additional shared storage. Only NAS file systems are supported.

VpcId string

The ID of the virtual private cloud (VPC) to which the cluster belongs.

VswitchId string

The ID of the vSwitch. E-HPC supports only VPC networks.

WithoutAgent bool

Specifies whether not to install the agent. Default value: false.

WithoutElasticIp bool

Specifies whether the logon node uses an elastic IP address (EIP). Default value: false.

ZoneId string

The ID of the zone.

clusterName String

The name of the cluster. The name must be 2 to 64 characters in length.

computeCount Integer

The number of the compute nodes. Valid values: 1 to 99.

computeInstanceType String

The instance type of the compute nodes.

loginCount Integer

The number of the logon nodes. Valid values: 1.

loginInstanceType String

The instance type of the logon nodes.

managerInstanceType String

The instance type of the management nodes.

osTag String

The image tag of the operating system.

accountType String

The type of the domain account service. Valid values: nis, ldap. Default value: nis

additionalVolumes List<ClusterAdditionalVolumeArgs>

The additional volumes. See the following Block additional_volumes.

applications List<ClusterApplicationArgs>

The application. See the following Block application.

autoRenew Boolean

Specifies whether to enable auto-renewal for the subscription. Default value: false.

autoRenewPeriod Integer

The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.

clientVersion String

The version of the E-HPC client. By default, the parameter is set to the latest version number.

clusterVersion String

The version of the cluster. Default value: 1.0.

computeEnableHt Boolean

Specifies whether the compute nodes support hyper-threading. Default value: true.

computeSpotPriceLimit String

The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit.

computeSpotStrategy String

The bidding method of the compute nodes. Default value: NoSpot. Valid values:

  • NoSpot: The compute nodes are pay-as-you-go instances.
  • SpotWithPriceLimit: The compute nodes are preemptible instances that have a user-defined maximum hourly price.
  • SpotAsPriceGo: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
deployMode String

The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

  • 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.
description String

The description of the cluster. The description must be 2 to 256 characters in length. It cannot start with http:// or https://.

domain String

The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.

ecsChargeType String

The billing method of the nodes.

ehpcVersion String

The version of E-HPC. By default, the parameter is set to the latest version number.

haEnable Boolean

Specifies whether to enable the high availability feature. Default value: false. Note: If high availability is enabled, a primary management node and a secondary management node are used.

imageId String

The ID of the image.

imageOwnerAlias String

The type of the image. Valid values: others, self, system, marketplace. Default value: system.

inputFileUrl String

The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.

isComputeEss Boolean

Specifies whether to enable auto scaling. Default value: false.

jobQueue String

The queue of the nodes to which the additional file system is attached.

keyPairName String

The name of the AccessKey pair.

managerCount Integer

The number of the management nodes. Valid values: 1 and 2.

password String

The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: ( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /. You must specify either password or key_pair_name. If both are specified, the Password parameter prevails.

period Integer

The duration of the subscription. The unit of the duration is specified by the period_unit parameter. Default value: 1.

  • If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3.
  • If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
  • If you set PriceUnit to Hour, the valid value of the Period parameter is 1.
periodUnit String

The unit of the subscription duration. Valid values: Year, Month, Hour. Default value: Month.

plugin String

The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath.

  • pluginMod: the mode of the plug-in. The following modes are supported:
  • oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter.
  • image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter.
  • pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode.
  • pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss.
postInstallScripts List<ClusterPostInstallScriptArgs>

The post install script. See the following Block post_install_script.

ramNodeTypes List<String>

The node of the RAM role.

ramRoleName String

The name of the Resource Access Management (RAM) role.

releaseInstance Boolean

The release instance. Valid values: true.

remoteDirectory String

The remote directory to which the additional file system is mounted.

remoteVisEnable Boolean

Specifies whether to enable Virtual Network Computing (VNC). Default value: false.

resourceGroupId String

The ID of the resource group.

sccClusterId String

The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.

schedulerType String

The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.

securityGroupId String

The ID of the security group to which the cluster belongs.

securityGroupName String

If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group.

systemDiskLevel String

The performance level of the ESSD that is used as the system disk. Default value: PL1 For more information, see ESSDs. Valid values:

  • PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
  • PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
  • PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
  • PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
systemDiskSize Integer

The size of the system disk. Unit: GB. Valid values: 40 to 500. Default value: 40.

systemDiskType String

The type of the system disk. Valid values: cloud_efficiency, cloud_ssd, cloud_essd or cloud. Default value: cloud_ssd.

volumeId String

The ID of the additional file system.

volumeMountOption String

The mount options of the file system.

volumeMountpoint String

The mount target of the additional file system.

volumeProtocol String

The type of the protocol that is used by the additional file system. Valid values: NFS, SMB. Default value: NFS

volumeType String

The type of the additional shared storage. Only NAS file systems are supported.

vpcId String

The ID of the virtual private cloud (VPC) to which the cluster belongs.

vswitchId String

The ID of the vSwitch. E-HPC supports only VPC networks.

withoutAgent Boolean

Specifies whether not to install the agent. Default value: false.

withoutElasticIp Boolean

Specifies whether the logon node uses an elastic IP address (EIP). Default value: false.

zoneId String

The ID of the zone.

clusterName string

The name of the cluster. The name must be 2 to 64 characters in length.

computeCount number

The number of the compute nodes. Valid values: 1 to 99.

computeInstanceType string

The instance type of the compute nodes.

loginCount number

The number of the logon nodes. Valid values: 1.

loginInstanceType string

The instance type of the logon nodes.

managerInstanceType string

The instance type of the management nodes.

osTag string

The image tag of the operating system.

accountType string

The type of the domain account service. Valid values: nis, ldap. Default value: nis

additionalVolumes ClusterAdditionalVolumeArgs[]

The additional volumes. See the following Block additional_volumes.

applications ClusterApplicationArgs[]

The application. See the following Block application.

autoRenew boolean

Specifies whether to enable auto-renewal for the subscription. Default value: false.

autoRenewPeriod number

The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.

clientVersion string

The version of the E-HPC client. By default, the parameter is set to the latest version number.

clusterVersion string

The version of the cluster. Default value: 1.0.

computeEnableHt boolean

Specifies whether the compute nodes support hyper-threading. Default value: true.

computeSpotPriceLimit string

The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit.

computeSpotStrategy string

The bidding method of the compute nodes. Default value: NoSpot. Valid values:

  • NoSpot: The compute nodes are pay-as-you-go instances.
  • SpotWithPriceLimit: The compute nodes are preemptible instances that have a user-defined maximum hourly price.
  • SpotAsPriceGo: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
deployMode string

The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

  • 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.
description string

The description of the cluster. The description must be 2 to 256 characters in length. It cannot start with http:// or https://.

domain string

The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.

ecsChargeType string

The billing method of the nodes.

ehpcVersion string

The version of E-HPC. By default, the parameter is set to the latest version number.

haEnable boolean

Specifies whether to enable the high availability feature. Default value: false. Note: If high availability is enabled, a primary management node and a secondary management node are used.

imageId string

The ID of the image.

imageOwnerAlias string

The type of the image. Valid values: others, self, system, marketplace. Default value: system.

inputFileUrl string

The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.

isComputeEss boolean

Specifies whether to enable auto scaling. Default value: false.

jobQueue string

The queue of the nodes to which the additional file system is attached.

keyPairName string

The name of the AccessKey pair.

managerCount number

The number of the management nodes. Valid values: 1 and 2.

password string

The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: ( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /. You must specify either password or key_pair_name. If both are specified, the Password parameter prevails.

period number

The duration of the subscription. The unit of the duration is specified by the period_unit parameter. Default value: 1.

  • If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3.
  • If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
  • If you set PriceUnit to Hour, the valid value of the Period parameter is 1.
periodUnit string

The unit of the subscription duration. Valid values: Year, Month, Hour. Default value: Month.

plugin string

The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath.

  • pluginMod: the mode of the plug-in. The following modes are supported:
  • oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter.
  • image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter.
  • pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode.
  • pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss.
postInstallScripts ClusterPostInstallScriptArgs[]

The post install script. See the following Block post_install_script.

ramNodeTypes string[]

The node of the RAM role.

ramRoleName string

The name of the Resource Access Management (RAM) role.

releaseInstance boolean

The release instance. Valid values: true.

remoteDirectory string

The remote directory to which the additional file system is mounted.

remoteVisEnable boolean

Specifies whether to enable Virtual Network Computing (VNC). Default value: false.

resourceGroupId string

The ID of the resource group.

sccClusterId string

The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.

schedulerType string

The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.

securityGroupId string

The ID of the security group to which the cluster belongs.

securityGroupName string

If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group.

systemDiskLevel string

The performance level of the ESSD that is used as the system disk. Default value: PL1 For more information, see ESSDs. Valid values:

  • PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
  • PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
  • PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
  • PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
systemDiskSize number

The size of the system disk. Unit: GB. Valid values: 40 to 500. Default value: 40.

systemDiskType string

The type of the system disk. Valid values: cloud_efficiency, cloud_ssd, cloud_essd or cloud. Default value: cloud_ssd.

volumeId string

The ID of the additional file system.

volumeMountOption string

The mount options of the file system.

volumeMountpoint string

The mount target of the additional file system.

volumeProtocol string

The type of the protocol that is used by the additional file system. Valid values: NFS, SMB. Default value: NFS

volumeType string

The type of the additional shared storage. Only NAS file systems are supported.

vpcId string

The ID of the virtual private cloud (VPC) to which the cluster belongs.

vswitchId string

The ID of the vSwitch. E-HPC supports only VPC networks.

withoutAgent boolean

Specifies whether not to install the agent. Default value: false.

withoutElasticIp boolean

Specifies whether the logon node uses an elastic IP address (EIP). Default value: false.

zoneId string

The ID of the zone.

cluster_name str

The name of the cluster. The name must be 2 to 64 characters in length.

compute_count int

The number of the compute nodes. Valid values: 1 to 99.

compute_instance_type str

The instance type of the compute nodes.

login_count int

The number of the logon nodes. Valid values: 1.

login_instance_type str

The instance type of the logon nodes.

manager_instance_type str

The instance type of the management nodes.

os_tag str

The image tag of the operating system.

account_type str

The type of the domain account service. Valid values: nis, ldap. Default value: nis

additional_volumes Sequence[ClusterAdditionalVolumeArgs]

The additional volumes. See the following Block additional_volumes.

applications Sequence[ClusterApplicationArgs]

The application. See the following Block application.

auto_renew bool

Specifies whether to enable auto-renewal for the subscription. Default value: false.

auto_renew_period int

The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.

client_version str

The version of the E-HPC client. By default, the parameter is set to the latest version number.

cluster_version str

The version of the cluster. Default value: 1.0.

compute_enable_ht bool

Specifies whether the compute nodes support hyper-threading. Default value: true.

compute_spot_price_limit str

The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit.

compute_spot_strategy str

The bidding method of the compute nodes. Default value: NoSpot. Valid values:

  • NoSpot: The compute nodes are pay-as-you-go instances.
  • SpotWithPriceLimit: The compute nodes are preemptible instances that have a user-defined maximum hourly price.
  • SpotAsPriceGo: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
deploy_mode str

The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

  • 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.
description str

The description of the cluster. The description must be 2 to 256 characters in length. It cannot start with http:// or https://.

domain str

The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.

ecs_charge_type str

The billing method of the nodes.

ehpc_version str

The version of E-HPC. By default, the parameter is set to the latest version number.

ha_enable bool

Specifies whether to enable the high availability feature. Default value: false. Note: If high availability is enabled, a primary management node and a secondary management node are used.

image_id str

The ID of the image.

image_owner_alias str

The type of the image. Valid values: others, self, system, marketplace. Default value: system.

input_file_url str

The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.

is_compute_ess bool

Specifies whether to enable auto scaling. Default value: false.

job_queue str

The queue of the nodes to which the additional file system is attached.

key_pair_name str

The name of the AccessKey pair.

manager_count int

The number of the management nodes. Valid values: 1 and 2.

password str

The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: ( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /. You must specify either password or key_pair_name. If both are specified, the Password parameter prevails.

period int

The duration of the subscription. The unit of the duration is specified by the period_unit parameter. Default value: 1.

  • If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3.
  • If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
  • If you set PriceUnit to Hour, the valid value of the Period parameter is 1.
period_unit str

The unit of the subscription duration. Valid values: Year, Month, Hour. Default value: Month.

plugin str

The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath.

  • pluginMod: the mode of the plug-in. The following modes are supported:
  • oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter.
  • image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter.
  • pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode.
  • pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss.
post_install_scripts Sequence[ClusterPostInstallScriptArgs]

The post install script. See the following Block post_install_script.

ram_node_types Sequence[str]

The node of the RAM role.

ram_role_name str

The name of the Resource Access Management (RAM) role.

release_instance bool

The release instance. Valid values: true.

remote_directory str

The remote directory to which the additional file system is mounted.

remote_vis_enable bool

Specifies whether to enable Virtual Network Computing (VNC). Default value: false.

resource_group_id str

The ID of the resource group.

scc_cluster_id str

The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.

scheduler_type str

The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.

security_group_id str

The ID of the security group to which the cluster belongs.

security_group_name str

If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group.

system_disk_level str

The performance level of the ESSD that is used as the system disk. Default value: PL1 For more information, see ESSDs. Valid values:

  • PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
  • PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
  • PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
  • PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
system_disk_size int

The size of the system disk. Unit: GB. Valid values: 40 to 500. Default value: 40.

system_disk_type str

The type of the system disk. Valid values: cloud_efficiency, cloud_ssd, cloud_essd or cloud. Default value: cloud_ssd.

volume_id str

The ID of the additional file system.

volume_mount_option str

The mount options of the file system.

volume_mountpoint str

The mount target of the additional file system.

volume_protocol str

The type of the protocol that is used by the additional file system. Valid values: NFS, SMB. Default value: NFS

volume_type str

The type of the additional shared storage. Only NAS file systems are supported.

vpc_id str

The ID of the virtual private cloud (VPC) to which the cluster belongs.

vswitch_id str

The ID of the vSwitch. E-HPC supports only VPC networks.

without_agent bool

Specifies whether not to install the agent. Default value: false.

without_elastic_ip bool

Specifies whether the logon node uses an elastic IP address (EIP). Default value: false.

zone_id str

The ID of the zone.

clusterName String

The name of the cluster. The name must be 2 to 64 characters in length.

computeCount Number

The number of the compute nodes. Valid values: 1 to 99.

computeInstanceType String

The instance type of the compute nodes.

loginCount Number

The number of the logon nodes. Valid values: 1.

loginInstanceType String

The instance type of the logon nodes.

managerInstanceType String

The instance type of the management nodes.

osTag String

The image tag of the operating system.

accountType String

The type of the domain account service. Valid values: nis, ldap. Default value: nis

additionalVolumes List<Property Map>

The additional volumes. See the following Block additional_volumes.

applications List<Property Map>

The application. See the following Block application.

autoRenew Boolean

Specifies whether to enable auto-renewal for the subscription. Default value: false.

autoRenewPeriod Number

The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.

clientVersion String

The version of the E-HPC client. By default, the parameter is set to the latest version number.

clusterVersion String

The version of the cluster. Default value: 1.0.

computeEnableHt Boolean

Specifies whether the compute nodes support hyper-threading. Default value: true.

computeSpotPriceLimit String

The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit.

computeSpotStrategy String

The bidding method of the compute nodes. Default value: NoSpot. Valid values:

  • NoSpot: The compute nodes are pay-as-you-go instances.
  • SpotWithPriceLimit: The compute nodes are preemptible instances that have a user-defined maximum hourly price.
  • SpotAsPriceGo: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
deployMode String

The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

  • 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.
description String

The description of the cluster. The description must be 2 to 256 characters in length. It cannot start with http:// or https://.

domain String

The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.

ecsChargeType String

The billing method of the nodes.

ehpcVersion String

The version of E-HPC. By default, the parameter is set to the latest version number.

haEnable Boolean

Specifies whether to enable the high availability feature. Default value: false. Note: If high availability is enabled, a primary management node and a secondary management node are used.

imageId String

The ID of the image.

imageOwnerAlias String

The type of the image. Valid values: others, self, system, marketplace. Default value: system.

inputFileUrl String

The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.

isComputeEss Boolean

Specifies whether to enable auto scaling. Default value: false.

jobQueue String

The queue of the nodes to which the additional file system is attached.

keyPairName String

The name of the AccessKey pair.

managerCount Number

The number of the management nodes. Valid values: 1 and 2.

password String

The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: ( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /. You must specify either password or key_pair_name. If both are specified, the Password parameter prevails.

period Number

The duration of the subscription. The unit of the duration is specified by the period_unit parameter. Default value: 1.

  • If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3.
  • If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
  • If you set PriceUnit to Hour, the valid value of the Period parameter is 1.
periodUnit String

The unit of the subscription duration. Valid values: Year, Month, Hour. Default value: Month.

plugin String

The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath.

  • pluginMod: the mode of the plug-in. The following modes are supported:
  • oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter.
  • image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter.
  • pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode.
  • pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss.
postInstallScripts List<Property Map>

The post install script. See the following Block post_install_script.

ramNodeTypes List<String>

The node of the RAM role.

ramRoleName String

The name of the Resource Access Management (RAM) role.

releaseInstance Boolean

The release instance. Valid values: true.

remoteDirectory String

The remote directory to which the additional file system is mounted.

remoteVisEnable Boolean

Specifies whether to enable Virtual Network Computing (VNC). Default value: false.

resourceGroupId String

The ID of the resource group.

sccClusterId String

The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.

schedulerType String

The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.

securityGroupId String

The ID of the security group to which the cluster belongs.

securityGroupName String

If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group.

systemDiskLevel String

The performance level of the ESSD that is used as the system disk. Default value: PL1 For more information, see ESSDs. Valid values:

  • PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
  • PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
  • PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
  • PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
systemDiskSize Number

The size of the system disk. Unit: GB. Valid values: 40 to 500. Default value: 40.

systemDiskType String

The type of the system disk. Valid values: cloud_efficiency, cloud_ssd, cloud_essd or cloud. Default value: cloud_ssd.

volumeId String

The ID of the additional file system.

volumeMountOption String

The mount options of the file system.

volumeMountpoint String

The mount target of the additional file system.

volumeProtocol String

The type of the protocol that is used by the additional file system. Valid values: NFS, SMB. Default value: NFS

volumeType String

The type of the additional shared storage. Only NAS file systems are supported.

vpcId String

The ID of the virtual private cloud (VPC) to which the cluster belongs.

vswitchId String

The ID of the vSwitch. E-HPC supports only VPC networks.

withoutAgent Boolean

Specifies whether not to install the agent. Default value: false.

withoutElasticIp Boolean

Specifies whether the logon node uses an elastic IP address (EIP). Default value: false.

zoneId String

The ID of the zone.

Outputs

All input properties are implicitly available as output properties. Additionally, the Cluster resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Status string

The status of the resource.

Id string

The provider-assigned unique ID for this managed resource.

Status string

The status of the resource.

id String

The provider-assigned unique ID for this managed resource.

status String

The status of the resource.

id string

The provider-assigned unique ID for this managed resource.

status string

The status of the resource.

id str

The provider-assigned unique ID for this managed resource.

status str

The status of the resource.

id String

The provider-assigned unique ID for this managed resource.

status String

The status of the resource.

Look up an Existing Cluster Resource

Get an existing Cluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ClusterState, opts?: CustomResourceOptions): Cluster
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        account_type: Optional[str] = None,
        additional_volumes: Optional[Sequence[ClusterAdditionalVolumeArgs]] = None,
        applications: Optional[Sequence[ClusterApplicationArgs]] = None,
        auto_renew: Optional[bool] = None,
        auto_renew_period: Optional[int] = None,
        client_version: Optional[str] = None,
        cluster_name: Optional[str] = None,
        cluster_version: Optional[str] = None,
        compute_count: Optional[int] = None,
        compute_enable_ht: Optional[bool] = None,
        compute_instance_type: Optional[str] = None,
        compute_spot_price_limit: Optional[str] = None,
        compute_spot_strategy: Optional[str] = None,
        deploy_mode: Optional[str] = None,
        description: Optional[str] = None,
        domain: Optional[str] = None,
        ecs_charge_type: Optional[str] = None,
        ehpc_version: Optional[str] = None,
        ha_enable: Optional[bool] = None,
        image_id: Optional[str] = None,
        image_owner_alias: Optional[str] = None,
        input_file_url: Optional[str] = None,
        is_compute_ess: Optional[bool] = None,
        job_queue: Optional[str] = None,
        key_pair_name: Optional[str] = None,
        login_count: Optional[int] = None,
        login_instance_type: Optional[str] = None,
        manager_count: Optional[int] = None,
        manager_instance_type: Optional[str] = None,
        os_tag: Optional[str] = None,
        password: Optional[str] = None,
        period: Optional[int] = None,
        period_unit: Optional[str] = None,
        plugin: Optional[str] = None,
        post_install_scripts: Optional[Sequence[ClusterPostInstallScriptArgs]] = None,
        ram_node_types: Optional[Sequence[str]] = None,
        ram_role_name: Optional[str] = None,
        release_instance: Optional[bool] = None,
        remote_directory: Optional[str] = None,
        remote_vis_enable: Optional[bool] = None,
        resource_group_id: Optional[str] = None,
        scc_cluster_id: Optional[str] = None,
        scheduler_type: Optional[str] = None,
        security_group_id: Optional[str] = None,
        security_group_name: Optional[str] = None,
        status: Optional[str] = None,
        system_disk_level: Optional[str] = None,
        system_disk_size: Optional[int] = None,
        system_disk_type: Optional[str] = None,
        volume_id: Optional[str] = None,
        volume_mount_option: Optional[str] = None,
        volume_mountpoint: Optional[str] = None,
        volume_protocol: Optional[str] = None,
        volume_type: Optional[str] = None,
        vpc_id: Optional[str] = None,
        vswitch_id: Optional[str] = None,
        without_agent: Optional[bool] = None,
        without_elastic_ip: Optional[bool] = None,
        zone_id: Optional[str] = None) -> Cluster
func GetCluster(ctx *Context, name string, id IDInput, state *ClusterState, opts ...ResourceOption) (*Cluster, error)
public static Cluster Get(string name, Input<string> id, ClusterState? state, CustomResourceOptions? opts = null)
public static Cluster get(String name, Output<String> id, ClusterState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AccountType string

The type of the domain account service. Valid values: nis, ldap. Default value: nis

AdditionalVolumes List<Pulumi.AliCloud.Ehpc.Inputs.ClusterAdditionalVolumeArgs>

The additional volumes. See the following Block additional_volumes.

Applications List<Pulumi.AliCloud.Ehpc.Inputs.ClusterApplicationArgs>

The application. See the following Block application.

AutoRenew bool

Specifies whether to enable auto-renewal for the subscription. Default value: false.

AutoRenewPeriod int

The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.

ClientVersion string

The version of the E-HPC client. By default, the parameter is set to the latest version number.

ClusterName string

The name of the cluster. The name must be 2 to 64 characters in length.

ClusterVersion string

The version of the cluster. Default value: 1.0.

ComputeCount int

The number of the compute nodes. Valid values: 1 to 99.

ComputeEnableHt bool

Specifies whether the compute nodes support hyper-threading. Default value: true.

ComputeInstanceType string

The instance type of the compute nodes.

ComputeSpotPriceLimit string

The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit.

ComputeSpotStrategy string

The bidding method of the compute nodes. Default value: NoSpot. Valid values:

  • NoSpot: The compute nodes are pay-as-you-go instances.
  • SpotWithPriceLimit: The compute nodes are preemptible instances that have a user-defined maximum hourly price.
  • SpotAsPriceGo: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
DeployMode string

The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

  • 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.
Description string

The description of the cluster. The description must be 2 to 256 characters in length. It cannot start with http:// or https://.

Domain string

The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.

EcsChargeType string

The billing method of the nodes.

EhpcVersion string

The version of E-HPC. By default, the parameter is set to the latest version number.

HaEnable bool

Specifies whether to enable the high availability feature. Default value: false. Note: If high availability is enabled, a primary management node and a secondary management node are used.

ImageId string

The ID of the image.

ImageOwnerAlias string

The type of the image. Valid values: others, self, system, marketplace. Default value: system.

InputFileUrl string

The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.

IsComputeEss bool

Specifies whether to enable auto scaling. Default value: false.

JobQueue string

The queue of the nodes to which the additional file system is attached.

KeyPairName string

The name of the AccessKey pair.

LoginCount int

The number of the logon nodes. Valid values: 1.

LoginInstanceType string

The instance type of the logon nodes.

ManagerCount int

The number of the management nodes. Valid values: 1 and 2.

ManagerInstanceType string

The instance type of the management nodes.

OsTag string

The image tag of the operating system.

Password string

The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: ( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /. You must specify either password or key_pair_name. If both are specified, the Password parameter prevails.

Period int

The duration of the subscription. The unit of the duration is specified by the period_unit parameter. Default value: 1.

  • If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3.
  • If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
  • If you set PriceUnit to Hour, the valid value of the Period parameter is 1.
PeriodUnit string

The unit of the subscription duration. Valid values: Year, Month, Hour. Default value: Month.

Plugin string

The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath.

  • pluginMod: the mode of the plug-in. The following modes are supported:
  • oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter.
  • image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter.
  • pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode.
  • pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss.
PostInstallScripts List<Pulumi.AliCloud.Ehpc.Inputs.ClusterPostInstallScriptArgs>

The post install script. See the following Block post_install_script.

RamNodeTypes List<string>

The node of the RAM role.

RamRoleName string

The name of the Resource Access Management (RAM) role.

ReleaseInstance bool

The release instance. Valid values: true.

RemoteDirectory string

The remote directory to which the additional file system is mounted.

RemoteVisEnable bool

Specifies whether to enable Virtual Network Computing (VNC). Default value: false.

ResourceGroupId string

The ID of the resource group.

SccClusterId string

The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.

SchedulerType string

The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.

SecurityGroupId string

The ID of the security group to which the cluster belongs.

SecurityGroupName string

If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group.

Status string

The status of the resource.

SystemDiskLevel string

The performance level of the ESSD that is used as the system disk. Default value: PL1 For more information, see ESSDs. Valid values:

  • PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
  • PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
  • PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
  • PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
SystemDiskSize int

The size of the system disk. Unit: GB. Valid values: 40 to 500. Default value: 40.

SystemDiskType string

The type of the system disk. Valid values: cloud_efficiency, cloud_ssd, cloud_essd or cloud. Default value: cloud_ssd.

VolumeId string

The ID of the additional file system.

VolumeMountOption string

The mount options of the file system.

VolumeMountpoint string

The mount target of the additional file system.

VolumeProtocol string

The type of the protocol that is used by the additional file system. Valid values: NFS, SMB. Default value: NFS

VolumeType string

The type of the additional shared storage. Only NAS file systems are supported.

VpcId string

The ID of the virtual private cloud (VPC) to which the cluster belongs.

VswitchId string

The ID of the vSwitch. E-HPC supports only VPC networks.

WithoutAgent bool

Specifies whether not to install the agent. Default value: false.

WithoutElasticIp bool

Specifies whether the logon node uses an elastic IP address (EIP). Default value: false.

ZoneId string

The ID of the zone.

AccountType string

The type of the domain account service. Valid values: nis, ldap. Default value: nis

AdditionalVolumes []ClusterAdditionalVolumeArgs

The additional volumes. See the following Block additional_volumes.

Applications []ClusterApplicationArgs

The application. See the following Block application.

AutoRenew bool

Specifies whether to enable auto-renewal for the subscription. Default value: false.

AutoRenewPeriod int

The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.

ClientVersion string

The version of the E-HPC client. By default, the parameter is set to the latest version number.

ClusterName string

The name of the cluster. The name must be 2 to 64 characters in length.

ClusterVersion string

The version of the cluster. Default value: 1.0.

ComputeCount int

The number of the compute nodes. Valid values: 1 to 99.

ComputeEnableHt bool

Specifies whether the compute nodes support hyper-threading. Default value: true.

ComputeInstanceType string

The instance type of the compute nodes.

ComputeSpotPriceLimit string

The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit.

ComputeSpotStrategy string

The bidding method of the compute nodes. Default value: NoSpot. Valid values:

  • NoSpot: The compute nodes are pay-as-you-go instances.
  • SpotWithPriceLimit: The compute nodes are preemptible instances that have a user-defined maximum hourly price.
  • SpotAsPriceGo: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
DeployMode string

The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

  • 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.
Description string

The description of the cluster. The description must be 2 to 256 characters in length. It cannot start with http:// or https://.

Domain string

The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.

EcsChargeType string

The billing method of the nodes.

EhpcVersion string

The version of E-HPC. By default, the parameter is set to the latest version number.

HaEnable bool

Specifies whether to enable the high availability feature. Default value: false. Note: If high availability is enabled, a primary management node and a secondary management node are used.

ImageId string

The ID of the image.

ImageOwnerAlias string

The type of the image. Valid values: others, self, system, marketplace. Default value: system.

InputFileUrl string

The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.

IsComputeEss bool

Specifies whether to enable auto scaling. Default value: false.

JobQueue string

The queue of the nodes to which the additional file system is attached.

KeyPairName string

The name of the AccessKey pair.

LoginCount int

The number of the logon nodes. Valid values: 1.

LoginInstanceType string

The instance type of the logon nodes.

ManagerCount int

The number of the management nodes. Valid values: 1 and 2.

ManagerInstanceType string

The instance type of the management nodes.

OsTag string

The image tag of the operating system.

Password string

The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: ( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /. You must specify either password or key_pair_name. If both are specified, the Password parameter prevails.

Period int

The duration of the subscription. The unit of the duration is specified by the period_unit parameter. Default value: 1.

  • If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3.
  • If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
  • If you set PriceUnit to Hour, the valid value of the Period parameter is 1.
PeriodUnit string

The unit of the subscription duration. Valid values: Year, Month, Hour. Default value: Month.

Plugin string

The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath.

  • pluginMod: the mode of the plug-in. The following modes are supported:
  • oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter.
  • image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter.
  • pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode.
  • pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss.
PostInstallScripts []ClusterPostInstallScriptArgs

The post install script. See the following Block post_install_script.

RamNodeTypes []string

The node of the RAM role.

RamRoleName string

The name of the Resource Access Management (RAM) role.

ReleaseInstance bool

The release instance. Valid values: true.

RemoteDirectory string

The remote directory to which the additional file system is mounted.

RemoteVisEnable bool

Specifies whether to enable Virtual Network Computing (VNC). Default value: false.

ResourceGroupId string

The ID of the resource group.

SccClusterId string

The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.

SchedulerType string

The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.

SecurityGroupId string

The ID of the security group to which the cluster belongs.

SecurityGroupName string

If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group.

Status string

The status of the resource.

SystemDiskLevel string

The performance level of the ESSD that is used as the system disk. Default value: PL1 For more information, see ESSDs. Valid values:

  • PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
  • PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
  • PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
  • PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
SystemDiskSize int

The size of the system disk. Unit: GB. Valid values: 40 to 500. Default value: 40.

SystemDiskType string

The type of the system disk. Valid values: cloud_efficiency, cloud_ssd, cloud_essd or cloud. Default value: cloud_ssd.

VolumeId string

The ID of the additional file system.

VolumeMountOption string

The mount options of the file system.

VolumeMountpoint string

The mount target of the additional file system.

VolumeProtocol string

The type of the protocol that is used by the additional file system. Valid values: NFS, SMB. Default value: NFS

VolumeType string

The type of the additional shared storage. Only NAS file systems are supported.

VpcId string

The ID of the virtual private cloud (VPC) to which the cluster belongs.

VswitchId string

The ID of the vSwitch. E-HPC supports only VPC networks.

WithoutAgent bool

Specifies whether not to install the agent. Default value: false.

WithoutElasticIp bool

Specifies whether the logon node uses an elastic IP address (EIP). Default value: false.

ZoneId string

The ID of the zone.

accountType String

The type of the domain account service. Valid values: nis, ldap. Default value: nis

additionalVolumes List<ClusterAdditionalVolumeArgs>

The additional volumes. See the following Block additional_volumes.

applications List<ClusterApplicationArgs>

The application. See the following Block application.

autoRenew Boolean

Specifies whether to enable auto-renewal for the subscription. Default value: false.

autoRenewPeriod Integer

The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.

clientVersion String

The version of the E-HPC client. By default, the parameter is set to the latest version number.

clusterName String

The name of the cluster. The name must be 2 to 64 characters in length.

clusterVersion String

The version of the cluster. Default value: 1.0.

computeCount Integer

The number of the compute nodes. Valid values: 1 to 99.

computeEnableHt Boolean

Specifies whether the compute nodes support hyper-threading. Default value: true.

computeInstanceType String

The instance type of the compute nodes.

computeSpotPriceLimit String

The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit.

computeSpotStrategy String

The bidding method of the compute nodes. Default value: NoSpot. Valid values:

  • NoSpot: The compute nodes are pay-as-you-go instances.
  • SpotWithPriceLimit: The compute nodes are preemptible instances that have a user-defined maximum hourly price.
  • SpotAsPriceGo: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
deployMode String

The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

  • 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.
description String

The description of the cluster. The description must be 2 to 256 characters in length. It cannot start with http:// or https://.

domain String

The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.

ecsChargeType String

The billing method of the nodes.

ehpcVersion String

The version of E-HPC. By default, the parameter is set to the latest version number.

haEnable Boolean

Specifies whether to enable the high availability feature. Default value: false. Note: If high availability is enabled, a primary management node and a secondary management node are used.

imageId String

The ID of the image.

imageOwnerAlias String

The type of the image. Valid values: others, self, system, marketplace. Default value: system.

inputFileUrl String

The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.

isComputeEss Boolean

Specifies whether to enable auto scaling. Default value: false.

jobQueue String

The queue of the nodes to which the additional file system is attached.

keyPairName String

The name of the AccessKey pair.

loginCount Integer

The number of the logon nodes. Valid values: 1.

loginInstanceType String

The instance type of the logon nodes.

managerCount Integer

The number of the management nodes. Valid values: 1 and 2.

managerInstanceType String

The instance type of the management nodes.

osTag String

The image tag of the operating system.

password String

The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: ( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /. You must specify either password or key_pair_name. If both are specified, the Password parameter prevails.

period Integer

The duration of the subscription. The unit of the duration is specified by the period_unit parameter. Default value: 1.

  • If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3.
  • If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
  • If you set PriceUnit to Hour, the valid value of the Period parameter is 1.
periodUnit String

The unit of the subscription duration. Valid values: Year, Month, Hour. Default value: Month.

plugin String

The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath.

  • pluginMod: the mode of the plug-in. The following modes are supported:
  • oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter.
  • image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter.
  • pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode.
  • pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss.
postInstallScripts List<ClusterPostInstallScriptArgs>

The post install script. See the following Block post_install_script.

ramNodeTypes List<String>

The node of the RAM role.

ramRoleName String

The name of the Resource Access Management (RAM) role.

releaseInstance Boolean

The release instance. Valid values: true.

remoteDirectory String

The remote directory to which the additional file system is mounted.

remoteVisEnable Boolean

Specifies whether to enable Virtual Network Computing (VNC). Default value: false.

resourceGroupId String

The ID of the resource group.

sccClusterId String

The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.

schedulerType String

The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.

securityGroupId String

The ID of the security group to which the cluster belongs.

securityGroupName String

If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group.

status String

The status of the resource.

systemDiskLevel String

The performance level of the ESSD that is used as the system disk. Default value: PL1 For more information, see ESSDs. Valid values:

  • PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
  • PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
  • PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
  • PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
systemDiskSize Integer

The size of the system disk. Unit: GB. Valid values: 40 to 500. Default value: 40.

systemDiskType String

The type of the system disk. Valid values: cloud_efficiency, cloud_ssd, cloud_essd or cloud. Default value: cloud_ssd.

volumeId String

The ID of the additional file system.

volumeMountOption String

The mount options of the file system.

volumeMountpoint String

The mount target of the additional file system.

volumeProtocol String

The type of the protocol that is used by the additional file system. Valid values: NFS, SMB. Default value: NFS

volumeType String

The type of the additional shared storage. Only NAS file systems are supported.

vpcId String

The ID of the virtual private cloud (VPC) to which the cluster belongs.

vswitchId String

The ID of the vSwitch. E-HPC supports only VPC networks.

withoutAgent Boolean

Specifies whether not to install the agent. Default value: false.

withoutElasticIp Boolean

Specifies whether the logon node uses an elastic IP address (EIP). Default value: false.

zoneId String

The ID of the zone.

accountType string

The type of the domain account service. Valid values: nis, ldap. Default value: nis

additionalVolumes ClusterAdditionalVolumeArgs[]

The additional volumes. See the following Block additional_volumes.

applications ClusterApplicationArgs[]

The application. See the following Block application.

autoRenew boolean

Specifies whether to enable auto-renewal for the subscription. Default value: false.

autoRenewPeriod number

The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.

clientVersion string

The version of the E-HPC client. By default, the parameter is set to the latest version number.

clusterName string

The name of the cluster. The name must be 2 to 64 characters in length.

clusterVersion string

The version of the cluster. Default value: 1.0.

computeCount number

The number of the compute nodes. Valid values: 1 to 99.

computeEnableHt boolean

Specifies whether the compute nodes support hyper-threading. Default value: true.

computeInstanceType string

The instance type of the compute nodes.

computeSpotPriceLimit string

The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit.

computeSpotStrategy string

The bidding method of the compute nodes. Default value: NoSpot. Valid values:

  • NoSpot: The compute nodes are pay-as-you-go instances.
  • SpotWithPriceLimit: The compute nodes are preemptible instances that have a user-defined maximum hourly price.
  • SpotAsPriceGo: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
deployMode string

The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

  • 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.
description string

The description of the cluster. The description must be 2 to 256 characters in length. It cannot start with http:// or https://.

domain string

The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.

ecsChargeType string

The billing method of the nodes.

ehpcVersion string

The version of E-HPC. By default, the parameter is set to the latest version number.

haEnable boolean

Specifies whether to enable the high availability feature. Default value: false. Note: If high availability is enabled, a primary management node and a secondary management node are used.

imageId string

The ID of the image.

imageOwnerAlias string

The type of the image. Valid values: others, self, system, marketplace. Default value: system.

inputFileUrl string

The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.

isComputeEss boolean

Specifies whether to enable auto scaling. Default value: false.

jobQueue string

The queue of the nodes to which the additional file system is attached.

keyPairName string

The name of the AccessKey pair.

loginCount number

The number of the logon nodes. Valid values: 1.

loginInstanceType string

The instance type of the logon nodes.

managerCount number

The number of the management nodes. Valid values: 1 and 2.

managerInstanceType string

The instance type of the management nodes.

osTag string

The image tag of the operating system.

password string

The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: ( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /. You must specify either password or key_pair_name. If both are specified, the Password parameter prevails.

period number

The duration of the subscription. The unit of the duration is specified by the period_unit parameter. Default value: 1.

  • If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3.
  • If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
  • If you set PriceUnit to Hour, the valid value of the Period parameter is 1.
periodUnit string

The unit of the subscription duration. Valid values: Year, Month, Hour. Default value: Month.

plugin string

The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath.

  • pluginMod: the mode of the plug-in. The following modes are supported:
  • oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter.
  • image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter.
  • pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode.
  • pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss.
postInstallScripts ClusterPostInstallScriptArgs[]

The post install script. See the following Block post_install_script.

ramNodeTypes string[]

The node of the RAM role.

ramRoleName string

The name of the Resource Access Management (RAM) role.

releaseInstance boolean

The release instance. Valid values: true.

remoteDirectory string

The remote directory to which the additional file system is mounted.

remoteVisEnable boolean

Specifies whether to enable Virtual Network Computing (VNC). Default value: false.

resourceGroupId string

The ID of the resource group.

sccClusterId string

The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.

schedulerType string

The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.

securityGroupId string

The ID of the security group to which the cluster belongs.

securityGroupName string

If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group.

status string

The status of the resource.

systemDiskLevel string

The performance level of the ESSD that is used as the system disk. Default value: PL1 For more information, see ESSDs. Valid values:

  • PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
  • PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
  • PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
  • PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
systemDiskSize number

The size of the system disk. Unit: GB. Valid values: 40 to 500. Default value: 40.

systemDiskType string

The type of the system disk. Valid values: cloud_efficiency, cloud_ssd, cloud_essd or cloud. Default value: cloud_ssd.

volumeId string

The ID of the additional file system.

volumeMountOption string

The mount options of the file system.

volumeMountpoint string

The mount target of the additional file system.

volumeProtocol string

The type of the protocol that is used by the additional file system. Valid values: NFS, SMB. Default value: NFS

volumeType string

The type of the additional shared storage. Only NAS file systems are supported.

vpcId string

The ID of the virtual private cloud (VPC) to which the cluster belongs.

vswitchId string

The ID of the vSwitch. E-HPC supports only VPC networks.

withoutAgent boolean

Specifies whether not to install the agent. Default value: false.

withoutElasticIp boolean

Specifies whether the logon node uses an elastic IP address (EIP). Default value: false.

zoneId string

The ID of the zone.

account_type str

The type of the domain account service. Valid values: nis, ldap. Default value: nis

additional_volumes Sequence[ClusterAdditionalVolumeArgs]

The additional volumes. See the following Block additional_volumes.

applications Sequence[ClusterApplicationArgs]

The application. See the following Block application.

auto_renew bool

Specifies whether to enable auto-renewal for the subscription. Default value: false.

auto_renew_period int

The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.

client_version str

The version of the E-HPC client. By default, the parameter is set to the latest version number.

cluster_name str

The name of the cluster. The name must be 2 to 64 characters in length.

cluster_version str

The version of the cluster. Default value: 1.0.

compute_count int

The number of the compute nodes. Valid values: 1 to 99.

compute_enable_ht bool

Specifies whether the compute nodes support hyper-threading. Default value: true.

compute_instance_type str

The instance type of the compute nodes.

compute_spot_price_limit str

The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit.

compute_spot_strategy str

The bidding method of the compute nodes. Default value: NoSpot. Valid values:

  • NoSpot: The compute nodes are pay-as-you-go instances.
  • SpotWithPriceLimit: The compute nodes are preemptible instances that have a user-defined maximum hourly price.
  • SpotAsPriceGo: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
deploy_mode str

The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

  • 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.
description str

The description of the cluster. The description must be 2 to 256 characters in length. It cannot start with http:// or https://.

domain str

The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.

ecs_charge_type str

The billing method of the nodes.

ehpc_version str

The version of E-HPC. By default, the parameter is set to the latest version number.

ha_enable bool

Specifies whether to enable the high availability feature. Default value: false. Note: If high availability is enabled, a primary management node and a secondary management node are used.

image_id str

The ID of the image.

image_owner_alias str

The type of the image. Valid values: others, self, system, marketplace. Default value: system.

input_file_url str

The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.

is_compute_ess bool

Specifies whether to enable auto scaling. Default value: false.

job_queue str

The queue of the nodes to which the additional file system is attached.

key_pair_name str

The name of the AccessKey pair.

login_count int

The number of the logon nodes. Valid values: 1.

login_instance_type str

The instance type of the logon nodes.

manager_count int

The number of the management nodes. Valid values: 1 and 2.

manager_instance_type str

The instance type of the management nodes.

os_tag str

The image tag of the operating system.

password str

The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: ( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /. You must specify either password or key_pair_name. If both are specified, the Password parameter prevails.

period int

The duration of the subscription. The unit of the duration is specified by the period_unit parameter. Default value: 1.

  • If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3.
  • If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
  • If you set PriceUnit to Hour, the valid value of the Period parameter is 1.
period_unit str

The unit of the subscription duration. Valid values: Year, Month, Hour. Default value: Month.

plugin str

The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath.

  • pluginMod: the mode of the plug-in. The following modes are supported:
  • oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter.
  • image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter.
  • pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode.
  • pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss.
post_install_scripts Sequence[ClusterPostInstallScriptArgs]

The post install script. See the following Block post_install_script.

ram_node_types Sequence[str]

The node of the RAM role.

ram_role_name str

The name of the Resource Access Management (RAM) role.

release_instance bool

The release instance. Valid values: true.

remote_directory str

The remote directory to which the additional file system is mounted.

remote_vis_enable bool

Specifies whether to enable Virtual Network Computing (VNC). Default value: false.

resource_group_id str

The ID of the resource group.

scc_cluster_id str

The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.

scheduler_type str

The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.

security_group_id str

The ID of the security group to which the cluster belongs.

security_group_name str

If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group.

status str

The status of the resource.

system_disk_level str

The performance level of the ESSD that is used as the system disk. Default value: PL1 For more information, see ESSDs. Valid values:

  • PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
  • PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
  • PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
  • PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
system_disk_size int

The size of the system disk. Unit: GB. Valid values: 40 to 500. Default value: 40.

system_disk_type str

The type of the system disk. Valid values: cloud_efficiency, cloud_ssd, cloud_essd or cloud. Default value: cloud_ssd.

volume_id str

The ID of the additional file system.

volume_mount_option str

The mount options of the file system.

volume_mountpoint str

The mount target of the additional file system.

volume_protocol str

The type of the protocol that is used by the additional file system. Valid values: NFS, SMB. Default value: NFS

volume_type str

The type of the additional shared storage. Only NAS file systems are supported.

vpc_id str

The ID of the virtual private cloud (VPC) to which the cluster belongs.

vswitch_id str

The ID of the vSwitch. E-HPC supports only VPC networks.

without_agent bool

Specifies whether not to install the agent. Default value: false.

without_elastic_ip bool

Specifies whether the logon node uses an elastic IP address (EIP). Default value: false.

zone_id str

The ID of the zone.

accountType String

The type of the domain account service. Valid values: nis, ldap. Default value: nis

additionalVolumes List<Property Map>

The additional volumes. See the following Block additional_volumes.

applications List<Property Map>

The application. See the following Block application.

autoRenew Boolean

Specifies whether to enable auto-renewal for the subscription. Default value: false.

autoRenewPeriod Number

The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.

clientVersion String

The version of the E-HPC client. By default, the parameter is set to the latest version number.

clusterName String

The name of the cluster. The name must be 2 to 64 characters in length.

clusterVersion String

The version of the cluster. Default value: 1.0.

computeCount Number

The number of the compute nodes. Valid values: 1 to 99.

computeEnableHt Boolean

Specifies whether the compute nodes support hyper-threading. Default value: true.

computeInstanceType String

The instance type of the compute nodes.

computeSpotPriceLimit String

The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit.

computeSpotStrategy String

The bidding method of the compute nodes. Default value: NoSpot. Valid values:

  • NoSpot: The compute nodes are pay-as-you-go instances.
  • SpotWithPriceLimit: The compute nodes are preemptible instances that have a user-defined maximum hourly price.
  • SpotAsPriceGo: The compute nodes are preemptible instances for which the market price at the time of purchase is used as the bid price.
deployMode String

The mode in which the cluster is deployed. Valid values: Standard, Simple, Tiny. Default value: Standard.

  • 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.
description String

The description of the cluster. The description must be 2 to 256 characters in length. It cannot start with http:// or https://.

domain String

The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.

ecsChargeType String

The billing method of the nodes.

ehpcVersion String

The version of E-HPC. By default, the parameter is set to the latest version number.

haEnable Boolean

Specifies whether to enable the high availability feature. Default value: false. Note: If high availability is enabled, a primary management node and a secondary management node are used.

imageId String

The ID of the image.

imageOwnerAlias String

The type of the image. Valid values: others, self, system, marketplace. Default value: system.

inputFileUrl String

The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.

isComputeEss Boolean

Specifies whether to enable auto scaling. Default value: false.

jobQueue String

The queue of the nodes to which the additional file system is attached.

keyPairName String

The name of the AccessKey pair.

loginCount Number

The number of the logon nodes. Valid values: 1.

loginInstanceType String

The instance type of the logon nodes.

managerCount Number

The number of the management nodes. Valid values: 1 and 2.

managerInstanceType String

The instance type of the management nodes.

osTag String

The image tag of the operating system.

password String

The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: ( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /. You must specify either password or key_pair_name. If both are specified, the Password parameter prevails.

period Number

The duration of the subscription. The unit of the duration is specified by the period_unit parameter. Default value: 1.

  • If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3.
  • If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9.
  • If you set PriceUnit to Hour, the valid value of the Period parameter is 1.
periodUnit String

The unit of the subscription duration. Valid values: Year, Month, Hour. Default value: Month.

plugin String

The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath.

  • pluginMod: the mode of the plug-in. The following modes are supported:
  • oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter.
  • image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter.
  • pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode.
  • pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss.
postInstallScripts List<Property Map>

The post install script. See the following Block post_install_script.

ramNodeTypes List<String>

The node of the RAM role.

ramRoleName String

The name of the Resource Access Management (RAM) role.

releaseInstance Boolean

The release instance. Valid values: true.

remoteDirectory String

The remote directory to which the additional file system is mounted.

remoteVisEnable Boolean

Specifies whether to enable Virtual Network Computing (VNC). Default value: false.

resourceGroupId String

The ID of the resource group.

sccClusterId String

The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.

schedulerType String

The type of the scheduler. Valid values: pbs, slurm, opengridscheduler and deadline. Default value: pbs.

securityGroupId String

The ID of the security group to which the cluster belongs.

securityGroupName String

If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group.

status String

The status of the resource.

systemDiskLevel String

The performance level of the ESSD that is used as the system disk. Default value: PL1 For more information, see ESSDs. Valid values:

  • PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
  • PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
  • PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
  • PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
systemDiskSize Number

The size of the system disk. Unit: GB. Valid values: 40 to 500. Default value: 40.

systemDiskType String

The type of the system disk. Valid values: cloud_efficiency, cloud_ssd, cloud_essd or cloud. Default value: cloud_ssd.

volumeId String

The ID of the additional file system.

volumeMountOption String

The mount options of the file system.

volumeMountpoint String

The mount target of the additional file system.

volumeProtocol String

The type of the protocol that is used by the additional file system. Valid values: NFS, SMB. Default value: NFS

volumeType String

The type of the additional shared storage. Only NAS file systems are supported.

vpcId String

The ID of the virtual private cloud (VPC) to which the cluster belongs.

vswitchId String

The ID of the vSwitch. E-HPC supports only VPC networks.

withoutAgent Boolean

Specifies whether not to install the agent. Default value: false.

withoutElasticIp Boolean

Specifies whether the logon node uses an elastic IP address (EIP). Default value: false.

zoneId String

The ID of the zone.

Supporting Types

ClusterAdditionalVolume

JobQueue string

The queue of the nodes to which the additional file system is attached.

LocalDirectory string

The local directory on which the additional file system is mounted.

Location string

The type of the cluster. Valid value: PublicCloud.

RemoteDirectory string

The remote directory to which the additional file system is mounted.

Roles List<Pulumi.AliCloud.Ehpc.Inputs.ClusterAdditionalVolumeRole>

The roles. See the following Block roles.

VolumeId string

The ID of the additional file system.

VolumeMountOption string

The mount options of the file system.

VolumeMountpoint string

The mount target of the additional file system.

VolumeProtocol string

The type of the protocol that is used by the additional file system. Valid values: NFS, SMB. Default value: NFS

VolumeType string

The type of the additional shared storage. Only NAS file systems are supported.

JobQueue string

The queue of the nodes to which the additional file system is attached.

LocalDirectory string

The local directory on which the additional file system is mounted.

Location string

The type of the cluster. Valid value: PublicCloud.

RemoteDirectory string

The remote directory to which the additional file system is mounted.

Roles []ClusterAdditionalVolumeRole

The roles. See the following Block roles.

VolumeId string

The ID of the additional file system.

VolumeMountOption string

The mount options of the file system.

VolumeMountpoint string

The mount target of the additional file system.

VolumeProtocol string

The type of the protocol that is used by the additional file system. Valid values: NFS, SMB. Default value: NFS

VolumeType string

The type of the additional shared storage. Only NAS file systems are supported.

jobQueue String

The queue of the nodes to which the additional file system is attached.

localDirectory String

The local directory on which the additional file system is mounted.

location String

The type of the cluster. Valid value: PublicCloud.

remoteDirectory String

The remote directory to which the additional file system is mounted.

roles List<ClusterAdditionalVolumeRole>

The roles. See the following Block roles.

volumeId String

The ID of the additional file system.

volumeMountOption String

The mount options of the file system.

volumeMountpoint String

The mount target of the additional file system.

volumeProtocol String

The type of the protocol that is used by the additional file system. Valid values: NFS, SMB. Default value: NFS

volumeType String

The type of the additional shared storage. Only NAS file systems are supported.

jobQueue string

The queue of the nodes to which the additional file system is attached.

localDirectory string

The local directory on which the additional file system is mounted.

location string

The type of the cluster. Valid value: PublicCloud.

remoteDirectory string

The remote directory to which the additional file system is mounted.

roles ClusterAdditionalVolumeRole[]

The roles. See the following Block roles.

volumeId string

The ID of the additional file system.

volumeMountOption string

The mount options of the file system.

volumeMountpoint string

The mount target of the additional file system.

volumeProtocol string

The type of the protocol that is used by the additional file system. Valid values: NFS, SMB. Default value: NFS

volumeType string

The type of the additional shared storage. Only NAS file systems are supported.

job_queue str

The queue of the nodes to which the additional file system is attached.

local_directory str

The local directory on which the additional file system is mounted.

location str

The type of the cluster. Valid value: PublicCloud.

remote_directory str

The remote directory to which the additional file system is mounted.

roles Sequence[ClusterAdditionalVolumeRole]

The roles. See the following Block roles.

volume_id str

The ID of the additional file system.

volume_mount_option str

The mount options of the file system.

volume_mountpoint str

The mount target of the additional file system.

volume_protocol str

The type of the protocol that is used by the additional file system. Valid values: NFS, SMB. Default value: NFS

volume_type str

The type of the additional shared storage. Only NAS file systems are supported.

jobQueue String

The queue of the nodes to which the additional file system is attached.

localDirectory String

The local directory on which the additional file system is mounted.

location String

The type of the cluster. Valid value: PublicCloud.

remoteDirectory String

The remote directory to which the additional file system is mounted.

roles List<Property Map>

The roles. See the following Block roles.

volumeId String

The ID of the additional file system.

volumeMountOption String

The mount options of the file system.

volumeMountpoint String

The mount target of the additional file system.

volumeProtocol String

The type of the protocol that is used by the additional file system. Valid values: NFS, SMB. Default value: NFS

volumeType String

The type of the additional shared storage. Only NAS file systems are supported.

ClusterAdditionalVolumeRole

Name string

The type of the nodes to which the additional file system is attached.

Name string

The type of the nodes to which the additional file system is attached.

name String

The type of the nodes to which the additional file system is attached.

name string

The type of the nodes to which the additional file system is attached.

name str

The type of the nodes to which the additional file system is attached.

name String

The type of the nodes to which the additional file system is attached.

ClusterApplication

Tag string

The tag of the software.

Tag string

The tag of the software.

tag String

The tag of the software.

tag string

The tag of the software.

tag str

The tag of the software.

tag String

The tag of the software.

ClusterPostInstallScript

Args string

The parameter that is used to run the script after the cluster is created.

Url string

The URL that is used to download the script after the cluster is created.

Args string

The parameter that is used to run the script after the cluster is created.

Url string

The URL that is used to download the script after the cluster is created.

args String

The parameter that is used to run the script after the cluster is created.

url String

The URL that is used to download the script after the cluster is created.

args string

The parameter that is used to run the script after the cluster is created.

url string

The URL that is used to download the script after the cluster is created.

args str

The parameter that is used to run the script after the cluster is created.

url str

The URL that is used to download the script after the cluster is created.

args String

The parameter that is used to run the script after the cluster is created.

url String

The URL that is used to download the script after the cluster is created.

Import

Ehpc Cluster can be imported using the id, e.g.

 $ pulumi import alicloud:ehpc/cluster:Cluster example <id>

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.