diff --git a/content/rancher/v2.x/en/quick-start-guide/_index.md b/content/rancher/v2.x/en/quick-start-guide/_index.md index 261e53d10ed..39ad6807422 100644 --- a/content/rancher/v2.x/en/quick-start-guide/_index.md +++ b/content/rancher/v2.x/en/quick-start-guide/_index.md @@ -46,6 +46,9 @@ This Quick Start Guide is divided into different tasks for easier consumption. - An on-premise VM - A bare-metal server + >**Note** + > When using a cloud-host virtual machine you may need to configure inbound TCP communication to ports 80 and 443. Please see your cloud-host's documentation for information regarding port configuration. + ### Provision the host according to the requirements below. {{< requirements_os >}} @@ -147,15 +150,18 @@ For this workload, you'll be deploying the application NGINX. 7. From **Port Mapping**, click **Add Port**. -8. From the **Publish on** drop-down, make sure that **Every node** is selected. +8. From the **As a** drop-down, make sure that **NodePort (On every node)** is selected. + -8. From the **Source Port** field, leave the **Random** value in place. +9. From the **On Listening Port** field, leave the **Random** value in place. + -7. From the **Container Port** field, enter port `80`. +10. From the **Publish the container port** field, enter port `80`. + -8. Leave the remaining options on their default setting. We'll tell you about them later. +11. Leave the remaining options on their default setting. We'll tell you about them later. -9. Click **Launch**. +12. Click **Launch**. #### Result: * Your workload is deployed. This process might take a few minutes to complete. @@ -167,6 +173,41 @@ When your workload completes deployment, browse to its IP to confirm your applic From the **Workloads** page, click the link underneath your workload. If your deployment succeeded, your application opens. +>**Note** +> When using a cloud-host virtual machine you may not have access to the port running the container. It can be tested in an ssh session on the local machine. Use the port number after the `:` in the link under your workload, which is 31568 in this example. + +```sh + +gettingstarted@rancher:~$ curl http://localhost:31568 + + +
+If you see this page, the nginx web server is successfully installed and +working. Further configuration is required.
+ +For online documentation and support please refer to
+nginx.org.
+Commercial support is available at
+nginx.com.
Thank you for using nginx.
+ + +gettingstarted@rancher:~$ + +``` + ### What's Next? Congratulations! You have: diff --git a/content/rancher/v2.x/en/quick-start-guide/images/as_a_nodeport.png b/content/rancher/v2.x/en/quick-start-guide/images/as_a_nodeport.png new file mode 100644 index 00000000000..1ab8721fb4b Binary files /dev/null and b/content/rancher/v2.x/en/quick-start-guide/images/as_a_nodeport.png differ diff --git a/content/rancher/v2.x/en/quick-start-guide/images/on_listening_port_random.png b/content/rancher/v2.x/en/quick-start-guide/images/on_listening_port_random.png new file mode 100644 index 00000000000..8f62f4f3038 Binary files /dev/null and b/content/rancher/v2.x/en/quick-start-guide/images/on_listening_port_random.png differ diff --git a/content/rancher/v2.x/en/quick-start-guide/images/publish_the_container_port_80.png b/content/rancher/v2.x/en/quick-start-guide/images/publish_the_container_port_80.png new file mode 100644 index 00000000000..86474e47eb2 Binary files /dev/null and b/content/rancher/v2.x/en/quick-start-guide/images/publish_the_container_port_80.png differ