Skip to content

Ask AI

Powered by Blaze

Answers come from E2E Cloud documentation. AI can make mistakes.

Security Group

View as Markdown

A security group is a virtual firewall whose rules say which traffic can reach a resource and which can leave it. Use it to limit SSH and RDP to trusted addresses, open the web ports to everyone, or limit a database port to your VPC.

You write the rules once, by protocol, port, and source address, and attach the group to a node, autoscale group, Kubernetes cluster, load balancer, or database. A change to the rules then applies everywhere the group is attached.

Each account has a default security group for each project and region, and a new node gets it unless you pick another group while creating the node. The default group allows all traffic in and out, so a new node works straight away.

Rules only ever allow traffic. When a node has several groups, traffic gets through if any one of them allows it. To narrow what reaches a node, attach your stricter group, then detach the group that allowed more.

A security group is separate from the Firewall product, which is a FortiGate appliance.

Create and configure a group:

Attach and detach:

Manage the group:

Get started with Security Group sets up a group that lets SSH in from your own IP only and puts it on a node. If something does not behave as you expect, Troubleshooting Security Group lists the errors and their fixes.

Was this page helpful?