To let Quickwit access your AWS S3 buckets and form a cluster, you need two things: first setup your credentials and region and then set up network rules so that instances can communicate between them.
To let Quickwit store your indexes on AWS S3, you need to define three environment variables:
AWS_DEFAULT_REGION. If variables are malformed, it will fall back to us-east-1 region.
You can also have these variables defined in a
Cluster membership and search workload distribution need UDP and TCP communication between instances. You need to authorize UDP and TCP on relevant ports between them to make it work: by default, TCP port 8080 is used by the webserver, TCP and UDP 8081 ports (8080 + 1) are used by the cluster membership protocol, and TCP port 8082 (8080 + 2) is used for gRPC communication.
If you put the wrong credentials, you will see this error message with
Unauthorized in your terminal:
If you put the wrong region, you will see this one:
AWS will try different options to find the credentials; this resolution may take up to 30 seconds before failing, especially when AWS is not configured.