Security groups act as virtual firewalls for your servers to control incoming and outgoing traffic. This guide provides steps to create and manage security groups and attach them to servers.

 

 Creating a Security Group

 

1. Navigate to Networking: 

   - From the main dashboard, select Networking.

 

2. Create Security Group:

   - Click on Create Security Group.

   - Fill in the required details:

     - Location: Choose the desired location (e.g., Jeddah).

     - Name: Provide a name for the security group (e.g., `Security-customer-rules`).

     - Description: Describe the purpose of the security group (e.g., `This rules applied for my ERP servers`).

 

3. Add Security Group Rules:

   - After creating the security group, you can add rules to control traffic.

   - Click on Add Rule.

   - Fill in the rule details:

     - Rule: Choose the type of protocol (e.g., Custom Protocol, All Protocols).

     - Direction: Select the traffic direction (Ingress for incoming, Egress for outgoing).

     - Open Port: Specify the port (e.g., Port 22 for SSH).

     - Remote: Choose the remote IP range or security group.

     - Ether Type: Select the ether type (IPv4 or IPv6).

 

 Attaching Security Group to a Server

 

1. Navigate to Server:

   - Go to the Server section from the main dashboard.

 

2. Edit Server:

   - Select the server to which you want to attach the security group.

   - Go to the Security Groups tab.

 

3. Attach Security Group:

   - Click on Attach Security Group.

   - Select the desired security group from the list.

   - Click Save to apply the changes.

 

 Managing Security Groups

 

- View Security Groups: In the Networking section, under the Security Groups tab, you can view all created security groups along with their details such as name, description, and rules.

- Edit or Delete Rules: Select a security group to edit or delete rules. Click on the delete icon next to the rule you wish to remove.

 

 Example

 

Creating a Security Group for ERP Servers

 

- Location: Jeddah

- Name: Security-customer-rules

- Description: This rules applied for my ERP servers

 

Adding Rule for SSH Access:

- Rule: Custom Protocol

- Direction: Ingress

- Open Port: Port

- Port: 22

- Protocol: TCP

- Remote: CIDR

- CIDR: 0.0.0.0/0 (Allows access from any IP)

- Ether Type: IPv4

 

 Conclusion

 

Security groups provide a way to secure your servers by controlling traffic based on specified rules. This guide helps you create, manage, and attach security groups to servers, ensuring that only authorized traffic can access your resources.

 

Was this answer helpful? 19 Users Found This Useful (67 Votes)