﻿---
title: Add a preferred data tier to a deployment
description: The allocation of indices in an Elasticsearch deployment can be allocated on data tiers. In order to allow indices to be allocated, follow these steps...
url: https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/3892/troubleshoot/elasticsearch/add-tier
products:
  - Elasticsearch
---

# Add a preferred data tier to a deployment
The allocation of indices in an Elasticsearch deployment can be allocated on [data tiers](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/3892/manage-data/lifecycle/data-tiers).
In order to allow indices to be allocated, follow these steps to add the [data tier](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/3892/manage-data/lifecycle/data-tiers) the indices expect to be allocated on to your deployment:
<tab-set>
  <tab-item title="Elastic Cloud Hosted">
    In order to get the shards assigned we need enable a new tier in the deployment.**Use Kibana**
    1. Log in to the [Elastic Cloud console](https://cloud.elastic.co?page=docs&placement=docs-body).
    2. On the **Hosted deployments** panel, click the name of your deployment.
       <note>
       If the name of your deployment is disabled your Kibana instances might be unhealthy, in which case contact [Elastic Support](https://support.elastic.co). If your deployment doesn’t include Kibana, all you need to do is [enable it first](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/3892/deploy-manage/deploy/elastic-cloud/access-kibana).
       </note>
    3. Open your deployment’s side navigation menu (placed under the Elastic logo in the upper left corner) and go to **Dev Tools > Console**.
       ![](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/3892/troubleshoot/images/elasticsearch-reference-kibana-console.png)

    1. Determine which tier an index expects for assignment. [Retrieve](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-get-settings) the configured value for the `index.routing.allocation.include._tier_preference` setting:
       ```json
       ```
       The response will look like this:
       ```json
       {
         "my-index-000001": {
           "settings": {
             "index.routing.allocation.include._tier_preference": "data_warm,data_hot" 
           }
         }
       }
       ```
    2. Open your deployment’s side navigation menu (placed under the Elastic logo in the upper left corner) and go to **Manage this deployment**.
    3. From the right hand side, click to expand the **Manage** dropdown button and select **Edit deployment** from the list of options.
    4. On the **Edit** page, click on **+ Add Capacity** for the tier you identified you need to enable in your deployment. Choose the desired size and availability zones for the new tier.
    5. Navigate to the bottom of the page and click the **Save** button.
  </tab-item>

  <tab-item title="Self-managed">
    In order to get the shards assigned you can add more nodes to your Elasticsearch cluster and assign the index’s target tier [node role](/elastic/docs-content/pull/3892/manage-data/lifecycle/index-lifecycle-management/migrate-index-allocation-filters-to-node-roles#assign-data-tier) to the new nodes.To determine which tier an index requires for assignment, use the [get index setting](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-get-settings) API to retrieve the configured value for the `index.routing.allocation.include._tier_preference` setting:
    ```json
    ```
    The response will look like this:
    ```json
    {
      "my-index-000001": {
        "settings": {
          "index.routing.allocation.include._tier_preference": "data_warm,data_hot" 
        }
      }
    }
    ```
  </tab-item>
</tab-set>