# 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="https://2627469859-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4xe4XNC0Kdt8dOCWNCOa%2Fuploads%2FaFHwxCPaORVYUa9XtA03%2Fimage.png?alt=media&#x26;token=af7d7eb7-47e0-4b6c-9dbf-38b8aae77791" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://2627469859-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4xe4XNC0Kdt8dOCWNCOa%2Fuploads%2FnZEgpYVPBQmnU19OV13p%2Fimage.png?alt=media&#x26;token=33d49306-dad7-4cbe-8114-4e03b9120c0e" 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="https://2627469859-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4xe4XNC0Kdt8dOCWNCOa%2Fuploads%2FLP9WlFrFiKglfeG7cm1Y%2Fimage.png?alt=media&#x26;token=ab44fe50-e8e0-4450-8f16-e9aa4b26753b" 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="https://2627469859-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4xe4XNC0Kdt8dOCWNCOa%2Fuploads%2FCqw3HichiZzMFk5m4Mv2%2Fimage.png?alt=media&#x26;token=61152c04-51e6-4705-9e57-fb01bbeac2a6" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://2627469859-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4xe4XNC0Kdt8dOCWNCOa%2Fuploads%2FW3SW3imumnnPrLhB3Ocl%2Fimage.png?alt=media&#x26;token=fa01accb-7838-4ee1-9b2b-61b0239a04a7" alt=""><figcaption></figcaption></figure>
