Purchasing an ECS

Scenarios

ECSs are more cost-effective than physical servers. Within minutes, you can obtain ECS resources from the public cloud. ECS resources are flexible and on-demand. This section describes how to purchase an ECS.

Notes

Dedicated physical resources

To make an ECS run on isolated physical hardware, apply for a Dedicated Cloud (DeC) before creating the ECS.

For details about DeC and how to apply for DeC, see Dedicated Cloud User Guide.

Procedure

  1. Log in at Huawei 3data Cloud website http://huaweicloud.ru/.
  2. In the upper right corner of the page, click Register.

    The registration page is displayed. Enter required information as prompted to register an account. For details, see section Register on Public Cloud Management Console.

    After you register successfully, the system automatically redirects you to your personal information page.

  3. Switch back to the homepage and click Console in the upper right corner.
  4. Log in to the management console.
  5. Under Computing, click Elastic Cloud Server.
  6. Click Buy ECS.
  7. Select a charging mode, Yearly/Monthly or Metered.
    • In Yearly/Monthly charging mode, purchase an ECS configuration and set Validity Period. Then, the system deducts the fees incurred from your account based on the service price at one time.
      NOTE:

      The ECSs paid in monthly/yearly mode cannot be deleted. They support only resource unsubscription. To unsubscribe such an ECS, click User Center in the upper right corner of the page and perform resource unsubscription operations.

    • In Metered charging mode, after purchasing an ECS configuration, you do not need to set Validity Period. Then, the system deducts the fees incurred from your account based on the service duration.
  8. Confirm the region.

    If the region is incorrect, click in the upper left corner of the page for correction.

  9. Select an availability zone (AZ).

    An AZ is a physical region where power and networks are physically isolated. AZs in the same region can communicate with each other over an intranet. To enhance application availability, create ECSs in different AZs.

  10. Set ECS TypevCPU, and Memory.

    The public cloud provides various ECS types for different application scenarios.

    NOTE:
    • Before selecting an ECS type, familiarize yourself with various ECSs. For details, see sections ECS Types and Specifications and Scenarios.
    • When purchasing an ECS, you are not allowed to select sold-out CPU and memory resources.
  11. Set Local Disk.

    This parameter is optional and is automatically displayed when you use a local disk.

    A local disk specifies the local storage for the physical machine where the ECS is deployed. Only hard disk drives (HDDs) are supported. If you select the disk-intensive ECS type, the system automatically attaches local disks to the ECS.

    For example, if the Local Disk value is 3 x 1800 GB, three HDD disks are attached to the ECS and the capacity of each disk is 1800 GB.

  12. Click Image.
    • Public Image

      A public image is a standard, widely used image. It contains an OS and preinstalled public applications and is available to all users. You can configure the applications or software in the public image as needed.

    • Private Image

      A private image is an image available only to the user who created it. It contains an OS, preinstalled public applications, and the user's private applications. Using a private image to create ECSs removes the need to configure multiple ECSs repeatedly.

      You can also select an encrypted image. For details, see Image Management Service User Guide.

    • Shared Image

      A shared image is a private image shared by another user.

    • Marketplace Image

      The Marketplace is a store where you can buy third-party images that have the OS, application environment, and software pre-installed. You can use the images to deploy websites and application development environments with a few clicks, and no additional configuration operation is required.

      If you use a Marketplace image, after you click Marketplace Image, the system displays Marketplace images for you to select. For example, if the image product is name1 (test_001)name1 is the image name, and test_001 is the product name. You can search for your desired Marketplace image by image name or product name. Alternatively, you can click the image name to view more information about the product. 

  13. Set Disk.
    Disks are classified as EVS disks and DSS disks based on whether the storage resources used by the disks are exclusive. DSS disks allow you to use exclusive storage resources. If you have applied for a storage pool on the DSS service page, you can click the DSS tab and create disks in the requested storage pool. If you have not applied for an exclusive storage pool, click the EVS disk tab. Then, the created disks use public storage resources.
    NOTE:
    • When you use DSS resources to create a disk, the disk type must be the same as that of the requested storage pool. For example, both are of high I/O type.
    • For more information about DSS, see Dedicated Storage Service User Guide.

    A disk can be a system disk or a data disk. You can create multiple data disks for an ECS and customize the system disk size.

    • System Disk

      If the image based on which an ECS is created is not encrypted, the system disk of the ECS is not encrypted. In addition, Unencrypted is displayed for the system disk on the page. If the image based on which an ECS is created is encrypted, the system disk of the ECS is automatically encrypted. For details, see section (Optional) Encryption-related parameters.

    • Data Disk

      You can create multiple data disks for an ECS and configure sharing and encryption for each data disk.

      • SCSI: indicates that the device type of the data disk is SCSI. For more information about SCSI disks and the ECSs that can be attached with SCSI disks, see section Data Storage.
      • Share: indicates that the EVS disk is shared. Such an EVS disk can be attached to multiple ECSs.
      • Encryption: indicates that the data disk is encrypted. For details, see section (Optional) Encryption-related parameters.
      • Create Disk from Data Disk Image: If you have created a data image on the Image Management Service page, when using a Windows or Linux image to create an ECS, you can use a data disk image to create a disk for the ECS.

        Click Create Disk from Data Disk Image. In the dialog box that is displayed, select your data image.

        NOTE:
        • One data disk image can be used only for one data disk.
        • When you use a data disk image to create a disk, SCSIShare, and Encryption are unavailable.
        • For instructions about how create a data image, see Image Management Service User Guide.
    • (Optional) Encryption-related parameters

      To enable encryption, click Create Xrole to grant KMS access rights to EVS. If you have rights granting permission, grant the KMS access rights to EVS. If you do not have the permission, contact the user having the security administrator rights to grant the KMS access rights. For details, see section Who Can Use the Encryption Feature?

      • Encrypted: indicates that the EVS disk has been encrypted.
      • Create Xrole: grants KMS access rights to EVS to obtain KMS keys. After the rights are granted, follow-up operations do not require rights granting again.
      • KMS Key Name: specifies the name of the key used by the encrypted EVS disk. By default, the name is evs/default.
      • Xrole Name: EVSAccessKMS: specifies that rights have been granted to EVS to obtain KMS keys for encrypting or decrypting EVS disks.
      • KMS Key ID: specifies the ID of the key used by the encrypted data disk.

    For the disk types supported by an ECS, see Data Storage. For more information about EVS disks, see Elastic Volume Service User Guide.

    NOTE:

    If you detach the system disk purchased when you buy an ECS charged in yearly/monthly mode and want to continue using it as a system disk, you can only attach it to the original ECS. If you want to use it as a data disk, you can attach it to any ECS.

    If you detach the data disk purchased when you buy an ECS charged in yearly/monthly mode and want to attach it again, you can only attach it to the original ECS as a data disk.

    The data disk purchased when you buy an ECS charged in yearly/monthly mode does not support separate renewal, unsubscription, automatic service renewal, conversion to on-demand payment, and release.

  14. Configure automatic backup.

    After you enable automatic backup, the system automatically backs up the data of EVS disks, including the system disk and data disks according to your backup policy.

    1. Select Enable for Auto backup. Then, the system binds the automatic backup policy to EVS disks, including the system disk and data disks.
    2. Configure Backup Policy.

      The system provides a default backup policy. If the policy does not meet your service requirements, select another backup policy from the drop-down list or click Manage Backup Policy to configure a backup policy on the VBS page.

    3. If the selected backup policy is disabled, the system only binds the policy to the EVS disks but does not back up EVS disk data. To back up EVS disk data, ensure that the backup policy is enabled.

    For more information about EVS disk backup, see Volume Backup Service User Guide.

  15. Set network parameters, including VPCSecurity Group, and NIC.
    Table 1 Parameter descriptions

    Parameter

    Description

    VPC

    Provides a network, including subnet and security group, for an ECS.

    You can select an existing VPC, or click View VPC and create a desired one.

    For more information about VPC, see Virtual Private Cloud User Guide.

    NOTE:

    DHCP of the VPC to which the ECS belongs must be enabled.

    Security Group

    Controls instance access within or between security groups by defining access rules. This enhances instance security.

    When creating an ECS, you can select multiple security groups (no more than five is recommended). In such a case, the access rules of all the selected security groups apply on the ECS.

    Security group rules determine ECS access and usage. For instructions about how to configure a security group rule, see section Adding a Security Group Rule.

    NOTE:

    Before initializing an ECS, ensure that security group rules in the outbound direction meet the following requirements:

    • Protocol: TCP
    • Port Range: 80
    • Remote End: 169.254.0.0/16

    If you use the default security group rules in the outbound direction, the preceding requirements are met, and the ECS can be initialized. Default security group rules in the outbound direction are as follows:

    • Protocol: ANY
    • Port Range: ANY
    • Remote End: 0.0.0.0/16

    NIC

    Includes primary and extended NICs.

    You can add multiple extended NICs to an ECS.

    MTU Settings: optional

    If your ECS is of M2, large-memory, H1, or D1 type, you can click MTU Settings to configure the maximum transmission unit (MTU) for a to-be-added extended NIC for improving network performance.

    An MTU can only be a number, ranging from 1280 to 8888.

    EIP

    A static public IP address bound to an ECS in a VPC. Using the EIP, the ECS provides services externally.

    The following options are provided:

    • Do Not Use

      Without an EIP, the ECS cannot access the Internet and is used only in the private network or cluster.

    • Automatically Assign

      The system automatically assigns an EIP for the ECS. The EIP provides exclusive bandwidth that is configurable.

    • Specify

      An existing EIP is assigned for the ECS. When using an existing EIP, you cannot create ECSs in batches.

    Specifications

    Includes Dynamic BGP and Static BGP.

    When the network structure changes, Dynamic BGP promptly optimizes the network structure to ensure stable and efficient running of your network.

    Charging Mode

    This parameter is mandatory if EIP is set to Automatically Assign.

    It indicates the bandwidth charging mode of the purchased EIP, which includes the following options:

    • By bandwidth: You are charged by the purchased bandwidth.
    • By traffic: You are charged based on the actual traffic you have used.
  16. Set Login Mode.
    • Key pair

      A key pair is used for ECS login authentication. You can select an existing key pair, or click View Key Pair and create a desired one.

      NOTE:

      If you use an existing key pair, make sure that you have saved the key file locally. Otherwise, logging in to the ECS will fail.

    • Password

      The initial password of user root (for Linux) or user Administrator (for Windows) is used for authentication. You can log in to an ECS using the username and its initial password.

  17. Configure Advanced Settings.
    To use functions listed in Advanced Settings, click  Configure now. Otherwise, click  Do not configure.
    • File Injection

      Enables the ECS to automatically inject a script file or other files into a specified directory on an ECS when you create the ECS. This configuration is optional.

      For example, if you activate user root permission using script file injection, you can log in to the ECS as user root.

      For detailed operations, see section (Optional) Injecting Files into ECSs.

    • User Data Injection

      Enables the ECS to automatically inject user data when the ECS starts for the first time. This configuration is optional.

      For example, if you activate user root permission using user data injection, you can log in to the ECS as user root.

      For detailed operations, see section (Optional) Injecting User Data into ECSs.

    • Auto Recovery
      • After Auto Recovery is enabled, the system automatically migrates ECSs to physical machines that are working properly when hardware of physical machines breaks down, minimizing the impact to users. ECSs will restart in this process.
      • If Auto Recovery is not enabled, users must wait for the system administrator to recover ECSs when hardware becomes faulty.
      NOTE:

      The following types of ECSs support automatic recovery: C1, C2, S1, M1, H1, and G1.

    • ECS Group

      An ECS group applies the anti-affinity policy to the ECSs in it so that the ECSs can be distributed on different hosts. This configuration is optional. For instructions about how to create an ECS group, see section (Optional) Creating an ECS Group.

    • Tag

      Tags an ECS, facilitating ECS identification and management. This configuration is optional. You can add up to 10 tags to an ECS.

      NOTE:

      When you create an ECS, the system automatically generates a built-in tag for your ECS, in addition to your manually added tags. The built-in tag is unavailable on the management console, and its key is the VPC ID of your ECS.

      For more details, see section "Managing Tags" in Modifying Basic ECS Configurations.

  18. Set ECS Name.

    An ECS name can be customized. If you want to purchase multiple ECSs at a time, the system automatically sequences these ECSs.

  19. Configure the number of ECSs to be purchased.
    • Validity Period: sets the service duration if you select the Yearly/Monthly charging mode. The service duration ranges from one month to three years.
    • Purchase Quantity: sets the number of ECSs to be purchased.

      The maximum number of ECSs you are allowed to purchase is displayed. To ensure effective resource usage, an upper limit is set on the ECSs to be purchased. If the number of ECSs you need exceeds the maximum number of ECSs you are allowed to purchase, click Apply for Higher Quota to obtain a higher quota. You can purchase the ECSs you need after the request is approved.

    • Price: shows the ECS configuration fee.

      For details, click Price Details.

  20. Click Buy Now.
    • If you select Metered, click Buy Now.
    • If you have any question about the price, click Price Details.
  21. On the page for you to confirm ECS specifications, you can view details about the application and submit the application.
    • In Yearly/Monthly charging mode, after confirming the specifications and price of the order, select I have read and agree to Huawei Elastic Cloud Server Agreement and System Image Disclaimer and click Submit Order. If you do not want to pay the order now, click Conform Order and Pay Later on the right of Submit Order. The system reserves your order. You can choose Order > Unpaid Orders on the page showing your personal information to locate your unpaid order and click Pay Now or Cancel Order.
    • In Metered charging mode, after confirming the specifications and price of the order, select I have read and agree to Huawei Elastic Cloud Server Agreement and System Image Disclaimer and click Submit Order.
  22. Select a payment mode, and click OK.
    NOTE:

    This operation applies only to the Yearly/Monthly charging mode.

    • The system provides four payment modes: Pay by balancePay by platformPay by online banking, and Pay by transfer and remittance.
    • If you select Pay by balance, recharge your account in time to ensure that your account has sufficient balance to pay your order.
    • If you select Pay by platform and Pay by online banking, perform operations as prompted to pay your order.
    • If you select Pay by transfer and remittance, transfer money to a specified account based on information provided on the displayed page and submit a work order.
  23. The system performs different operations for different charging modes.
    • Yearly/monthly: Pay for the ECS as prompted by the system. After the payment succeeds, the system automatically creates the ECS. You can view the ECS creation progress on the Elastic Cloud Server page.
    • Metered: After you apply for an ECS, if the account balance is sufficient, the system automatically creates the ECS. You can view the ECS creation progress on the Elastic Cloud Server page.
  24. Click Buy Now.
  25. If you create an ECS with added data disks, initialize the disks after the ECS is created.

    For details, see section "Initializing an EVS Data Disk" in Elastic Volume Server User Guide.

Follow-up Procedure

  • Creating an ECS takes several minutes. You can check the progress of ECS creation by viewing the ECS creation status. For details, see section Viewing ECS Creation Status.
  • If an H2 ECS is created using a private image, install an InfiniBand NIC driver on the ECS after the ECS creation following the instructions provided by Mellanox. Download the required version (4.2-1.0.0.0) of InfiniBand NIC driver from the official Mellanox website and install the driver by following the instructions provided by Mellanox.
  • After installing an ECS and logging in to it, you are advised to install password reset plugins. If your ECS password is lost or expires, you can use the plugins to reset the password with a few clicks. For how to install the password reset plugins, see (Optional) Installing One-Click Password Reset Plugins.
Registration