diff --git a/content/rancher/v2.x/en/cluster-provisioning/rke-clusters/node-pools/ec2/_index.md b/content/rancher/v2.x/en/cluster-provisioning/rke-clusters/node-pools/ec2/_index.md index 132b4fb2110..e27d2fdf17a 100644 --- a/content/rancher/v2.x/en/cluster-provisioning/rke-clusters/node-pools/ec2/_index.md +++ b/content/rancher/v2.x/en/cluster-provisioning/rke-clusters/node-pools/ec2/_index.md @@ -24,7 +24,7 @@ Use {{< product >}} to create a Kubernetes cluster in Amazon EC2. See [Example Node IAM policy](#example-node-iam-policy) for an example policy that can be applied to these credentials. - **Zone and Network** configures the availability zone and network settings for your cluster. - - **Security Groups** creates or configures the security groups applied to your nodes. + - **Security Groups** creates or configures the Security Groups applied to your nodes. Please refer to [Amazon EC2 security group when using Node Driver]({{< baseurl >}}/rancher/v2.x/en/installation/references/#amazonec2-securitygroup-nodedriver) to see what rules are created in the `rancher-nodes` Security Group. - **Instance** configures the instances that will be created. Make sure you configure the correct **SSH User** for the configured AMI. If you need to pass an **IAM Instance Profile Name** (not ARN), for example, when you want to use a [Kubernetes Cloud Provider]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/rke-clusters/options/cloud-providers), you will need an additional permission in your policy. See [Example Node IAM policy with PassRole](#example-node-iam-policy-with-passrole) for an example policy. diff --git a/content/rancher/v2.x/en/installation/references/_index.md b/content/rancher/v2.x/en/installation/references/_index.md index d57a9eab855..840bd550840 100644 --- a/content/rancher/v2.x/en/installation/references/_index.md +++ b/content/rancher/v2.x/en/installation/references/_index.md @@ -13,3 +13,4 @@ The following diagram displays the basic port requirements for Rancher. If you n {{< requirements_ports_rancher >}} {{< requirements_ports_rke >}} +{{< ports_aws_securitygroup_nodedriver >}} diff --git a/layouts/shortcodes/ports_aws_securitygroup_nodedriver.html b/layouts/shortcodes/ports_aws_securitygroup_nodedriver.html new file mode 100644 index 00000000000..9f45ef205ae --- /dev/null +++ b/layouts/shortcodes/ports_aws_securitygroup_nodedriver.html @@ -0,0 +1,103 @@ +
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 | +