Skip to main content Skip to footer


Using NVIDIA GPU Cloud with Oracle Cloud Infrastructure



NVIDIA GPU Cloud (NGC) is a GPU-accelerated cloud platform optimized for deep learning and scientific computing. This topic provides an overview of how to use NGC with Oracle Cloud Infrastructure.

NVIDIA makes available on Oracle Cloud Infrastructure a customized Compute image that is optimized for the NVIDIA Tesla Volta and Pascal GPUs. Running NGC containers on this instance provides optimum performance for deep learning jobs.


Launching an Instance Based on the NGC Image

Using the Console

  1. Open the Console. For steps, see Sign In for the First Time.

  2. Open the navigation menu and click Compute. Under Compute, click Instances.
  3. Select a Compartment that you have permission to work in.
  4. Click Create instance.
  5. Enter a name for the instance. Avoid entering confidential information.

  6. In the Placement section, select the Availability Domain that you want to create the instance in.
  7. In the Image and shape section:
    1. On the Shape card, click Change shape. Then, do the following:
      1. For Instance type, select Virtual machine or Bare metal machine.

      2. Select a GPU shape for the instance. For more information about GPU shapes, see virtual machine GPU shapes and bare metal GPU shapes.


        In order to access the GPU shapes, your tenancy must have a GPU quota. If your tenancy does not have a GPU quota, the GPU shapes will not be in the shape list. See Prerequisites for more information.
      3. Click Select shape.
    2. To select the NGC image, on the Image card, click Change image. Then do the following.

      In order to access the NVIDIA GPU Cloud images, your tenancy must have a GPU quota and you must select a GPU shape.
      1. In the Image source list, select Oracle images.
      2. Select the check box next to NVIDIA GPU Cloud Machine Image.
      3. Review and accept the terms of use, and then click Select image.
  8. In the Networking section, leave Select existing virtual cloud network selected, and then select the virtual cloud network (VCN) compartment, VCN, subnet compartment, and subnet.

  9. In the Add SSH keys section, upload the public key portion of the key pair that you want to use for SSH access to the instance. Browse to the key file that you want to upload, or drag and drop the file into the box.

  10. Click Create.

You should now see the NGC instance with the state of Provisioning. After the state changes to Running, you can connect to the instance. For general information about launching compute instances, see Creating an Instance.

See the following topics for steps to access and work with the instance:

When you connect to the instance using SSH, you are prompted for the NGC API key. If you supply the API key at the prompt, the instance automatically logs you in to the NGC container registry so that you can run containers from the registry. You can choose not to supply the API key at the prompt and still log in to the instance. You can then log in later to the NGC container registry. See Logging in to the NGC Container Registry for more information.

Using the CLI

Oracle Cloud Infrastructure provides a Command Line Interface (CLI) you can use to complete tasks. For more information, see Quickstart and Configuring the CLI.

Use the launch command to create an instance, specifying image for sourceType and the image OCID ocid1.image.oc1..aaaaaaaaknl6phck7e3iuii4r4axpwhenw5qtnnsk3tqppajdjzb5nhoma3q in InstanceSourceDetails for LaunchInstanceDetails.

Using the File Storage Service for Persistent Data Storage

You can use the File Storage service for data storage when working with NGC. For more information, see Overview of File Storage. See the following tasks for creating and working with the File Storage service:

Using the Block Volume Service for Persistent Data Storage

You can use the Block Volume service for data storage when working with NGC. For more information, see Overview of Block Volume. See the following tasks for creating and working with the Block Volume service:

You can also use the CLI to manage block volumes, see the volume commands.

Examples of Running Containers

You first need to log into the NGC container registry. You can skip this section if you provided your API key when logging into the instance via SSH. If you did not provide your API key when connecting to your instance, then you must perform this step.

March 07, 2023

Integration with Oracle IDCS Complete!

The DIFM Ag Research Portal and Farmers Portal is now integrated with Oracle IDCS and there is self-registration for farmers and research scientists.   Both applications remain under development but the underlying scaffolding is built and being tested.

Ag Research Portal:  Is an end-user application under development designed for PI's and Stakeholders to access, review, edit migrated data residing in DIFM's Autonomous Data Warehouse in the Oracle Cloud.  

Farm Portal: Is an end-user application allowing farmers to register for OFPE Trials, upload necessary data for implementing those trials.  

Integrating user registration with IDCS and managing application & data access with IDCS satisfies essential requirements of Phase I of the software development plan.