Updated on 2024-10-21 GMT+08:00

Purchasing Resources

After the specifications of target resources are confirmed, you can directly purchase these target resources in batches using a shopping list on MgC. Currently, only servers can be purchased this way. The purchased target servers will be automatically associated with the paired source servers. You can then manually redeploy your services on these target servers. Alternatively, you can create server migration workflows from the beginning to automate the entire purchase and service migration process.

Prerequisites

You have got target recommendations.

Procedure

  1. Sign in to the MgC console.
  2. In the navigation pane on the left, choose Design > Migration Solutions. Select a migration project in the upper left corner of the page.
  3. Click View in the Target Configuration card.
  4. In the Target Configurations area, under Server, select a server whose Assessment Status is Success, and click Add to Shopping List in the Purchase Status column.
  5. On the top of the page, click View in the Shopping List card.
  6. In the Process Flow area, click View Templates. In the My Templates window that is displayed on the right, click Create Template.
  7. In the Basic Info area, select a template type (only server is supported currently) and specify a template name. In the Configuration Info area, set template parameters based on Table 1.

    Table 1 Parameters for configuring a shopping template

    Parameter

    Configuration

    Region

    Select the region where you want to deploy target servers.

    Project

    Select a project in the target region.

    AZ

    Random is the default setting. You can also select an AZ.

    VPC

    Select a VPC in the target region.

    Subnet

    Select a VPC subnet. The subnet CIDR block must be within the selected VPC CIDR block.

    Security Group

    Select a security group that meet the following requirements:

    • Inbound ports 8899, 8900, and 22 are allowed for Windows migrations.
    • Inbound port 22 is allowed for Linux migrations

    Enterprise Project

    Select a commercial enterprise project that you want add purchased target servers to. The default enterprise project is default.

    An enterprise project makes it easy to manage projects and group cloud resources and users. For details about creating and managing enterprise projects, see the Enterprise Management User Guide.

  8. Click Save. You can view the created template in the template list.
  9. Return to the shopping list page, and click Attach Shopping Template in the Shopping Template column. In the displayed dialog box, select the created template from the drop-down list and click Confirm.
  10. Click Buy in the Operation column. Wait until the purchase status changes to Purchased, and view the ID of the purchased resource.