# General Information

## Instance Type Overview

### Naming

AWS naming of instance types is broken down here:

![](/files/hY43rDXZaoCLPVyYvoJE)

### Choosing an Instance Type

| Question                                                   | Focus on this                                                      |
| ---------------------------------------------------------- | ------------------------------------------------------------------ |
| Does the software utilize multiple cores?                  | mem2\_ssd1\_v2\_<mark style="background-color:orange;">x16</mark>  |
| Is the software GPU optimized?                             | mem2\_ssd1\_<mark style="background-color:orange;">gpu\_x32</mark> |
| How much memory does the software use (per core)?          | <mark style="background-color:green;">mem2</mark>\_ssd1\_v2\_x16   |
| How much disk space is needed for the software (per core)? | mem2\_<mark style="background-color:purple;">ssd1</mark>\_v2\_x16  |
| Always use version 2 of an instance type!                  | mem2\_ssd1\_<mark style="background-color:blue;">v2</mark>\_x16    |

### Instance Classes and Cores

Each class (like **mem1**) is scaled so that each core in an instance has access to the same amount of memory/disk space:

* Example: **mem1\_ssd1\_v2\_x2**:
  * 4 Gb total memory / 2 cores =
  * **2 Gb / Core**
* Example: **mem1\_ssd1\_v2\_x8**:
  * 16 Gb total memory / 8 cores =
  * **2 Gb / core**

## Choosing a Good Instance Type

* Scale usage/instance type according to usage statistics and dataset size
  * If it doesn't utilize all resources
    * Use a smaller instance type
  * Runs out of memory, or is slow
    * Consider using a larger instance type

## Multistep Workflows

* Each stage of a workflow is run by a different set of workers
* Each stage can be customized in terms of instance type

## Resources

[Instance Types Documentation](https://documentation.dnanexus.com/developer/api/running-analyses/instance-types)

[Full Documentation](https://documentation.dnanexus.com/)

To create a support ticket if there are technical issues:

1. Go to the Help header (same section where Projects and Tools are) inside the platform
2. Select "Contact Support"
3. Fill in the Subject and Message to submit a support ticket.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://academy.dnanexus.com/cloud-computing/general_information.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
