# How to Create a Security Group Rule?

To create a security group rule, follow the steps given below:

**Step 1:** [Login](https://customer.acecloudhosting.com/index.php?m=ace_product_register_addon\&action=login) to your account.&#x20;

<figure><img src="/files/wqeK4GCu6ADVDBPnpHMT" alt=""><figcaption></figcaption></figure>

**Step 2:** Navigate to **Services** and then click on **My Services.**

<figure><img src="/files/hXZrHbGlfoZCCh3XG84k" alt=""><figcaption></figcaption></figure>

**Step 3:** Click on your project.

<figure><img src="/files/v8Y9wUkU09Nhdoe87rCS" alt=""><figcaption></figcaption></figure>

**Step 4:** Navigate to **Kubernetes** and then click on **K8s Security Groups**.

<figure><img src="/files/tZZB4ZS2PmPIocnYWlIb" alt=""><figcaption></figcaption></figure>

**Step 5:** Click on three dots against the security group for which you want to create security group rule.

<figure><img src="/files/wNL7InPsJ6COHBPlJKUQ" alt=""><figcaption></figcaption></figure>

**Step 6:** Click on **Manage Rules**.

<figure><img src="/files/RbgaefZD9DMTJyEQzaMh" alt=""><figcaption></figcaption></figure>

**Step 7:** Click on **Security Group Rules**.

<figure><img src="/files/4EZgToXWC3qxHH3rrhNf" alt=""><figcaption></figcaption></figure>

**Step 8:** Enter the details and click on **Submit**.

| Filed              | Description |
| ------------------ | ----------- |
| Direction          |             |
| Protocol           |             |
| EtherType          |             |
| CIDR               |             |
| Maximum Port Range |             |
| Minimum Port Range |             |
| Description        |             |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.acecloud.ai/knowledge-base/kubernetes/how-to-create-a-security-group-rule.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
