Available in Classic
You can submit management tasks or applications through NAVER Cloud Platform's Cloud Hadoop console or web UI (Ambari, Hue, etc.). However, SSH connection to the cluster node is required to run the client directly.
If you access SSH through the public domain or public IP of a cluster, you can access the edge node of the cluster. Other nodes can be accessed from the edge node through SSH. See 2. Connect to cluster node.
Preliminary tasks
To access a cluster node, the following tasks and preparations need to be made.
| Item | Description | Guide |
|---|---|---|
| Configure ACG | Add the IP and port 22 of the device to access the cluster's ACG settings
|
Firewall settings (ACG) |
| Authentication key | Private key (.pem) required for access to the cluster | Manage authentication key for direct cluster access |
| Public domain | Public domain address needed for accessing the relevant cluster node Can be viewed from the Public domain item in the cluster details |
Check cluster details |
| Public IP | Public IP required for access to the cluster node The details of the cluster can be viewed from Public IP |
Check cluster details |
Add the public IP to ACG
To add a fixed IP to the cluster's ACG:
- From the NAVER Cloud Platform console's Classic environment, navigate to Menu > Services > Compute > Server > ACG.
- Select the ACG of the cluster you want to access and click [Set ACG].
- Enter the following 4 information items and add ACG Rule:
- Protocol: TCP
- Access source: IP of the local device that communicates with SSH
- Allowed port: 22
- Note (optional)

SSH connection in the mac OS
This section describes the access method using iTerm2. Even if other programs are used, the same action generates the same outcome.
chmod 400 </path/to/pem-key>
ssh -i </path/to/pem-key> sshuser@<cluster-domain>
SSH connection in Windows
This section describes the access method using the PuTTY client. Even if other programs are used, the same action generates the same outcome.
Follow the steps below in order:
1. Convert authentication key (.pem)
PuTTY doesn't natively support the private key format (.pem) generated by Cloud Hadoop. You can use the PuTTYgen application provided by PuTTY to convert the authentication key into the format (.ppk) used by PuTTY. The private key must be converted to this format (.ppk) before PuTTY can be used to connect to the master node.
- Run PuTTYgen. (Download PuTTYgen)
- Select RSA in Type of key to generate and click [Load].
- Select the authentication key (*.pem) and then click [Open].
- To find a file in PEM format, select the option that allows you to see files of all types.
- The PEM file is the file name of the authentication key that is currently applied to the cluster. This PEM file must be stored on the user's local PC.
- If the PEM file is missing, the authentication key for connection can be changed from the Console > Manage server access > Manage authentication key for direct cluster connection menu. (See Manage authentication key for direct cluster connection)
- Check the details on the Completion confirmation popup and then click [OK].
- Click [Save private key] and save it as a file of .ppk format available in PuTTY.
- If PuTTYgen displays a warning message about saving a key without a password, click [Yes].
- Save it using the same name as the previously generated authentication key. PuTTY automatically adds the .ppk file extension.
2. Connect to cluster node
- Run PuTTY. (Download PuTTY)
- Select Session in the Category window and enter info in each of the settings fields as below.
- Host Name (or IP address):
sshuser@DNS(Enter the public domain or public IP of the relevant cluster intoDNSofsshuser@DNS) - Port:
22
- Host Name (or IP address):
- In the Category window, select Connection > SSH to expand, and then click the Auth item.
- Click [Browse] to select the PPK file created by converting the PEM file, and then click [Open].
- Check if connection to the edge node has been established successfully as follows:

You can check the private IP and host name of each node in Ambari UI > Hosts. For more information on how to access Ambari UI, see the Ambari UI guide.
-
Connect to the edge node and enter ssh {master node host name} or ssh {master node Private IP} to access the master node (for example, m-001, m-002).

-
Data nodes (for example, dn-001, dn-002) can also be accessed in the same way as the master node. Connect to the edge node and connect ssh {data node host name} or ssh {data node private IP}.
