You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

This document guides the cloud users how to create a basic Virtual Machine (VM) instance, configure remote access, and attach external datastore.

1. Log in to Cloud Dashboard & External Datastore

2. Import Public Key or Create a Key Pair 

  • Go to Project ComputeKey Pairs menu, and check if your your keys are registered. You can import the SSH public key (used when you sign up) or create another key pair from the menu.

3. Create a VM instance

  • Go to Project Cluster InfraKASI Cluster Templates menu (Step A), and click Lauch Cluster Stack button of KASI-SingleVM template (Step B). Choose Next to go to Lauch Cluster menu.

  • (Step C) Put a Stack Name and the Password for user. Select an OS Image (e.g., ubuntu-20.04-cloudimg), Flavor (e.g., C2M2D20 = 2 CPUs, 2 GB RAM, 20 GB OS storage), Network (kasi-user-network, default), SSH Keys.
  • Put a Temporary one-time password for root account (Note: this password may be seen by other users, and must be changed at first-time console log-in), and click Launch button.

Step A

Step B

Step C


4. Configure the VM instance for remote desktop & external datastore

  • Go to Project ComputeInstances menu (Step A), and check your VM instance is in Running Power State (Step A). From the Actions pull-down menu, choose Console.

  • Click on the black console screen, and log in with root username and temporary password (Step B).
  • First, change the root password and update the OS. Create a user account. Install desktop environment & remote desktop server.

    configure VM instance : remote desktop
    ### 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
  • After reboot, log in to the console with the user account, and configure SMB client to mount user's external datastore.

    configure VM instance : 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

Step A

Step B

Step C


관련 문서



  • No labels