All Products
Search
Document Center

Elastic Compute Service:Ubuntu images with pre-installed NVIDIA GPU drivers

Last Updated:Dec 12, 2025

The Ubuntu 22.04 and 24.04 64-bit images with pre-installed NVIDIA GPU drivers are high-performance public images optimized for AI development and deep learning. These images are pre-installed with NVIDIA GPU drivers, CUDA, the Docker engine, and the NVIDIA Container Toolkit. They are ready to use, allowing you to quickly deploy a containerized GPU environment for large model training and inference tasks. This simplifies the configuration of underlying dependencies and improves the efficiency of AI application development and deployment.

Pre-configured software information

The pre-installed drivers and software of these public images are detailed below:

Kernel version, driver, and software information

Ubuntu 22.04 64-bit image with pre-installed NVIDIA GPU driver

Ubuntu 24.04 64-bit image with pre-installed NVIDIA GPU driver

Operating system kernel version

5.15.0-161-generic

6.8.0-87-generic

NVIDIA GPU driver version

570.133.20

570.133.20

NVIDIA Container Toolkit

1.17.8

1.17.8

CUDA version

12.8

12.8

cuDNN version

9.8.0.87

9.8.0.87

NCCL

v2.27.7-1

v2.27.7-1

OpenMPI

4.1.3

4.1.3

Python 3

3.10.12

3.12.3

Docker

28.5.2

28.5.2

Keentune performance tuning software

Supported

Supported

Supported

Supported

Supported

For information about the drivers and software in previous image versions, see Ubuntu Public Image Release Notes.

Ubuntu 22.04 64-bit image with pre-installed NVIDIA GPU driver

Supported instance families

  • gn7e, gn7s, gn7i, gn6v, gn6i, gn6e, gn5, and gn5i

  • ebmgn7e, ebmgn7i, ebmgn6v, ebmgn6i, and ebmgn6e

  • ebmgn7ix and ebmgn7ex

  • gn8is, ebmgn8is, gn8v, and ebmgn8v

System environment variable configurations

  • /etc/profile.d/nccl_mpi.sh

    export NCCL_HOME=/usr/local/nccl
    export MPI_HOME=/usr/local/openmpi
    export LD_LIBRARY_PATH=${NCCL_HOME}/lib:${MPI_HOME}/lib:$LD_LIBRARY_PATH
    export PATH=${MPI_HOME}/bin:$PATH
  • /etc/profile.d/cuda.sh

    export PATH=/usr/local/cuda/bin:$PATH
    export CUDA_HOME=/usr/local/cuda
    export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH

Ubuntu 24.04 64-bit image with pre-installed NVIDIA GPU driver

Supported instance families

  • gn7e, gn7s, gn7i, gn6v, gn6i, gn6e, gn5, and gn5i

  • ebmgn7e, ebmgn7i, ebmgn6v, ebmgn6i, and ebmgn6e

  • ebmgn7ix and ebmgn7ex

  • gn8is, ebmgn8is, gn8v, and ebmgn8v

System environment variable configurations

  • /etc/profile.d/nccl_mpi.sh

    export NCCL_HOME=/usr/local/nccl
    export MPI_HOME=/usr/local/openmpi
    export LD_LIBRARY_PATH=${NCCL_HOME}/lib:${MPI_HOME}/lib:$LD_LIBRARY_PATH
    export PATH=${MPI_HOME}/bin:$PATH
  • /etc/profile.d/cuda.sh

    export PATH=/usr/local/cuda/bin:$PATH
    export CUDA_HOME=/usr/local/cuda
    export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH