Updated on 2024-05-06 GMT+08:00

Purchasing Resources

After the specifications of target resources are configured, you can directly purchase these target resources in batches using a shopping list on MgC. Currently, only servers can be purchased using a shopping list. A shopping list makes it easier to use the repurchase migration strategy by allowing you to buy wanted target resources in batches. If you want to use the rehost strategy, you can create server migration workflows which automate the entire purchase process. Target servers purchased using a shopping list will be associated with the paired source servers automatically, and you can migrate the source servers using migration workflows as a part of your rehost strategy.

Prerequisites

Target configurations have been acquired for source resources. For details, see Getting Target Configurations.

Procedure

  1. Log in to the MgC console.
  2. In the navigation pane on the left, choose Design > Migration Solutions.
  3. Click View Resources in the Target Configuration card.
  4. On the Server tab page in the Target Configurations area, locate a server whose Assessment Status is Successful, and click Add to Shopping List in the Purchase Status column.
  5. Click View in the Shopping List card on the top of the page.
  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 region in the target region.

    AZ

    This parameter is set to Random by default. You can also select another 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:

    • To migrate Windows servers to this security group, the security group must be configured to allow access on ports 8899, 8900, and 22.
    • To migrate Linux servers to this security group, the security group must be configured to allow access on port 22.

    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 is Purchased, and view the ID of the purchased resource.