# Security Group

เพื่อควบคุม Incoming และ Outgoing Traffic สำหรับ Instance ของคุณ ใช้ Ingress Rule สำหรับ Incoming Traffic และ Egress Rule สำหรับ Outgoing Traffic โดยคุณสามารถเลือกใช้หนึ่ง Security Group หรือมากกว่าหนึ่ง Security Group ต่อ Instance

## Instruction

### 1. Log in เข้าสู่ Project

กดเลือก project จากหน้า projects management เพื่อเข้าสู่หน้า project detail

![](/files/NxiLp7uMpsjXF1cxnEbR)

### 2. ไปที่ Security Groups&#x20;

คลิกที่หัวข้อ "Security Groups" ภายใต้หัวข้อ Network & Security ที่ sidebar

![](/files/dlaiku4uGiMwSk2tAc5L)

### 3. การจัดการ Security Group

3.1 สร้าง Security Group

{% content-ref url="/pages/FrMBtVcfXgJu2eWTGfAn" %}
[Create a Security Group](/ncs-documents/networking/security-group/create-a-security-group.md)
{% endcontent-ref %}

{% content-ref url="/pages/9tb8d4IUoN6DR0kGdRav" %}
[Create Default Security Groups](/ncs-documents/networking/security-group/create-default-security-groups.md)
{% endcontent-ref %}

3.2 ลบ Security Group


---

# 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-epc.gitbook.io/ncs-documents/networking/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.
