# Provisioning States

Across various Denvr services, resources will transition between multiple states during their lifecycle. In particular, applications and virtual machines can have the following status values:

* PENDING - waiting to transition to another state
* PENDING\_RESOURCES - Denvr is allocating resources
* PENDING\_READINESS - resources have been allocated and we are waiting your application or virtual machine to come online.
* ONLINE - your application or virtual machine has been provisioned and is online
* OFFLINE - the resource has been stopped, but still exists
* FAILED - an error has occurred, please contact support

These status codes are available from both the console UI or REST API.&#x20;

Apart from persisted root volumes and additional storage, you are only billed during the PENDING\_READINESS or ONLINE states.&#x20;

### How does PENDING\_READINESS work?

Virtual machines and applications take time to boot after resources have been allocated. Our readiness check involves pinging port 22 on virtual machines, or a user defined readiness port for applications. How long a virtual machine or application takes to pass the readiness is dependent on your particular VM or application startup process. On our base images, this should only a few minutes. Common causes of long (or infinite) pending readiness periods include:

* Corrupted \`/etc/fstab\` files which block the boot process. See ["Adding DAS to /etc/fstab"](/docs/additional-information/faqs/adding-das-to-etc-fstab.md).
* Incorrectly configured firewall (\`ufw\`) blocking ssh access
* Addition of slow or failing init scripts
* Applications that pull down large models or datasets prior to starting the service


---

# 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://docs.denvrdata.com/docs/additional-information/faqs/provisioning-states.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.
