Go back

Setup and installation of Ubuntu 26.04 LTS with NVIDIA GPU Acceleration on AWS

This section describes how to launch and connect to Ubuntu 26.04 LTS with NVIDIA GPU Acceleration on Amazon Web Services (AWS).

  1. Open Ubuntu 26.04 LTS with NVIDIA GPU Acceleration VM listing on AWS marketplace

/img/aws/desktop-linux-ubuntu-2604-gpu/marketplace.png

  1. Click on View purchase options.
  • Login with your credentials and follow the instruction.
  • Review the prices and subscribe to the product by clicking on subscribe button located at the bottom of this page. Once you are subscribed to the offer, click on Launch your software button.

/img/aws/desktop-linux-ubuntu-2604-gpu/subscribe.png

/img/aws/desktop-linux-ubuntu-2604-gpu/launch-your-software.png

  • Next page will show you the options to launch the instance, Launch through EC2 and One-click launch from AWS Marketplace. Tick the 2nd option One-click launch from AWS Marketplace.

/img/aws/desktop-linux-ubuntu-2604-gpu/launch.png

  • Select a Region where you want to launch the VM(such as US East (N.Virginia))

  • Optionally change the EC2 instance type. (This defaults to g4dn.xlarge instance type with 4 vCPUs and 16 GB RAM, plus 1 x NVIDIA T4 GPU (16GB).)

/img/aws/desktop-linux-ubuntu-2604-gpu/region.png

  • The VM can only be deployed with the NVIDIA GPU instance. You can change the Type and number of GPUs from the dropdown. (This defaults to 1 NVIDIA T4 GPU )

Note: GPU availability is limited to certain zones.

NOTE: While deploying the instance on GPU, if you encounter the quota exhaust error or you are unable to deploy the instance on GPU VM then please refer to our Request Quota on AWS Cloud Platform

  • Optionally change the network name and subnetwork names.

/img/aws/desktop-linux-ubuntu-2604-gpu/vpc.png

  • Select the Security Group. Be sure that whichever Security Group you specify have ports 22 (for SSH) and 3389 (for RDP) exposed. Or you can create the new SG by clicking on “Create Security Group” button. Provide the name and description and save the SG for this instance.

/img/aws/milvus-vm/create-sg.png

/img/aws/desktop-linux-ubuntu-2604-gpu/SG.png

  • Be sure to download the key-pair which is available by default, or you can create the new key-pair and download it.

/img/aws/desktop-linux-ubuntu-2604-gpu/key-pair.png

  • Click on Launch..
  • Ubuntu 26.04 LTS with NVIDIA GPU Acceleration will begin deploying.
  1. A summary page displays. To see this instance on EC2 Console click on View instance on EC2 Console link.

/img/aws/desktop-linux-ubuntu-2604-gpu/deployed.png

  1. On the EC2 Console page, instance is up and running. To connect to this instance through putty, copy the IPv4 Public IP Address

/img/aws/desktop-linux-ubuntu-2604-gpu/public-ip.png

  1. Open putty, paste the IP address and browse your private key you downloaded while deploying the VM, by going to SSH->Auth->Credentials, click on Open. Enter ubuntu as userid

/img/aws/desktop-linux/putty-01.png

/img/aws/nvidia-aiml/putty-02.png

/img/aws/desktop-linux-ubuntu-2604-gpu/ssh-login.png

  1. Once connected, change the password for ubuntu user using below command
sudo passwd ubuntu

/img/aws/desktop-linux-ubuntu-2604-gpu/update-passwd.png

  1. Now the password for ubuntu user is set, you can connect to the VM’s desktop environment from any local Windows Machine using RDP protocol or Linux Machine using Remmina.

NOTE: If you want to add extra layer of security to your RDP session then please follow our RDP with Key Based authentication Guide

From your local windows machine, goto “start” menu, in the search box type and select “Remote desktop connection”. In the “Remote Desktop connection” wizard, copy the public IP address and click connect. Click “Yes” on certificate warning popup.

/img/aws/desktop-linux/rdp.png

  1. This will connect you to the VM’s desktop environment. Provide the username (e.g “ubuntu”) and the password set in the above “Reset password” step to authenticate. Click OK

/img/aws/desktop-linux/rdp-login.png

  1. Now you are connected to the out of box Ubuntu 26.04 LTS with NVIDIA GPU Acceleration environment via Windows Machine.

/img/aws/desktop-linux-ubuntu-2604-gpu/rdp-desktop.png

  1. To connect using RDP via Linux machine, first note the external IP of the VM from VM details page,then from your local Linux machine, goto menu, in the search box type and select “Remmina”.

Note: If you don’t have Remmina installed on your Linux machine, firstInstall Remmina as per your linux distribution.

/img/gcp/common/remmina-search.png

  1. In the “Remmina Remote Desktop Client” wizard, select the RDP option from dropdown and paste the external ip and click enter.

/img/gcp/common/remmina-external-ip.png

  1. This will connect you to the VM’s desktop environment. Provide “ubuntu” as the userid and the password set in above reset password step to authenticate. Click OK

/img/gcp/common/remmina-rdp-login.png

  1. Now you are connected to out of box Ubuntu 26.04 LTS with NVIDIA GPU Acceleration environment via Linux machine.

/img/aws/desktop-linux-ubuntu-2604-gpu/rdp-desktop.png

  1. Run below command from terminal to check Nvidia SMI utility
nvidia-smi

/img/aws/desktop-linux-ubuntu2604-gpu/nvidia-smi.png

Go back