Operation Guide for Access to WebUI over Private Network
Last updated: 2020-02-28 19:40:41PDF
When creating an EMR cluster, if you do not check "Enable Public Network Access for Cluster Master Node", you cannot access the WebUIs of relevant components through the native WebUI access addresses on the component management page. This document describes how to view native component WebUIs in a cluster where the public network access to master node is not enabled.
Private Network Access
You can use a browser to access a component's WebUI over the private network. Below are the links to native WebUIs of each component:
Binding an EIP
You can bind an elastic public IP (EIP) to the master node by following the steps below to access component WebUIs from a browser over the public network:
Log in to the EMR Console, enter the Cloud Hardware Management page, select the master node to which to bind an EIP, and click the instance ID to enter the CVM Console.
Adjust the network bandwidth settings of the CVM instance to which the EIP will be bound and make sure that its bandwidth is not 0; otherwise, the node cannot be connected.
In the CVM instance list in the CVM Console, select More > Resource Adjustment > Adjust Network for the target instance.
Adjust the bandwidth upper limit to an appropriate value to ensure that the bandwidth of the CVM instance is greater than 0.
Click the ID of the CVM instance to enter its basic information page and switch to the ENI tab.
Click Bind to bind an existing EIP to the current CVM instance or create an EIP for binding.
After binding the EIP, in the ENI tab, you can see that there is EIP information in the "Bound Public IP" section of the primary ENI.
Check whether the CVM instance can be accessed over the public network.
You can use the
sshcommand to check whether the EIP has taken effect. Make sure that the inbound rules of the security group allow ICMP and port 22.
Access the native WebUIs of components.
EMR v1.3.1, v2.0.1, v2.1.0, and v3.00 support Apache Knox, and access requests to native component WebUIs over the public network will pass through Knox by default. For specific UI links to each component and Knox usage, please see Knox Development Guide.
After an EIP is bound, the access addresses of native component WebUIs in the EMR Console will stay unchanged. If you need to change the addresses in the console, please submit a ticket for assistance.