Virtual Machines


Virtual Machines


Instance Login Credential Configuration

The instance login credentials include the login password and the key pair.

For Linux instances, it is recommended to login to the instance using key pair.

For Windows instances, it is recommended to change the password periodically and try to increase the password strength to avoid the risk of brute force attack caused by weak passwords. The password is recommended to contain at least 8 digits, the complexity of which shall be increased in the type of characters, such as letters in uppercase and lowercase, numbers and special characters.

System Vulnerability Protection

For system vulnerabilities, it is recommended to periodically resolve them through system patches. For Linux system, tasks should be set regularly to execute yum update -y to update system packages and kernels. For Windows system, the patch update is recommended to be always enabled.

Account Access Management

When multiple different accounts are required to control a same group of instances, the user can use the access to cloud through Identity and Access Management.

Division of VPC

Choose to use VPC to divide logical areas, deploy instances of different business attributes in different VPCs, or in different subnets of a same VPC, and configure the identity and access management between subnets through network ACL to isolate instances at different security levels inside the enterprise. For more information, please refer to VPC.

Security Group Configuration

When using a security group, it is recommended to configure the security group according to principle.

  • Minimum Authorization.

    Restrict the access by using the allowed trusted address of security group to access instances. Configure the strictest rules in security group. Since the security group employs a White List mechanism, you only need to open the traffic port configuration that allows access.

    For example, you can configure that only allowing your local VM to access the TCP inbound traffic of port 80. If your local VM's public IP address is, you can add a security group rule with source of, protocol of TCP and destination port of 80. Please refer to the security group for more information.

  • Create and Apply Different Security Groups on Instance Groups of Different Services.

    For example, you should use different security groups for the Web, Service, Database, and Cache layers, and expose different access rules and permissions to ensure that instances of different important businesses cannot be easily accessed from outside to ensure business security.

  • Do Not Use Network Access Rule of

    Opening means that all ports are exposed, which is very dangerous. The principle of minimum authorization should be referred to and only a minimum number of ports should be opened. For example, for Web server, only ports 80, 8080 and 443 should be opened.

  • Delete Unnecessary Security Groups. Security rules in a security group are similar to a White List. Therefore, please do not keep unnecessary security groups to avoid unnecessary troubles caused by adding an instance by error.

Update Time:2019-08-28 21:38:31