Overview
Security groups are stateful, per-port firewall rulesets enforced at the hypervisor level. Every instance begins with a default security group that blocks all inbound traffic. Add rules to permit the specific protocols your workload requires — changes take effect immediately without a restart or interface bounce.Prerequisites
- An active Polystack project with at least one running instance
- Dashboard access or CLI configured with valid credentials
Create a Security Group
- Dashboard
- CLI
Navigate to Security Groups
Navigate to
Network > Security Groups. Click Create Security Group.
Name the group
Each new security group automatically includes two egress rules that allow all
outbound IPv4 and IPv6 traffic. Add ingress rules for the specific ports your
workload exposes.
3
Add ingress rules
Click the security group name to open the detail page, then click Add Rule.The Add Rule form has these fields:
Common rules to add:
Assign to an instance
Navigate to Compute > Instances, click the More dropdown on the instance
row, then select Manage Security Group under Related Resources. Select
a port and add
web-sg to the assigned security groups.The rule takes effect immediately — no restart required.
Common Rules Reference
Source Security Group Rules
Rules can reference another security group as the remote source instead of a CIDR. This allows traffic from any instance assigned the referenced group, regardless of IP.Allow traffic from app tier security group
Manage Rules and Groups
Remove a Rule
List rules in a group
Delete a specific rule
Remove a Security Group from an Instance
Remove security group from instance
Delete a Security Group
Delete security group
Next Steps
Floating IP Addresses
Associate public IPs with instances — ensure your security group allows inbound traffic first
Security Hardening
Administrator guide for port security, anti-spoofing, and default group hardening
Network Troubleshooting
Diagnose security group and connectivity issues
Create a Network
Set up the network your secured instances attach to
