Creating a Security Group

Last updated: 2020-03-06 10:50:16

    Scenario

    Security Groups act as virtual firewalls for CVMs. Each CVM instance must associate with at least one security group. By default, each CVM instance has two templates (Open all ports and Open port 22, 80, 443, 3389 and ICMP protocol) for creating a default security group. For details, refer to Security Group Overview.

    If the default security group does not meet your needs, you can create your own security group as instructed below.

    Directions

    1. Log in to the CVM Console.
    2. In the left sidebar, select Security Group. The Security Group page then appears.
    3. Select a region for the security group. Click +New.
    4. In the Create a security group page, complete the following configurations:
      • Template: select a template that suits your needs, as shown below:
        TemplateDescriptionNotes
        Open all portsAll ports are open. May present security issues.-
        Open port 22,80,443,3389 and ICMP protocolPort 22, 80, 443 and 3389, and the ICMP protocol are open. All ports are open internally.Suitable for instances with web services.
        CustomCreates a blank security group in which rules are added afterwards. For details on how to add rules, refer to this article.-
      • Name: name of the security group.
      • Project: by default, Default project is selected. Select a project for better management.
      • Notes: a short description for the security group.
    5. Click OK to create the security group.
      If you select Custom as the template for your security group, click Add rules now to add security group rules.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help