A cloud server security group acts as a virtual firewall to control network traffic to and from the server. It consists of inbound and outbound rules that define which IP addresses, protocols, and ports are allowed to communicate with the server.
Inbound rules regulate traffic coming into the cloud server from external sources. You can specify:
Example:
If you run a web server, you might create an inbound rule to allow TCP traffic on port 80 (HTTP) from 0.0.0.0/0 (all IPs) or restrict it to your company's IP range.
Outbound rules control traffic leaving the cloud server to external destinations. You can define:
Example:
If your server needs to send logs to an external monitoring service, you might create an outbound rule to allow TCP traffic on port 443 (HTTPS) to the monitoring service's IP.
For managing these rules efficiently, Tencent Cloud Security Group provides a user-friendly interface to configure inbound and outbound policies, ensuring secure network access for your cloud servers.