Managing a Server Template
What Is a Server Template?
A server template defines the environment settings for servers, such as VPC, subnet, and security group settings.
You can modify your server templates at any time.
Procedure
- Sign in to the SMS console.
- In the navigation pane, choose Templates.
- In the upper right corner of the Server Templates area, click Create Server Template.
Figure 1 Create Server Template
- Enter a template name, click
next to Configuration, and set parameters listed in Table 1.
Table 1 Parameters Parameter
Description
Region
- Select a region where you want to provision a target server.
- By default, the region is the one set in the default migration template, but you can change it as needed.
Project
- Select a project in the region from the drop-down list.
- You can select a project only after a region is selected.
VPC
If you select Create during migration, SMS will create a VPC when you use this template to configure a target server.
- If the source IP address is 192.168.X.X, SMS will create a VPC and a subnet that both belong to network range 192.168.0.0/16.
- If the source IP address is 172.16.X.X, SMS will create a VPC and a subnet that both belong to network range 172.16.0.0/12.
- If the source IP address is 10.X.X, SMS will create a VPC and a subnet that both belong to network range 10.0.0.0/8.
Subnet
- If you select Create during migration, SMS will recommend a subnet when you use this template to configure a target server.
- The subnet is in the same network segment as the VPC.
Security Group
- If you select Create during migration, SMS will create a security group and enable the required ports when you use this template to configure a target server.
- Windows: ports 8899, 8900, and 22
- Linux: port 22 for file-level migration and ports 8900 and 22 for block-level migration
CAUTION:
- For security purposes, you are advised to only allow traffic from the source server to the ECS over these ports.
- The firewall of the target server must allow traffic to these ports.
AZ
The parameter is set to Random by default. You can also select another AZ.
Disk Type
The value can be Common I/O, High I/O, or Ultra-high I/O.
- Click OK.
Modifying a Server Template
- Sign in to the SMS console.
- In the navigation pane, choose Templates.
- Locate the server template to be modified and click Modify in the Operation column.
Figure 2 Modifying a server template
- Modify the template settings and click OK.
Deleting a Server Template
- Sign in to the SMS console.
- In the navigation pane, choose Templates.
- Locate the server template to be deleted and click Delete in the Operation column. If multiple templates need to be deleted, select them and click Delete above the list.
Figure 3 Deleting server templates
- Click OK.
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