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 @@ +

Amazon EC2 security group when using Node Driver

+

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

+

Inbound rules

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TypeProtocolPort RangeSource
SSHTCP220.0.0.0/0
HTTPTCP800.0.0.0/0
Custom TCP RuleTCP4430.0.0.0/0
Custom TCP RuleTCP23760.0.0.0/0
Custom TCP RuleTCP2379-2380sg-xxx (rancher-nodes)
Custom UDP RuleUDP4789sg-xxx (rancher-nodes)
Custom TCP RuleTCP64430.0.0.0/0
Custom UDP RuleUDP8472sg-xxx (rancher-nodes)
Custom TCP RuleTCP10250-10252sg-xxx (rancher-nodes)
Custom TCP RuleTCP10256sg-xxx (rancher-nodes)
Custom TCP RuleTCP30000-327670.0.0.0/0
Custom UDP RuleUDP30000-327670.0.0.0/0
+

Outbound rules

+ + + + + + + + + + + + + +
TypeProtocolPort RangeDestination
All trafficAllAll0.0.0.0/0
+
+