Introduction
When you run servers in the cloud, you need to control who can talk to them. A security group acts like a virtual fence that lets you allow or block traffic to your servers based on rules you set.
When you want to allow only certain computers or apps to connect to your cloud server.
When you need to block all traffic except specific ports like web or database ports.
When you want to quickly change access rules without touching the server itself.
When you want to protect your cloud servers from unwanted internet traffic.
When you want to group servers with the same access rules for easier management.