# How to manage a security group?

### a. How to create security groups?

To create a security group, follow the steps below:

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

**Step 2**: From the left-hand side menu, select **Networks** and click **Security Group**.

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

**Step 3**: Click **Create Security Group**.

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

**Step 4**: Enter the Security Group Name, description, Inbound rules, Outbound rules, and click on **Submit**.

* **Inbound Rules:** Firewall rules that control the traffic **entering** your instance from external sources.
* **Outbound Rules:** Firewall rules that control the traffic **leaving** your instance to external destinations.

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

### b. How to edit a security group?

To edit a security group, follow the steps below:

**Step 1:** Choose the security group where you want to change the rules.

<figure><img src="/files/5moS5UteIInDYpIpVB9v" alt=""><figcaption></figcaption></figure>

**Step 2:** Add or delete rules according to your needs.

<figure><img src="/files/2pyqdsfivWV1I0iJ7YhB" alt=""><figcaption></figcaption></figure>


---

# 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/network/how-to-manage-a-security-group.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.
