---
updatedAt: 2026-05-21T09:14:56.000Z
agentTools:
  siteIndex: https://docs.jfrog.com/llms.txt
  projectIndex: https://docs.jfrog.com/installation/llms.txt
---

# Advanced Storage Options

Configure Artifactory Helm filestore: file-system, NFS, S3, GCS, Azure Blob, external databases, and custom binarystore settings.

The filestore is where binaries are physically stored. JFrog Artifactory supports a wide range of storage backends. For more information, see [Artifactory Filestore options](filestore-configuration-landing).

## Setting the Artifactory Persistency Storage Type

In the Helm chart, set the type of storage you want with `artifactory.persistence.type` and pass the required configuration settings. The default storage in this chart is the `file-system` replication, where the data is replicated to all nodes.

<Callout icon="📘" theme="info">
  **Important**

  All storage configurations except Network File System (NFS) include a default `artifactory.persistence.redundancy` parameter that sets how many binary replicas are stored across the cluster's nodes. Once set on initial deployment, this value cannot be updated using Helm. Set it to a number greater than half your cluster's size, and never scale the cluster below that number.
</Callout>

To use your selected bucket as the HA's filestore, pass the filestore's parameters to the Helm installation/upgrade.

## Setting up the Network File System (NFS) Storage

To use an NFS server as your cluster's storage, complete the following steps.

1. Set up an NFS server and get its IP as `NFS_IP`.
2. Create `data` and `backup` directories on the NFS export and grant write permissions to all.
3. Pass NFS parameters to the Helm installation/upgrade as follows.

   ```yaml
   artifactory:
    persistence:
      type: nfs
      nfs:
        ip: ${NFS_IP}
   ```

### Configuring the NFS Persistence Type

In some cases, the Helm chart cannot set up NFS mounts automatically for Artifactory. In these cases (for example, AWS EFS), use `artifactory.persistence.type=file-system` even though the underlying persistence is a network file system.

The same applies when using slow storage devices (such as standard spinning disks) as the main storage solution. Serving frequently accessed files from slow storage can degrade performance, making a local cache filesystem on fast disks (such as SSD) desirable.

1. Create a `values.yaml` file.
2. Set up your volume mount to your fast storage device as follows.

   ```yaml
   artifactory:
     ## Set up your volume mount to your fast storage device
     customVolumes: |
       - name: my-cache-fast-storage
         persistentVolumeClaim:
           claimName: my-cache-fast-storage-pvc
     ## Enable caching and configure the cache directory
     customVolumeMounts: |
       - name: my-cache-fast-storage
         mountPath: /my-fast-cache-mount
     ## Install the helm chart with the values file you created
     persistence:
       cacheProviderDir: /my-fast-cache-mount
       fileSystem:
         cache:
           enabled: true
   ```
3. Install Artifactory with the values file you created.

   **Artifactory**

   ```bash
   helm upgrade --install artifactory jfrog/artifactory --namespace artifactory -f values.yaml
   ```

   **Artifactory HA**

   ```bash
   helm upgrade --install artifactory-ha jfrog/artifactory-ha --namespace artifactory-ha -f values.yaml
   ```

## Google Storage

Use a Google Cloud Storage bucket as the cluster's filestore by passing the parameters to `helm install` and `helm upgrade`. For more information, see [Google Storage Binary Provider](google-cloud-storage).

```yaml
artifactory:
 persistence:
   type: google-storage-v2-direct
   googleStorage:
     bucketName: "artifactory-gcp"
```

To use a GCP service account, Artifactory requires a `gcp.credentials.json` file in the same directory as the `binarystore.xml` file.

Generate it by running:

```bash
gcloud iam service-accounts keys create <file_name> --iam-account <service_account_name>
```

Save the output to a file or copy it directly into your `values.yaml`.

```json
{
   "type": "service_account",
   "project_id": "<project_id>",
   "private_key_id": "?????",
   "private_key": "-----BEGIN PRIVATE KEY-----\n????????==\n-----END PRIVATE KEY-----\n",
   "client_email": "???@j<project_id>.iam.gserviceaccount.com",
   "client_id": "???????",
   "auth_uri": "https://accounts.google.com/o/oauth2/auth",
   "token_uri": "https://oauth2.googleapis.com/token",
   "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
   "client_x509_cert_url": "https://www.googleapis.com/robot/v1....."
}
```

One option is to create your own <a href="https://kubernetes.io/docs/concepts/configuration/secret/" target="_blank">secret</a> and pass it to your `helm install` in a custom `values.yaml`.

```bash
# Create the Kubernetes secret from the file you created earlier.
# IMPORTANT: The file must be called "gcp.credentials.json" because this is used later as the secret key!
kubectl create secret generic artifactory-gcp-creds --from-file=./gcp.credentials.json
```

Set this secret in your custom `values.yaml`.

```yaml
artifactory:
  persistence:
    googleStorage
      gcpServiceAccount:
        enabled: true
        customSecretName: artifactory-gcp-creds
```

Alternatively, put the config directly in your `values.yaml` — the chart creates a secret from it.

```yaml
artifactory:
  persistence:
    googleStorage
      gcpServiceAccount:
        enabled: true
        config: |
          {
             "type": "service_account",
             "project_id": "<project_id>",
             "private_key_id": "?????",
             "private_key": "-----BEGIN PRIVATE KEY-----\n????????==\n-----END PRIVATE KEY-----\n",
             "client_email": "???@j<project_id>.iam.gserviceaccount.com",
             "client_id": "???????",
             "auth_uri": "https://accounts.google.com/o/oauth2/auth",
             "token_uri": "https://oauth2.googleapis.com/token",
             "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
             "client_x509_cert_url": "https://www.googleapis.com/robot/v1....."
          }
```

## AWS S3 V3

To use an AWS S3 bucket as the cluster's filestore and access it with the official AWS SDK, see the [S3 Official SDK Binary Provider](aws-s3-object-storage). This filestore template uses the official AWS SDK. Use this template if you want to <a href="https://docs.aws.amazon.com/eks/latest/userguide/enable-iam-roles-for-service-accounts.html" target="_blank">Create an IAM OIDC provider</a> and assign the IAM role to Kubernetes Service Accounts.

Pass the AWS S3 V3 parameters and the annotation pointing to the IAM role to your `helm install`  in a custom `values.yaml`.

```yaml
# Using an existing IAM role
serviceAccount:
  create: true
  annotations:
    eks.amazonaws.com/role-arn: arn:aws:iam::<ACCOUNT_ID>:role/<IAM_ROLE_NAME>
artifactory:
  persistence:    
    type: s3-storage-v3-direct 
    awsS3V3:      
      region: ${AWS_REGION}      
      bucketName: ${AWS_S3_BUCKET_NAME}
      useInstanceCredentials: true

# Using explicit credentials
artifactory:
 persistence:
   type: s3-storage-v3-direct
   awsS3V3:
     region: ${AWS_REGION}
     bucketName: ${AWS_S3_BUCKET_NAME}
     identity: ${AWS_ACCESS_KEY_ID}
     credential: ${AWS_SECRET_ACCESS_KEY}
     useInstanceCredentials: false
```

To enable Direct Cloud Storage Download, use the following.

```yaml
artifactory:
 persistence:
   awsS3V3:
     enableSignedUrlRedirect: true
```

## Microsoft Azure Blob Storage

You can use Azure Blob Storage as the cluster's filestore by passing the Azure Blob Storage parameters to `helm install` and `helm upgrade`. For more information, see [Azure Blob Storage](azure-blob-storage).

```yaml
artifactory:
 persistence:
   type: azure-blob-storage-v2-direct
   azureBlob:
     accountName: ${AZURE_ACCOUNT_NAME}
     accountKey: ${AZURE_ACCOUNT_KEY}
     endpoint: ${AZURE_ENDPOINT}
     containerName: ${AZURE_CONTAINER_NAME}
```

## Custom binarystore.xml

Provide a custom [binarystore.xml](filestore-configuration-landing) using one of two methods:

1. Editing directly in the <a href="https://github.com/jfrog/charts/blob/master/stable/artifactory-ha/values.yaml" target="_blank">values.yaml</a>.

   ```yaml
   artifactory:
     persistence:
       binarystoreXml: |
         <!-- The custom XML snippet -->
         <config version="v1">
             <chain template="file-system"/>
         </config>
   ```
2. Create your own secret and pass it to your `helm install` command.

   ```yaml
   # Prepare your custom Secret file (custom-binarystore.yaml)
   kind: Secret
   apiVersion: v1
   metadata:
     name: custom-binarystore
     labels:
       app: artifactory
       chart: artifactory
   stringData:
     binarystore.xml: |-
         <!-- The custom XML snippet -->
         <config version="v1">
             <chain template="file-system"/>
         </config>
   ```
3. Next, create a secret from the file.

   ```bash
   kubectl apply -n artifactory -f ./custom-binarystore.yaml
   ```
4. Pass the secret to your `helm install` command.

   **Artifactory**

   ```bash
   helm upgrade --install artifactory --namespace artifactory --set artifactory.persistence.customBinarystoreXmlSecret=custom-binarystore jfrog/artifactory
   ```

   **Artifactory HA**

   ```bash
   helm upgrade --install artifactory-ha --namespace artifactory-ha --set artifactory.persistence.customBinarystoreXmlSecret=custom-binarystore jfrog/artifactory-ha
   ```

## Related Topics

* [Artifactory Advanced Options](artifactory-advanced-options)
* [Artifactory Filestore](artifactory-filestore)
* [Artifactory Storage](artifactory-storage)
* [AWS S3 Object Storage](aws-s3-object-storage)
* [Azure Blob Storage](azure-blob-storage)

## Frequently Asked Questions

This section provides answers to frequently asked questions.

<Accordion title="FAQs" icon="plus">

##### Q: What is the default storage type used by the Artifactory Helm chart?

**A:** The default storage type is `file-system` replication, where binary data is replicated to all cluster nodes. You change the storage backend by setting `artifactory.persistence.type` in your `values.yaml`.

##### Q: Can the `artifactory.persistence.redundancy` value be changed after initial deployment?

**A:** No. The `artifactory.persistence.redundancy` parameter, which controls how many binary replicas are stored across cluster nodes, cannot be updated using Helm once the deployment is created. Set it to a number greater than half your cluster size before the initial deployment, and never scale the cluster below that number.

##### Q: When should I use `artifactory.persistence.type=file-system` even though my underlying storage is a network filesystem?

**A:** Use `file-system` when the Helm chart cannot set up NFS mounts automatically, for example with AWS EFS. The same applies when using slow storage devices such as standard spinning disks, where a local cache filesystem on fast SSD disks is desirable for frequently accessed files.

##### Q: How do I provide a custom `binarystore.xml` in a Helm installation?

**A:** You have two options: embed the XML directly under `artifactory.persistence.binarystoreXml` in your `values.yaml`, or create a Kubernetes Secret containing the file and reference it via `artifactory.persistence.customBinarystoreXmlSecret`. For the secret method, the secret key must be named `binarystore.xml`. See [Artifactory Filestore options](filestore-configuration-landing) for more detail.

##### Q: How does Direct Cloud Storage Download work for AWS S3?

**A:** Enable Direct Cloud Storage Download by setting `artifactory.persistence.awsS3V3.enableSignedUrlRedirect: true` in your `values.yaml`. This causes Artifactory to redirect download requests directly to the S3 bucket using signed URLs instead of routing binary data through Artifactory.

</Accordion>