You can create an Elastic High Performance Computing (E-HPC) cluster based on a cluster template in the E-HPC console. Default templates contain the parameters that are required to create a cluster, such as the parameters related to zone, deployment mode, and image. You can save common parameter settings as a template and then use the template to create clusters in an efficient manner.
Prerequisites
A service-linked role for E-HPC is created. The first time you log on to the E-HPC console, you are prompted to create a service-linked role for E-HPC.
A virtual private cloud (VPC) and a vSwitch are created. For more information, see Create and manage a VPC and Create and manage a vSwitch.
File Storage NAS (NAS) is activated. A NAS file system and a mount target are created. For more information, see Create a file system and Manage mount targets.
Background information
A cluster provides computing resources and storage resources. You can submit jobs, debug jobs, store results, and view results in the cluster. Before you create and use an E-HPC cluster, take note of the following information:
You can create up to three clusters in a region. To create more clusters, submit a ticket.
You are charged E-HPC service fees and other resource fees when you create a cluster. For more information, see Billable items.
Do not use the Elastic Compute Service (ECS) console to manage nodes in the cluster. We recommend that you manage the nodes in a cluster in the E-HPC console rather than the Elastic Compute Service (ECS) console.
Procedure
Go to the template configuration page.
Log on to the E-HPC console.
In the upper-left corner of the top navigation bar, select a region.
In the top navigation bar, click Cluster.
On the Cluster page, move the pointer over the icon to the right of Create Cluster and click Cluster Template.
In the Basic Configurations section, enter the cluster name and logon password.
In the template configuration section, configure the template parameters.
The following section describes how to configure the parameters in the template configuration section:
: imports a cluster template from the on-premises machine.
: saves the cluster template to your on-premises machine.
: selects a template provided by E-HPC.
: views network and storage configurations. The network configurations include the virtual private cloud (VPC) ID and vSwitch ID. The storage configurations include the File Storage NAS (NAS) file system ID and mount target.
: queries supported instance types.
This topic uses the following template as an example. Modify the parameters based on your business requirements.
NoteIf you select a Batch Serverless template to create a serverless cluster, see Create a serverless cluster.
[Global] zoneId=cn-shenzhen-a ecsChargeType=PostPaid [Node] deployMode=Standard ecsOrderComputeInstanceType=ecs.c6.large ecsOrderComputeCount=1 ecsOrderManagerInstanceType=ecs.c6.large ecsOrderLoginInstanceType=ecs.c6.large systemDiskSize=40 [Image] osTag=CentOS_7.6_64 imageOwnerAlias=system [Network] vpcId=vpc-wz9lq2oynq8tia5h8**** vSwitchId=vsw-wz992iw34x8on06he**** securityGroupId=sg-bp13n61xsydodfyg**** [Storage] volumeId=2bfe3480a3 volumeMountpoint=2bfe348***-cs***.cn-shenzhen.nas.aliyuncs.com [Scheduler] schedulerType=pbs [Account] accountType=nis
The following table describes the parameters in the template.
In the upper-right corner of the page, read and select Alibaba Cloud International Website Product Terms of Service, and then click OK.
Result
After you create the cluster, you can check the status of the cluster on the Cluster page. If the cluster and all nodes in the cluster are in the Running state, the cluster is created.