Prerequisite: You need an existing VPC network before creating a security group.
Summary
This page explains how to create and manage security groups in the Nscale Console UI. Use this workflow if you:- Need to control which traffic can reach your instances and clusters
- Want to define reusable firewall rules within a VPC
- Are setting up networking before creating instances (a security group is required)
Availability
This feature is available for On-demand and Reserved cloud services.Requirements
- A VPC network to associate the security group with
- Permission and sufficient quota to create security groups
Default behaviour: With no rules defined, all inbound and outbound traffic is denied. You must add rules to allow the traffic your workloads need.
Key concepts
- Inbound rules control traffic coming into your resources (e.g., SSH connections from your IP)
- Outbound rules control traffic going out from your resources (e.g., internet access for package downloads)
- Stateful: If you allow an inbound connection, the return traffic is automatically allowed (and vice versa)
CIDR notation
Security group rules use CIDR notation to specify IP ranges:Protocol reference
Common rule examples
Security group lifecycle
Step-by-step
Create a security group
- In the Console, open your project, then go to Network → Security Groups
- Click the + New button in the top-right corner
-
A side panel opens with the creation form:
- Name: Enter a name for the security group
- VPC: Select the VPC this security group will belong to
- Description (optional): Add a description (up to 200 characters)
-
Click Add Rules to define your firewall rules:
- Choose Inbound or Outbound
- Select the Protocol (TCP, UDP, Any, or VRRP)
- Enter the Port Range (e.g.,
22for SSH,80for HTTP, or1-65535for all ports) - Enter the CIDR block (e.g.,
0.0.0.0/0for all IPs) - Add as many rules as needed
- Click Create to save the security group
View security group details
Click any security group in the list to view its detail page. The detail page has four tabs:- Overview — summary of rules, linked instances, and configuration details (VPC, region, project)
- Rules — full table of inbound and outbound rules with add/edit side panels
- Instances — all instances using this security group, with search filtering
- Settings — rename the security group or delete it
Managing security groups
To edit rules on an existing security group:- Go to Network → Security Groups and select the security group
- Open the Rules tab
- Add, modify, or remove rules as needed
- Save your changes
- Open the security group detail page and go to the Settings tab
- Edit the name and save
- Ensure no resources are attached to it (check the Instances tab)
- Go to the Settings tab and click Delete, or use the actions menu from the list page
Common issues / troubleshooting
- Symptom: Can’t delete a security group. Likely cause: The security group is attached to one or more active resources (instances, clusters). Fix: Remove or delete the associated resources, then try deleting the security group again.
-
Symptom: Instance is unreachable via SSH.
Likely cause: No inbound rule for SSH (TCP port 22) in the instance’s security group.
Fix: Go to Network → Security Groups, select the security group attached to the instance, and add an inbound rule for TCP port 22 from your IP or
0.0.0.0/0. -
Symptom: Instance can’t download packages or reach the internet.
Likely cause: No outbound rules defined. By default, all outbound traffic is denied.
Fix: Add an outbound rule allowing the required protocols and ports (or allow all outbound with protocol Any to
0.0.0.0/0).
Related resources
VPC Networks
Create the VPC your security group belongs to
Instances
Attach security groups when creating instances
Terraform Provider
Manage security groups as infrastructure as code
API Reference
Manage security groups programmatically via the Networking and Storage API