Creating an Application Cluster
Scenarios
You can create multiple ECSs in batches within several minutes. This section describes how to create an application cluster using a private image on the management console or by calling HTTPS-based APIs.
Through the Management Console
- Log in to the management console.
- Under Computing, click Elastic Cloud Server.
The Elastic Cloud Server page is displayed.
- Click Create ECS.
- Set ECS parameters as prompted. For details, see section Creating an ECS That Supports InfiniBand NICs.
- Specifications: must be consistent with those of the ECS used to create the private image.
- Image: Select Private image and then the private image created in step Creating a Private Image Using an ECS.
- VPC: Select the VPC to which all ECSs in the HPC cluster belong.
- EIP: Select Not required.
Each cluster requires only one EIP. Therefore, bind an EIP after creating an application cluster.
- Quantity: specifies the number of ECSs to be created.
- Click Next.
- On the page for you to confirm ECS configurations, view details about the ECSs.
After confirming ECS configurations, click Submit.
After the ECSs are created, you can view details about them on the ECS list. These ECSs function as an HPC cluster.
Through APIs
The following operations describe how to create an H2 ECS cluster:
- URI
- Example request
For example, if you want to create four ECSs, change the value of count to 4. An example request is as follows:
curl -i -k -H 'Accept:application/json;charset=utf8' -H 'Content-Type:application/json' -H 'X-Auth-Token:$TOKEN' -d '{"server":{"availability_zone":"eu-de-01","name":"h2_cluster_vm","imageRef":"7474de73-9618-4c6a-afaa-df60df57c9b9","flavorRef":" h2.3xlarge.10","root_volume":{"volumetype":"SATA","size":40},"vpcid":"97701dc4-bfd3-4021-8b89-044486c8b317","nics":[{"subnet_id":"6712fc43-a196-4973-8b5e-5e4763f6449b"}],"personality":[],"count":4,"adminPass":"Test@123"}}' -X POST https://46.29.103.37:443/v1/240bb6c5e42849669fc49933c185232b/cloudserver
If each ECS in the cluster must have an EIP bound to it, multiple EIPs must be created. For details, see the "API" part in section Creating an ECS That Supports InfiniBand NICs.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot