ACG
    • PDF

    ACG

    • PDF

    Article Summary

    Available in Classic

    ACG describes the screen configuration of the ACG menu and ACG information and explains how to create, set, and delete an ACG.

    Access Control Group (ACG) is an IP/Port-based filtering firewall service that enables you to control and manage network access between servers. By using ACG, you can easily establish and manage ACG rules for server groups without needing to separately manage the existing firewalls (iptables, UFW, and Windows firewall). You can use the ACG provided by default in NAVER Cloud Platform, or set rules for the ACG you create to use it.

    Note
    • The following are the restrictions in using ACG.
      • You can create up to 100 ACGs per account.
      • Up to 100 rules can be set for each ACG.
      • A server can be repeatedly included in up to 5 ACGs.
      • The ACG selected at server creation can't be changed, and the ACG rules apply until termination of the server.
    • When you create a load balancer, an ACG (ncloud-load-balancer) for the load balancer is created automatically. To use the service, the permission rule that specifies the access source as the load balancer must be added in the ACG of the server actually bound by the load balancer.
    • After the permission rule for the load balancer is added to the ACG, communications with servers can continue if there is continued health check request by the load balancer for servers, even if the rule is deleted later. To block the communication with the server, restart the connected load balancer.

    Check ACG information

    You can check ACG information on the ACG page.

    ACG page

    From the NAVER Cloud Platform portal, click the Console > Services > Compute> Server > ACG menus, in that order, to view the ACG page.

    The ACG page is laid out as follows:

    server-acg-classic_screen_en

    FieldDescription
    ① Menu nameName of the menu currently being checked and the number of created ACGs
    ② Basic featuresFeatures provided on the first page when the user enters the ACG menu
    • [Create ACG] button: click to create ACG
    • [Learn more about products] button: click to move to the Server introduction page
    • [Download] button: click to download the ACG list as an Excel file
    • [Refresh] button: click to refresh the ACG list
    ③ Post-creation featuresFeatures provided after creating the ACG
    ④ ACG listList of created ACGs
    • ACG name: name entered when creating the ACG
    • ACG ID: ID automatically given when creating the ACG
    • Number of applied servers: number of servers with the ACG applied
    • Number of rules applied: number of the rules configured for the ACG
    • Creation date and time: date and time when the ACG was created
    • Target server: information about the servers applied with the ACG
    • View rules: displays information of rules configured for the ACG

    Create ACG

    The Default ACG (ncloud-default-acg) is provided without creating an ACG in NAVER Cloud Platform, but you can create and use a separate ACG. For more information about Default ACG, see ACG specifications.

    The following describes how to create an ACG.

    1. Click the environment you are using in the Region menu and Platform menu of NAVER Cloud Platform console.
    2. Click the Services > Compute > Server menus, in that order.
    3. Click the ACG menu.
    4. Click the [Create ACG] button.
    5. Enter the name of ACG, and click the [Create] button.
      • An ACG is created and displayed in the ACG list.
      • ACGs directly created by users have no rules provided by default. Set the rules through Set ACG.

    Set ACG

    The following describes how to set detailed rules for the Default ACG and the ACGs you created.

    Caution

    If the ACG outbound rule settings do not exist, the request packet sent from the server may be blocked.

    1. Click the environment you are using in the Region menu and Platform menu of NAVER Cloud Platform console.

    2. Click the Services > Compute > Server menus, in that order.

    3. Click the ACG menu.

    4. Click to select the ACG to set rules for from the ACG list, and then click the [Set ACG] button.

    5. Enter the detailed rules by referring to the following table, and then click the [Add] button.

      ItemSetup methodExamples
      ProtocolSelect from TCP, UDP, and ICMP-
      Access sourceEnter the IP address or ACG name
      • IP address
        • Specify single IP address or range of IP network addresses in CIDR format
        • When you enter the CIDR address, enter the network address followed by subnet bits including slash (/)
      • ACG name
        • Specify all objects in the target ACG as access source
      • Example of entering CIDR: 0.0.0.0/0, 192.168.1.0/24
      • Example of entering ACG name: my-acg-1 (preset name of ACG)
      Allowed port (service)Enter the allowed port range for selecting TCP and UDP
      • 22 (for ssh service)
      • 3389 (for remote Windows access)
      NotesEnter briefly, if necessary-
    6. After adding all the rules, click the [Apply] button.

      • The set rules are applied to ACG.

    ACG rule settings example

    The frequently used ACG rules are as follows:

    • Allows access to SSH service from a specific IP address

      ProtocolAccess sourceAllowed port
      TCP192.168.77.1722
    • Allows access to SSH service from a specific IP address range (1)

      ProtocolAccess sourceAllowed port
      TCP192.168.77.0/2422
    • Allows access to SSH service from a specific IP address range (2)

      ProtocolAccess sourceAllowed port
      TCP192.168.77.128/2522
    • Allows SSH access between servers assigned to ACG named Test-ACG

      ProtocolAccess sourceAllowed port
      TCPTest-ACG22
    • Sets the ncloud-load-balancer, an ACG for the load balancer, as an access source to allow network access to the web server that the load balancer binds

      • Even if several load balancers are created, the name of the ACG must be the same.
      ProtocolAccess sourceAllowed port
      TCPncloud-load-balancer80
    • Allows access to UDP 22-1025 port from specific IPs

      ProtocolAccess sourceAllowed port
      UDP192.168.77.1722-1025
    • Allows access to the entire web service

      ProtocolAccess sourceAllowed port
      TCP0.0.0.0/080

    Delete ACG

    The following describes how to delete an ACG.

    Note
    • You cannot delete several ACGs at the same time.
    • You can't delete ACGs applied to servers.
    1. Click the environment you are using in the Region menu and Platform menu of NAVER Cloud Platform console.
    2. Click the Services > Compute > Server menus, in that order.
    3. Click the ACG menu.
    4. Click to select the ACG to delete from the ACG list, and then click the [Delete ACG] button.
    5. Check the pop-up message and click the [OK] button.
      • The ACG is deleted and disappears from the list.

    Was this article helpful?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.