If you are Creating an Amazon EC2 Cluster, you can choose to let Rancher create a Security Group called rancher-nodes. The following rules are automatically added to this Security Group.
Security group: rancher-nodes
| Type | Protocol | Port Range | Source |
|---|---|---|---|
| SSH | TCP | 22 | 0.0.0.0/0 |
| HTTP | TCP | 80 | 0.0.0.0/0 |
| Custom TCP Rule | TCP | 443 | 0.0.0.0/0 |
| Custom TCP Rule | TCP | 2376 | 0.0.0.0/0 |
| Custom TCP Rule | TCP | 2379-2380 | sg-xxx (rancher-nodes) |
| Custom UDP Rule | UDP | 4789 | sg-xxx (rancher-nodes) |
| Custom TCP Rule | TCP | 6443 | 0.0.0.0/0 |
| Custom UDP Rule | UDP | 8472 | sg-xxx (rancher-nodes) |
| Custom TCP Rule | TCP | 10250-10252 | sg-xxx (rancher-nodes) |
| Custom TCP Rule | TCP | 10256 | sg-xxx (rancher-nodes) |
| Custom TCP Rule | TCP | 30000-32767 | 0.0.0.0/0 |
| Custom UDP Rule | UDP | 30000-32767 | 0.0.0.0/0 |
| Type | Protocol | Port Range | Destination |
|---|---|---|---|
| All traffic | All | All | 0.0.0.0/0 |