Looking for the old docs site? You can still view it for a limited time here.

Smart Answers Instance Setup (Fusion 4.2 only)

Set up a CPU AWS/Azure instance:

  1. SSH into the instance.

  2. Install Docker.

  3. Start the Docker service:

    $ sudo service docker start
  4. Add the current user to the “docker” group so you can execute Docker commands without using sudo:

    $ sudo usermod -aG docker ${USER}
  5. Log out and log back in again to pick up the new Docker group permissions.

    You can do this by closing your current SSH terminal window and reconnecting to your instance in a new one. Your new SSH session will have the appropriate Docker group permissions.

Set up a GPU AWS instance:

  1. SSH into the instance.

  2. Install the official NVIDIA driver package:

    $ sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub
    $ sudo sh -c 'echo "deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 /" > /etc/apt/sources.list.d/cuda.list'
    $ sudo apt-get update *&&* sudo apt-get install -y --no-install-recommends cuda-drivers

Set up a GPU Azure VM:

  1. Download and install the CUDA drivers from the NVIDIA website. For example, for Ubuntu 16.04 LTS:

    $ CUDA_REPO_PKG=cuda-repo-ubuntu1604_10.0.130-1_amd64.deb
    $ wget -O /tmp/${CUDA_REPO_PKG} http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/${CUDA_REPO_PKG}
    $ sudo dpkg -i /tmp/${CUDA_REPO_PKG}
    $ sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub
    $ rm -f /tmp/${CUDA_REPO_PKG}
    $ sudo apt-get update
    $ sudo apt-get install cuda-drivers
    1. Download and install Docker:

      sudo apt install docker.io