Connect to your Linux instance via RDP or VNC:

  • 1  Note: By default, the server ports for SSH, VNC and RDP are open to the world. You can restrict access (e.g. only allow access from your local IP address) in the AWS Management Portal -> Instances -> Security Group.


  • 2  The username for the RDP/VNC connection is 'ubuntu', the password for this user isyour AWS instance ID.

  • Open Remote Desktop Connection application on your local device, Select 'RDP', enter the IPv4 Public IP of your instance, username 'ubuntu' and the instance ID as password and click on 'Connect'.

    Open a VNC client on your local device, Select 'VNC', enter the IPv4 Public IP of your instance, and the instance ID as password and click on 'Connect'.



Manage VNC server:

  • 1  When you reboot your instance, a script starts RDP and VNC automatically. To change that script, connect to the terminal via SSH and log into user 'ubuntu'.
  • 2  The startup script is located at /home/ubuntu/.vnc/startVNC.sh
    To edit the script, type
    nano /home/ubuntu/.vnc/startVNC.sh

  • 5 If you want to edit the display size of the desktop, change the start command to
    vncserver -geometry 1500x800
    and reboot the VM by
    sudo reboot


Connect to your VM via SSH
  • 1  Please follow the official documentation how to install SSH on your Windows, Mac or Linux machine.
  • 2  Connect to your VM with user 'ubuntu' by
    ssh -i keyfile.pem ubuntu@public-ip


Connect to your Linux instance for file transfer via WinSCP:

  • 1  This steps are using the SCP client software 'WinSCP' (recommended for Windows), but you can use any other SCT/FTP client as well. Open WinSCP and enter the IPv4 Public IP of your instance into the Host Name. The username is 'ubuntu', the password remains empty.


  • 2  Click on 'Advanced'. Select 'Authentification' in the left pane, then browse for your PuTTY key file.


  • 3  Click on 'Ok' and then on 'Login'.


Connect to your Linux instance for file transfer via Cyberduck:

  • 1  This steps are using the SCP client software 'Cyberduck' (recommended for Mac), but you can use any other SCT/FTP client as well. Open Cyberduck, click on 'Open Connection' and enter the following parameters:
    Dropdown: SFTP (SSH File Transfer Protocol)
    Server: The public IP Adress of your instance
    Port: 22
    Username: ubuntu
    SSH Private key: /path/to/key-file.pem

  • 2  In the following popup click on 'Allow', then you are connected for file transfer.