# Working storage: MySQL, Redis, and EBS

Archivematica has two forms of working storage.

## MySQL database: RDS

The MySQL database includes:

* the processing config – what steps to run when
* a record of all the tasks that Archivematica has performed
* the Archivematica users and other settings

We use Amazon RDS as our MySQL database.

## Task manager: Redis/ElastiCache

Archivematica uses a Redis instance to manage in-flight tasks (see [Gearman, ElastiCache, and the MCP server/client](/archivematica/service-architecture/how-does-archivematica-work/gearman-elasticache-and-the-mcp-server-client.md) for more details).

We use Amazon ElastiCache as our Redis instance.

## Shared file system: EBS

Archivematica uses a shared file system to pass files between tasks. All the services have access to the same volume, so a service can say *"get the file from path A"* and another service can pick that up.

We use an EBS volume, which is mounted on the EC2 instance and shared between all the containers.


---

# 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.wellcomecollection.org/archivematica/about-our-deployment/working-storage-mysql-redis-and-ebs.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.
