This document guides the cloud users how to create a basic Virtual Machine (VM) instance, configure remote access, and attach external datastore.
Fig. 1-1 Cloud Dashboard : https://cloud.kasi.re.kr | Fig. 1-2 External Datastore (1TB per user) : https://210.219.33.249 |
---|
Fig. 2-1 Key Pairs |
---|
(Fig. 3-A) Go to Project → Cluster Infra → KASI Cluster Templates menu.
(Fig. 3-B) Find KASI-SingleVM template and click Lauch Cluster Stack button. Choose Next to go to Launch Cluster menu.
Put a Temporary one-time password for root account, and click Launch button.
WARNING: The intial password may be exposed to other users. You MUST change the password to a secure one right after logging in to the console for the first-time. |
Fig. 3-A Cluster Template | Fig. 3-B Select Template | Fig. 3-C Launch Cluster |
---|
(Fig. 4-A) Go to Project → Compute → Instances menu, and check your VM instance is Running in Power State. From the Actions drop-down list, choose Console.
Change the root password and update the OS. Create a user account (recommended). Install desktop environment and remote desktop server.
### Change root password $ passwd ### Update OS $ apt update && apt -y dist-upgrade ### Create a user account (recommended) : adduser {username} $ adduser kasi-user ### Grant sudo privilege to the user : usermod -aG sudo {username} $ usermod -aG sudo kasi-user ### Install dekstop environment (minimal installation is recommended) $ apt install xfce4 --no-install-recommends ### Install remote desktop server (RDP) $ apt install xrdp ### Reboot $ reboot |
(Fig. 4-C) After reboot, log in to the console with the user account, and configure SMB client to mount user's external datastore.
### Install required pacakges : cifs-utils, smbclient $ sudo apt -y install cifs-utils smbclient ### Create a mount directory $ mkdir NAS ### Mount external datastore : mount.cifs -o rw,uid={local user},username={NAS user} {NAS address} {mount directory} $ sudo mount.cifs -o rw,uid=kasi-user,username=kasi-user //210.219.33.249/home NAS ### For more mount options : man mount.cifs ### Check if external datastore is mounted and the user has write permission $ df -H ; ls -l ### DO NOT forget to log out $ exit |
You can also mount the external datastore to your local desktop as a network drive : e.g., \\210.219.33.249\home (Windows file manager), smb://210.219.33.249/home (macOS finder) |
WARNING: NEVER leave the console screen logged in. Other users CAN access your console. |
Fig. 4-A Instance list | Fig. 4-B First-time root log-in | Fig. 4-C User console after configuration |
---|
Prepare the SSH keys (the same ones you registered in sign-up form). If you want to use another key pair for remote access, e-mail the SSH public key file to Administrator(chr@kasi.re.kr).
Install Remote Desktop Protocol (RDP) client software to your local computer, and set up the remote connection.
If RDP clients do not support tunneling – CoRD (Mac), Microsoft Remote Desktop (Mac), create a SSH tunneling port first and connect through the local port.
### SSH tunneling : ssh -i {private key} -N -L {local RDP port}:{VM instance private ip}:{RDP port = 3389} {tunneling id = kasi}@{gateway ip} -p {ssh port = 7774} $ ssh -N -L 12345:10.0.100.42:3389 kasi@210.219.33.122 -p 7774 ### Open RDP connection through localhost:{local RDP port} $ open rdp://localhost:12345 |
Fig. 5-A Instance list | Fig. 5-B RDP client configuration (MobaXterm) | Fig. 5-C Remote dekstop connected to VM instance |
---|
Reminder : User Agreement #1 you signed
|
Fig. 6-A Shut off Instance | Fig. 6-B Delete Instances |
---|
사용자가 주의해야할 사항이나 팁 또는 관련 정보를 알리기 위해 패널을 사용할 수 있습니다. |
선택한 레이블에 따라 여기에 관련 문서가 나타납니다. 레이블을 변경하거나 추가하려면 매크로 편집을 클릭하십시오.
|