If you are using Version 05-2021 or older, please see our documentation for deprecated versions.
Documentation for Ubuntu with GUI Desktop
Connect to your Linux instance via RDP or VNC:
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'.
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'.
The startup script is located at /home/ubuntu/.vnc/startVNC.sh
To edit the script, type
If you want to edit the display size of the desktop, change the start command to
vncserver -geometry 1500x800and reboot the VM by
Connect to your VM via SSH
- 1 Please follow the official documentation how to install SSH on your Windows, Mac or Linux machine.
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:
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.
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:
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
SSH Private key: /path/to/key-file.pem
In the following popup click on 'Allow', then you are connected for file transfer.