A security group is a virtual firewall for CVM instances. Each CVM instance must belong to at least one security group. Tencent Cloud provides two templates: Open all ports to the Internet and Open ports 22, 80, 443, and 3389 and ICMP protocol to the Internet. With these templates, you can create a default security group when creating a CVM instance if you have not yet created a security group.
If you do not want your CVM instance to join the default security group, you can create another security group in the CVM console as follows:
Template | Description | Scenario |
---|---|---|
Open all ports to the Internet | By default, all ports will be opened to the Internet and private network, which however may incur security risks. | - |
Open ports 22, 80, 443, and 3389 and the ICMP protocol to the Internet | By default, ports 22, 80, 443, and 3389 and the ICMP protocol will be opened to the Internet. In addition, all ports will be opened to the private network. | The web service needs to be deployed for instances in the security group. |
Custom | After creating a security group, you can add security group rules as required. For details about the operation, see Adding Security Group Rules. | - |
Was this page helpful?