Generally, AIStore (AIS) configuration comprises several sources:
aisnode command line;This enumeration does not include buckets (and their respective configurations). In AIS, buckets inherit a part of the cluster config that can be further changed on a per-bucket basis - either at creation time or at any later time, etc.
In effect, cluster configuration contains cluster-wide defaults for all AIS buckets, current and future.
For additional references, please see the last section in this document. The rest of it, though, describes only and exclusively environment variables - item 3 above.
First though, two common rules that, in fact, apply across the board:
For example:
ID, which is persistent, replicated and unique; at node startup its ID can be overridden via AIS_DAEMON_ID environment (see below);AIS_READ_HEADER_TIMEOUT, if specified, will be used instead of the apc.ReadHeaderTimeout constant in the code;AIS_USE_HTTPS takes precedence over net.http.use_https value from the cluster configuration,and so on.
The remainder of this text groups AIS environment variables by their respective usages, and is structured as follows:
separately, there’s authentication server config:
and finally:
Different AIS builds may (or may not) require different environment vars. For complete list of supported build tags, please see conditional linkage. Here’s a very brief and non-exhaustive intro:
Background: in a running AIS cluster, at any point in time there’s a single primary gateway that may also be administratively selected, elected, reelected. Hence, two related variables:
See also:
At first it may sound slightly confusing, but HTTP-wise AIS is both a client and a server.
All nodes in a cluster talk to each other using HTTP (or HTTPS) - the fact that inevitably implies a certain client-side configuration (and configurability).
In particular, AIS server-side HTTPS environment includes:
E.g., for local playground, typical usage starts from running
export AIS_USE_HTTPS=truefollowed by one of the usualmake deploycombinations.
In addition, all embedded (intra-cluster) clients in a cluster utilize the following environment:
This group of environment variables is used exclusively by development scripts and integration tests.
See also:
Kubernetes POD name is also reported via ais show cluster CLI - when it is a Kubernetes deployment, e.g.:
See related:
NOTE: for the most recent updates, please refer to the source.
AIS natively supports 3 (three) Cloud storages.
The corresponding environment “belongs” to the internal backend package and includes:
Notice in the table above that the variables S3_ENDPOINT and AWS_PROFILE are designated as global: cluster-wide.
The implication: it is possible to override one or both of them on a per-bucket basis:
Environment S3_ENDPOINT is important, and may also be a source of minor confusion. The reason: AIS itself provides S3 compatible interface.
For instance, on the client side you could say something like:
and then run existing S3 applications against an AIS cluster at 10.0.4.53 - with no changes (to the application).
Moreover, configure AIS to handle S3 requests at its ”/” root:
and re-specify S3_ENDPOINT environment to make it looking slightly more conventional:
To recap:
S3_ENDPOINT to override the s3.amazonaws.com default;AWS_PROFILE to use a non-default (named) AWS profileand separately:
S3_ENDPOINT on the client sideSee also:
AIStore is a fully compliant Prometheus exporter.
StatsD was deprecated in v3.28 (Spring 2025) and completely removed in v4.0 (September 2025).
See also: streaming intra-cluster transport.
AIStore Authentication Server (AuthN) provides secure access control to AIStore via JSON Web Tokens.
A single AuthN service can support multiple AIS clusters, with no fixed limit.
The following variables can be used to configure deployment scripts and validation of tokens in AIStore:
For configuring the AuthN service and clients, see the AuthN Environment Variables.
When AuthN is disabled (i.e., not used), the respective ais config command will show something like:
Notice: this command is executed on the AIStore cluster, not AuthN.
See also: