Skip to main content

Connecting to Databases and Queues

LlamaCloud requires a few external dependencies -- Postgres, MongoDB, Redis, and RabbitMQ.

Requirements

We officially support the following versions of the dependencies:

  • Postgres
    • Minimum Version >=15.x
    • Admin Access to the database. LlamaCloud will read/write and apply migrations.
    • We recommend 1 - 2 vCPUs and 1 - 2 GBi RAM as a starting point for the database. As your usage grows, you can scale the database accordingly.
    • Recommended Managed Services:
  • MongoDB
    • Minimum Version >=7.x
    • We recommend 1 - 2 vCPUs and 1 - 2 GBi RAM as a starting point for the database. As your usage grows, you can scale the database accordingly.
    • Recommended Managed Services:
  • RabbitMQ
    • Minimum Version >=3.11.x
    • We recommend 200 - 500m vCPUs and 500Mi - 2GBi RAM as a starting point for the database. As your usage grows, you can scale the database accordingly.
    • Recommended Managed Services:
  • Redis

To connect your LlamaCloud deployment to an external dependency, configure the necessary sections in your values.yaml file. Be sure to disable the subchart dependency as well. Otherwise, the external dependency configuration will be ignored.

backend:
config:
postgres:
enabled: true
host: <host>
port: <port>
database: <database>
username: <username>
password: <password>
# the above values can also be set in a secret object
# existingSecretName: <secret-name>

# To disable the postgres subchart, set the following:
postgresql:
enabled: false

Subchart Configuration

As a default, the LlamaCloud Helm Chart will deploy subcharts for the dependencies listed above. Please refer to the following pages for more information on the subchart configuration: