---
title: arpio-config:depends-on:
description: Control the order in which Arpio recovers your resources
---

[Skip to content](https://docs.arpio.io/arpio-configdepends-on-1#main-content)

English

Show submenu for translations

[Customer ticket portal](https://docs.arpio.io/tickets-view?hsLang=en)

- Home
- Products
- Pricing
- Blog
- Company

Open main navigation

Close main navigation

- Home
- Products
- Pricing
- Blog
- Company
- English
  
  Show submenu for translations
- [Customer ticket portal](https://docs.arpio.io/tickets-view)

 Welcome to Arpio Technical Docs

- There are no suggestions because the search field is empty.

1. [Arpio Documentation](https://docs.arpio.io/?hsLang=en)
2. [AWS Reference Guides](https://docs.arpio.io/aws-reference-guides?hsLang=en)
3. [AWS Configuration Tags](https://docs.arpio.io/aws-reference-guides?hsLang=en#aws-configuration-tags)

# arpio-config:depends-on:

## Control the order in which Arpio recovers your resources

```
arpio-config:depends-on:<label> = <dependee-arn>
```

#### \<label\>

A short string you choose that describes the resource being depended on. You can use any characters that are allowed in tag names for the type of resource being tagged. Arpio does not interpret the label you choose, but the label part is required in order to support setting multiple arpio-config:depends-on: tags on the same primary environment resource, since tag names must be unique for a tagged resource.

Use multiple distinct labels to express multiple dependency relationships from the tagged resource to other resources.

#### \<dependee-arn\>

The ARN of an Arpio-protected resource in the primary environment that should be recovered before the tagged resource is recovered.

### Supported Resources

- All

### Description

You can use the arpio-config:depends-on: configuration tag to partially control the order in which Arpio recovers your resources. Arpio will recover a resource with the arpio-config:depends-on: configuration tag *after* it recovers the resource identified by the tag's value.

A common use case is preventing an EC2 instance that runs a web application server from starting until after the RDS database instance it depends on is available. You would add the arpio-config:depends-on: tag to the EC2 instance in your primary environment, using the ARN of the RDS database instance as the tag's value. When arpio recovers your application, it will wait until the RDS database instance is available before launching the web application server EC2 instance.

You can set multiple arpio-config:depends-on: tags on a resource, using different \<label\> parts to distinguish them. When a resource has multiple arpio-config:depends-on: tags Arpio recovers the tagged resource after *all* of the resources named in all those tags' values are recovered.

Setting an arpio-config:depends-on: tag doesn't change or remove the resource dependencies that Arpio discovers automatically. For instance, if you set an arpio-config:depends-on: tag on an EC2 instance with an RDS database instance as the value, Arpio still recovers the EC2 instance's automatically discovered dependencies like subnets and security groups before recovering the tagged EC2 instance (after the RDS database instance, of course).

Be careful to avoid creating dependency cycles, also known as circular dependencies, when you set arpio-config:depends-on: tags. A dependency cycle occurs when a resource depends on another resource that, either directly or through some sequence of additional resources, depends on that original resource. Arpio cannot protect applications with dependency cycles and will create issues when they are discovered during recovery point creation.

### Examples

| **Tag** | **Value** |
| --- | --- |
| ``` arpio-config:depends-on:db ``` | arn:aws:rds:us-east-1:123456789012:db-instance/prod-db |
| ``` arpio-config:depends-on:log-server ``` | arn:aws:ec2:us-east-1:123456789012:instance/i-1234abcd5678abcd |
| ``` arpio-config:depends-on:ad-server-1 ``` | arn:aws:ec2:us-east-1:123456789012:instance/i-1234abcd5678abcd |
| ``` arpio-config:depends-on:ad-server-2 ``` | arn:aws:ec2:us-east-1:123456789012:instance/i-5678defg1234defg |

 

 

- [Getting Started](https://docs.arpio.io/getting-started?hsLang=en#main-content)

    - [New Account Setup](https://docs.arpio.io/getting-started?hsLang=en#new-account-setup)
    - [New Application Setup](https://docs.arpio.io/getting-started?hsLang=en#new-application-setup)
- [Arpio Fundamentals](https://docs.arpio.io/arpio-fundamentals?hsLang=en#main-content)

    - [Platform Fundamentals](https://docs.arpio.io/arpio-fundamentals?hsLang=en#platform-fundamentals)
    - [Platform Features](https://docs.arpio.io/arpio-fundamentals?hsLang=en#platform-features)
- [Arpio Reference Guides](https://docs.arpio.io/arpio-reference-guides?hsLang=en#main-content)

    - [Arpio API](https://docs.arpio.io/arpio-reference-guides?hsLang=en#arpio-api)
    - [Lifecycle Events](https://docs.arpio.io/arpio-reference-guides?hsLang=en#lifecycle-events)
    - [Role-Based Access Controls (RBAC)](https://docs.arpio.io/arpio-reference-guides?hsLang=en#role-based-access-controls-rbac)
    - [Single Sign-On (SSO) Integration](https://docs.arpio.io/arpio-reference-guides?hsLang=en#single-sign-on-sso-integration)
    - [Test Planning](https://docs.arpio.io/arpio-reference-guides?hsLang=en#test-planning)
    - [Test & Recovery How-To](https://docs.arpio.io/arpio-reference-guides?hsLang=en#test-recovery-how-to)
- [AWS Reference Guides](https://docs.arpio.io/aws-reference-guides?hsLang=en#main-content)

    - [AWS Resource Reference](https://docs.arpio.io/aws-reference-guides?hsLang=en#aws-resource-reference)
    - [AWS Configuration Tags](https://docs.arpio.io/aws-reference-guides?hsLang=en#aws-configuration-tags)
    - [AWS Access](https://docs.arpio.io/aws-reference-guides?hsLang=en#aws-access)
    - [AWS Testing](https://docs.arpio.io/aws-reference-guides?hsLang=en#aws-testing)
    - [AWS Solutions](https://docs.arpio.io/aws-reference-guides?hsLang=en#aws-solutions)
- [Azure Reference Guides](https://docs.arpio.io/azure-reference-guides?hsLang=en#main-content)

    - [Azure Resource Reference](https://docs.arpio.io/azure-reference-guides?hsLang=en#azure-resource-reference)
    - [Azure Configuration Tags](https://docs.arpio.io/azure-reference-guides?hsLang=en#azure-configuration-tags)
    - [Azure Scenarios](https://docs.arpio.io/azure-reference-guides?hsLang=en#azure-scenarios)
- [FAQ](https://docs.arpio.io/faq?hsLang=en#main-content)

    - [AWS FAQ](https://docs.arpio.io/faq?hsLang=en#aws-faq)
    - [Contact Support](https://docs.arpio.io/faq?hsLang=en#contact-support)
    - [License & Billing](https://docs.arpio.io/faq?hsLang=en#license-billing)
    - [Tests and Recoveries](https://docs.arpio.io/faq?hsLang=en#tests-and-recoveries)

- Home
- Products
- Pricing
- Blog
- Company

[![bubble-wand-tight.64](https://docs.arpio.io/hs-fs/hubfs/bubble-wand-tight.64.png?width=64&height=64&name=bubble-wand-tight.64.png "bubble-wand-tight.64")](https://arpio.io)

Copyright © 2026, Arpio