Step 2: Purchase an HECS
Scenarios
This section describes how to purchase an HECS.
Notes
Certain parameters on the Buy HECS page use default system settings to speed up configurations. For details about these configurations, see the following table.
| Parameter | Configuration |
|---|---|
| Billing Mode | Yearly/Monthly |
| AZ | Randomly allocated and cannot be changed. |
| Image | Public image, Marketplace image, and private image NOTE:
|
| VPC | Allocated by default and cannot be changed. |
| Security Group | Allocated by default but can be changed after the HECS is created. For details, see Default Security Groups and Security Group Rules. |
| EIP | Automatically assigned by default. NOTE: If you customize the configuration and set Bandwidth to Do not configure when purchasing an HECS, you can attach an EIP to the HECS after the HECS is purchased. |
| Disk | Only a system disk is allocated. You can add one data disk during HECS purchase or add more after HECS purchase. |
| HECS Name | The default HECS name consists of hecs_ and a 4-digit random number. You can change the name after the HECS is created. |
| Password |
|
Prerequisites
HECSs can only be billed on a yearly/monthly basis. Before purchasing an HECS, make sure that you have registered on HUAWEI CLOUD and your credit balance is sufficient. For details, see Registering on the HUAWEI CLOUD Management Console.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select your region and project. - Under Computing, click Hyper ECS.
- Click Buy HECS.
The Buy HECS page is displayed.
- Select a region.
HECSs in different regions cannot communicate with each other over a private network. For lower network latency and quick resource access, select the nearest region.
The AZ is randomly allocated and cannot be changed.
- Select an image.
- A public image is a widely used standard image. It contains an OS and preinstalled public applications and is available to all users. After an HECS is created using a public image, you can deploy applications or software on the HECS as required. Table 2 lists the functions recommended for public images.
Table 2 Functions supported by public images Name
Description
How to Enable
Host security
If you select certain public images, it is a good practice to use the host security function. HSS helps you improve server security in every aspect. It can defend against account hacking attacks, detect weak passwords, and prevent unauthorized logins by two-factor authentication.
Select Host Security (basic edition). If you select this option, the system automatically installs the HSS agent and defends against account hacking attacks to improve your server security.
For details about how to check the host security, see Host Security.
Host monitoring
If you select certain public images, it is a good practice to use the host monitoring function. Cloud Eye monitors vCPUs, memory, network, disks, and processes of the HECS, so that you can view resource utilization or locate a fault.
Select Cloud Eye. If you select this option, the Agent will be automatically installed on the HECS and be granted the permissions required for monitoring.
For details about the monitoring metrics, see OS Monitoring Metrics Supported by HECSs with the Agent Installed.
- A Marketplace image is a third-party image that contains an OS, preset application environment, and software. Use the images to deploy websites and application development environments with a few clicks. No additional configuration is required.
- A public image is a widely used standard image. It contains an OS and preinstalled public applications and is available to all users. After an HECS is created using a public image, you can deploy applications or software on the HECS as required.
- Select a configuration.
For details, see Step 1: Select a Configuration.
- (Optional) Create a data disk with a customized size for the HECS. The disk is of the VBD type by default.
- Set a login password.
- Set a password when creating the HECS.
A username and its initial password are used for HECS authentication.
The initial password of user root is used to authenticate Linux HECSs, while that of user Administrator is used to authenticate Windows HECSs.
The passwords must meet the requirements described in Table 3.Table 3 Password complexity requirements Parameter
Requirement
Example Value
Password
- Consists of 8 to 26 characters.
- Contains at least three of the following character types:
- Uppercase letters
- Lowercase letters
- Digits
- Special characters: $!@%-_=+[]:./^,{}?
- Cannot contain the username or the username spelled backwards.
- Cannot contain more than two characters in the same sequence as they appear in the username. (This requirement applies only to Windows HECSs.)
YNbUwp!dUc9MClnv
NOTE:The example password is generated randomly. Do not copy it for use.
The system does not periodically change the password. It is recommended that you change your password regularly for security.
- Set the password after creating the HECS.
After the HECS is created, select Reset Password in the Operation column, set a password for the HECS as prompted, and log in to the HECS.
- Set a password when creating the HECS.
- Set the required duration.
The required duration of a yearly/monthly HECS ranges from one month to three years.
If you select Auto renew, your order will automatically renew on a monthly or yearly basis, depending on if you purchased 1-9 months, or 1-3 years.
- Configure the number of HECSs to be purchased.
- Quantity: sets the number of HECSs to be purchased.
- HECS Price: shows the HECS configuration fee.
- Agree to the service agreement, click Next, and complete the payment as prompted.
Last Article: Step 1: Select a Configuration
Next Article: Step 3: Reset the HECS Password and Log In to the HECS
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.