Developer Tutorials/Request Additional App Resources

Computational Power and Memory

By default, each virtual machine has the following characteristics:

  • Dual-core x86-64 CPU
  • 7.5 GB of RAM
  • 400 GB hard disk

To request a different machine, you will need to edit the dxapp.json file to specify the instance type for each entry point of your app. Please see Instance Types for the list of available instance types and other details.

The following dxapp.json excerpt shows how to request larger virtual machines for both the "main" and "myEntryPoint" entry points of your app; any other entry points not listed in systemRequirements will use the default virtual machine mem2_hdd2_x2.

{ "runSpec": {
    "systemRequirements": {
      "main": {
        "instanceType": "mem2_hdd2_x4"
      },
      "myEntryPoint": {
        "instanceType": "mem3_hdd2_x2"
      }
    },

You can also add another entry with the key "*" to specify a different default for any remaining entry points. The following example runs "main" on mem2_hdd2_x2 and all others on mem3_hdd2_x2.

{ "runSpec": {
    "systemRequirements": {
      "main": {
        "instanceType": "mem2_hdd2_x4"
      },
      "*": {
        "instanceType": "mem3_hdd2_x2"
      }
    },

Note: Some of the resources on a worker will be shared with DNAnexus processes that help run your job.

Network Access

For information on requesting network access permissions for your jobs, see Execution Environment Reference (Network Access).

Software Packages

For information on specifying software package dependencies for your jobs, see Execution Environment Reference (Software Packages).

Last edited by Thanh-Ha Nguyen, 2016-06-24 23:26:25

 Feedback