Introduction
When you run servers or applications in the cloud, you need to control who can talk to them and who they can talk to. Inbound and outbound rules let you decide what traffic is allowed in and out of your cloud resources to keep them safe.
When you want to allow users to access your web server on port 80 but block other ports.
When your application needs to connect to a database on a specific port.
When you want to block all incoming traffic except from trusted IP addresses.
When your server needs to send data out to the internet but should not accept any incoming connections.
When you want to open SSH access only from your office IP to manage your server securely.