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. 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 Apply for Server 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 Cloud server parameters Parameter
Description
Example Value
Specifications
Select the planned ECS flavor, for example, s6.xlarge.2.
s6.xlarge.2
VPC
Select the planned VPC.
fa_vpc
Subnet
Select the planned subnet.
subnet-fa
ECS Name
The value can be customized.
WKS-desktop_temp
Enterprise Project
Select an enterprise project.
default
- Click OK.
After the request is successful, 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 Value
Name
The value can be customized.
-
Enterprise Project
Use the enterprise project selected in 4.
NOTE:This parameter is mandatory when the enterprise project function is enabled.
default
Template
- General-purpose web server: The security group that you create using this template is for general-purpose web servers and includes default rules that allow all inbound ICMP traffic and allow inbound traffic on ports 22, 80, 44, and 3389. This template type applies to cloud servers for remote login, public network ping, and website services.
- All ports open: The security group that you create using this template includes default rules that allow inbound traffic on all ports. Note that allowing inbound traffic on all ports poses security risks.
- Customization: Users can configure this parameter as required.
-
- Locate the row that contains the security group created in 9, and click Configure Rule. 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 Instance.
- 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.