Updated on 2022-06-11 GMT+08:00

Creating a Server Template

Scenarios

SMS allows you to create server templates for quick configuration. You can use these templates to quickly configure target server settings, such as VPC, Subnet, and Security Group.

Procedure

  1. Log in to the management console.
  2. Click Service List. Under Migration, click Server Migration Service.
  3. In the navigation pane on the left, choose Configurations to switch to the desired page.
  4. In the upper right corner of the Server Templates area, click Create Server Template.
  5. 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 the target server resides from the drop-down list.
    • By default, the region is the one set in the default migration template, but you can select another region you want to use.

    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 recommend a VPC when you use this template to configure the target server.

    • If the source IP address is 192.168.X.X, SMS will recommend a VPC and a subnet that both belong to network segment 192.168.0.0/16.
    • If the source IP address is 172.16.X.X, SMS will recommend a VPC and a subnet that both belong to network segment 172.16.0.0/12.
    • If the source IP address is 10.X.X, SMS will recommend a VPC and a subnet that both belong to network segment 10.0.0.0/8.

    Subnet

    • If you select Create during migration, SMS will recommend a subnet when you use this template to configure the target server.
    • The subnet is in the same network segment as the VPC.

    Security Group

    If you select Create during migration, SMS will recommend a security group and allow traffic on required ports when you use this template to configure the target server.

    • Windows: ports 8899, 8900, and 22
    • Linux: port 22 for file-level migration and ports 8900 and 22 for block-level migration

    AZ

    The parameter is set to Random by default. You can also select another AZ.

    Data Disk

    The value can be Common I/O, High I/O, or Ultra-high I/O.

  6. Click OK.

Related Operations

You can perform the following operations on a created server template.

Operation

Description

Modifying a server template

  1. Locate the server template you want to modify and click Modify in the Operation column.
  2. In the displayed Modify dialog box, modify the parameters and click OK.

Deleting a server template

  1. Locate the server template you want to delete and click Delete in the Operation column.
  2. In the displayed Delete dialog box, click OK.