Creating an ECS
Scenario
This section describes how to create an ECS for subsequent ECS configuration and image creation.
Prerequisites
- You have obtained the username and password for logging in to the console.
- You have registered a private image using an ISO file. For details, see Registering a Private Image Using an ISO File.
Procedure
Creating an ECS
- Log in to the console.
- Click Service List. Under Compute, click Image Management Service.
The IMS console is displayed.
- Click Create ECS in the Operation column of the private image created in Registering a Private Image Using an ISO File.
- On the displayed page, configure the parameters in Table 1 and retain the default values for other parameters.
Table 1 ECS configuration Parameter
Description
Example
Flavor
Select the desired ECS flavor. For example, select s6.xlarge.2 for a common image. If the GPU image type is RTX, the value can be g5r.
s6.xlarge.2
VPC
Select the desired VPC.
fa_vpc
Subnet
Select the desired subnet.
subnet-fa
Name
The value can be customized.
WKS-desktop_temp
Enterprise Project
Select an enterprise project.
NOTE:This parameter is mandatory if the enterprise project has been enabled.
default
- Click OK.
The created ECS is displayed in the ECS list on the ECS console.
Configuring a security group policy
- In the Service List, choose Networking > Virtual Private Cloud.
- In the navigation pane on the left, choose Access Control > Security Groups.
- In the upper right corner of the Security Groups page, click Create Security Group.
The page for creating a security group is displayed.
- Configure the parameters of a security group, as shown in Table 2.
Table 2 Security group configuration Parameter
Description
Example
Name
The value can be customized.
-
Enterprise Project
Use the enterprise project selected in 4.
NOTE:This parameter is mandatory if the enterprise project has been enabled.
default
Template
- General-purpose web server: allows all inbound ICMP traffic and inbound traffic on ports 22, 80, 443, and 3389. This template applies to ECS for remote login, public network ping, and website services.
- All ports open: allows inbound traffic on all ports. Note that this poses security risks.
- Fast-add rule: You can select common protocols and ports to quickly add inbound rules. If you do not select any protocols or ports, all of them will be closed. You can add or modify security group rules as required after a security group is created.
-
- Locate the row that contains the security group created in 9, and click Manage Rules. On the Inbound Rules tab, click Add Rule. In the displayed dialog box, set Protocol & Port, as shown in Table 3.
- Locate the row that contains the security group created in 9, and click Manage Instances.
- On the Associated Instances page, click Add on the Servers tab.
- Select ECS, select the ECS created in 4, and click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.