# Reorder Resources

It is normal when working in the "Dependancy mode" to change the order of the resources; usually front are first to be stopped, then back and finally database, but this can be too dynamic, and that's why Cloud Plans implements a dependancy control option and a mechanism for change the resources order in a plan.

<figure><img src="/files/8eWKKfFwbaimo85Qp73l" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Whe enabled, Resources Dependancy will act in the stablished order for poweroff and reverse for powering on.

Having the following example Resources list:

* exapleAWSinstance001
* exapleAWSinstance002
* exapleAWSinstance003

The STOP operation will be:

1. exapleAWSinstance001
2. exapleAWSinstance002
3. exapleAWSinstance003

The START will be:

1. exapleAWSinstance003
2. exapleAWSinstance002
3. exapleAWSinstance001
   {% endhint %}

Above it is the check control for enabling or disabling the resources dependancy. If you change it, it is neccesary to click on \<Save>. Afet that every job will run with the resources dependancy in the correct order.

{% hint style="danger" %}
If Resources Dependancy is enabled, if a resource fails stopping or starting, the rest of the resources will be ignored.
{% endhint %}

When enabled the Order Dependancy, it starts making senso to change the order an Save...

<figure><img src="/files/XbwCKrnYPq702ObObURO" alt=""><figcaption></figcaption></figure>

As showing in the image above this text, first we have to use de UP/DOWN arrow on the resources to have it in our needs. Then click on the green "check" button to SAVE the new order.


---

# 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.cloudplans.io/organization/plans/reorder-resources.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.
