> For the complete documentation index, see [llms.txt](https://docs.cloudplans.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudplans.io/organization/plans/reorder-resources.md).

# 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="https://4068101876-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof9VPhQljrlGxPCWMrxF%2Fuploads%2Foq84C7KunCvzgOk7XPYC%2FGreenshot%202024-10-24%2017.38.38.png?alt=media&amp;token=986b451d-78e0-4250-a7f1-54733db906a1" 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="https://4068101876-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof9VPhQljrlGxPCWMrxF%2Fuploads%2FZN4DrVJ2qQBuTZagddA6%2FGreenshot%202024-10-24%2017.50.08.png?alt=media&amp;token=586649e4-fcdd-45c6-9f98-189ffa5a46d2" 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.
