# Required external components

> Druid requires an SQL database for metadata and supports various deep storage options like S3, HDFS, and cloud storage

Druid uses an SQL database to store metadata. Consult the [Druid documentation](https://druid.apache.org/docs/latest/design/metadata-storage/#available-metadata-stores) for a list of supported databases and setup instructions.

## Feature specific: S3 and cloud deep storage

[Deep storage](https://druid.apache.org/docs/latest/design/deep-storage) is where segments are stored. Druid offers multiple storage backends, of which we support HDFS and S3. HDFS deep storage can be set up with the [Stackable Operator for Apache HDFS](https://docs.stackable.tech/home/stable/hdfs/index.md). For S3 deep storage or the Google Cloud and Azure storage backends, you need to set up the respective storage backend.

Read the [deep storage usage guide](https://docs.stackable.tech/home/stable/druid/usage-guide/deep-storage/index.md) to learn more about configuring Druid deep storage.
