Index archiving allows you to manage how much data you store in Metal by temporarily shutting down indexes that are not in use. This allows you to optimize the usage of your apps, helping you save costs and make the most of your resources.

Using the API

To archive an index using the API, call the update index endpoint and set the status to DEACTIVATING.

metal.update_index('index_id', {'status': 'DEACTIVATING'})

To unarchive an index, set the status parameter to ‘UNARCHIVED’.

metal.update_index('index_id', {'status': 'UNARCHIVED'})

Using the UI

  1. Go to the Metal dashboard and select the index you want to archive.
  2. Click on the Settings tab and scroll down to the Archive section.
  3. Click on the Archive button and confirm your action.