This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

The Vault (Technical Preview)

Documentation of Elastx The Vault object storage

This service is offered as a Technical Preview.

1 - Overview

Elastx The Vault

Elastx The Vault is S3-compatible object storage for secondary storage: backups, archives and long-term retention.

Features

  • S3-compatible: Works with standard S3 tools and SDKs.
  • Isolated: Hosted in a dedicated, physically protected region of the Elastx Cloud Platform.
  • Encryption at rest: All data is encrypted.
  • Immutable storage: Object locking protects data from deletion and tampering, including ransomware.
  • Elastx IDP: Access is managed through Elastx IDP with MFA.

Endpoints

Service URL
S3 API https://vault.elastx.cloud
Console https://vault-console.elastx.cloud

Limits

Limits apply per source IP. Requests over a limit get HTTP 429; most S3 clients retry automatically with backoff.

Limit Value
Concurrent connections 65
Requests per second 100
Object retention changes per second 30
Max size of a single request 10 GiB

Objects larger than 10 GiB must use multipart upload. aws, rclone and mc do this automatically.

The Vault is built for large backup and archive objects, not for millions of small objects. For many small files, see Backup solutions.

Learn more

2 - Getting started

Getting started with Elastx The Vault

2.1 - Users and access keys

Roles, console login and access keys

Roles

An authorized manager assigns roles to users in the Elastx Cloud Console. Your organization needs at least one user with the admin role.

Role Use for
admin Managing buckets, objects and access keys
readonly Downloading objects
writeonly Uploading objects

See Roles and permissions for details.

Console

Log in to The Vault Console with your Elastx ID. Only users with the admin role have access.

Access keys

Applications and S3 clients authenticate with access keys.

  1. Log in to the console.
  2. Go to Access Keys → Create access key.
  3. Copy the access key and secret key. The secret key is shown only once.
  • A key has the same permissions as the admin who created it.
  • Keys belong to the admin who created them. Other admins in the same organization cannot see them.
  • To limit a key, enable Restrict beyond user policy and remove permissions from the JSON policy shown. A key can never get more access than its admin.

Example: a key that can only read one bucket. Replace the policy shown under Restrict beyond user policy with:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": ["s3:GetObject", "s3:ListBucket"],
      "Resource": [
        "arn:aws:s3:::<prefix>.<bucket-name>",
        "arn:aws:s3:::<prefix>.<bucket-name>/*"
      ]
    }
  ]
}

Policies use standard S3 action names. See supported S3 policy actions.

2.2 - Roles and permissions

What each role can do
Action admin readonly writeonly
Console login and access keys ✓
Create and delete buckets ✓
List buckets and objects ✓
Download objects ✓ ✓
Upload objects ✓ ✓
Delete objects and versions ✓
Object locking, retention and legal hold ✓
Bypass governance locks ✓
Versioning, tags and lifecycle rules ✓
Bucket policies and replication ✓
  • readonly downloads the current version of objects by exact name. It cannot list, so the object names must be known.
  • writeonly can overwrite existing objects. In a versioned bucket the previous version is kept.

2.3 - Connecting

Configure S3 clients for The Vault
Setting Value
Endpoint https://vault.elastx.cloud
Region us-east-1
Addressing style Path-style

AWS CLI

Install: AWS CLI v2. Requires v2.13 or later.

~/.aws/config:

[profile <profile>]
region = us-east-1
endpoint_url = https://vault.elastx.cloud
s3 =
  addressing_style = path

~/.aws/credentials:

[<profile>]
aws_access_key_id = <access-key>
aws_secret_access_key = <secret-key>
aws --profile <profile> s3 ls

rclone

Install: rclone

~/.config/rclone/rclone.conf:

[<remote>]
type = s3
provider = Minio
endpoint = https://vault.elastx.cloud
access_key_id = <access-key>
secret_access_key = <secret-key>
rclone lsd <remote>:

MinIO Client (mc)

Note: MinIO no longer publishes or patches the community mc. It still works with The Vault, but prefer the AWS CLI or rclone.

Install the last release from GitHub.

Linux (x86_64):

curl -L -o mc https://github.com/minio/mc/releases/download/RELEASE.2025-08-13T08-35-41Z/mc.linux-amd64.RELEASE.2025-08-13T08-35-41Z
chmod +x mc
sudo mv mc /usr/local/bin/
mc --version

macOS (Apple silicon):

curl -L -o mc https://github.com/minio/mc/releases/download/RELEASE.2025-08-13T08-35-41Z/mc.darwin-arm64.RELEASE.2025-08-13T08-35-41Z
chmod +x mc
sudo mv mc /usr/local/bin/
mc --version

Other platforms (Linux ARM, Intel Mac, Windows): mc release on GitHub. Each binary has a .sha256sum file for verification.

Configure:

mc alias set <alias> https://vault.elastx.cloud <access-key> <secret-key>
mc ls <alias>

2.4 - Buckets

Naming and creating buckets

Examples use the AWS CLI profile from Connecting.

Naming

Bucket names must start with your organization’s prefix followed by a dot:

<prefix>.<bucket-name>

Find your prefix in the Elastx Cloud Console. Names without the prefix are rejected.

Create a bucket

aws --profile <profile> s3 mb s3://<prefix>.<bucket-name>

With object locking (immutability):

aws --profile <profile> s3api create-bucket --bucket <prefix>.<bucket-name> --object-lock-enabled-for-bucket

Note: Object locking can only be enabled when the bucket is created. It also enables versioning, which cannot be turned off. See Object locking.

Upload and download

aws --profile <profile> s3 cp ./file.tar.gz s3://<prefix>.<bucket-name>/
aws --profile <profile> s3 cp s3://<prefix>.<bucket-name>/file.tar.gz ./
aws --profile <profile> s3 ls s3://<prefix>.<bucket-name>/

MinIO Client (mc)

mc mb <alias>/<prefix>.<bucket-name>
mc mb --with-lock <alias>/<prefix>.<bucket-name>
mc cp ./file.tar.gz <alias>/<prefix>.<bucket-name>/
mc cp <alias>/<prefix>.<bucket-name>/file.tar.gz ./
mc ls <alias>/<prefix>.<bucket-name>

3 - Guides

Guides for Elastx The Vault

3.1 - Object locking

Protect objects from deletion and changes

Object locking requires a bucket created with object locking enabled. See Buckets.

Examples use the AWS CLI profile from Connecting. MinIO Client (mc) commands are at the end.

Modes

Mode Locked versions can be deleted before expiry
governance Only by users with the admin role, with an explicit bypass
compliance Never, by any user, including admins

Warning: A compliance lock cannot be removed or shortened by any user. Test with governance and short durations.

Default retention for a bucket

New objects are locked automatically:

aws --profile <profile> s3api put-object-lock-configuration --bucket <prefix>.<bucket-name> \
  --object-lock-configuration '{"ObjectLockEnabled":"Enabled","Rule":{"DefaultRetention":{"Mode":"GOVERNANCE","Days":30}}}'
aws --profile <profile> s3api get-object-lock-configuration --bucket <prefix>.<bucket-name>

Lock a single object

aws --profile <profile> s3api put-object-retention --bucket <prefix>.<bucket-name> --key <object> \
  --retention '{"Mode":"GOVERNANCE","RetainUntilDate":"2030-01-01T00:00:00Z"}'
aws --profile <profile> s3api get-object-retention --bucket <prefix>.<bucket-name> --key <object>

Locks an object until the hold is removed, regardless of retention. It also blocks deletion with bypass; clear the hold first.

aws --profile <profile> s3api put-object-legal-hold --bucket <prefix>.<bucket-name> --key <object> --legal-hold Status=ON
aws --profile <profile> s3api put-object-legal-hold --bucket <prefix>.<bucket-name> --key <object> --legal-hold Status=OFF

Delete a locked version (governance)

Requires the admin role. Find the version ID:

aws --profile <profile> s3api list-object-versions --bucket <prefix>.<bucket-name> --prefix <object> \
  --query 'Versions[].[Key,VersionId]' --output text

Delete it with bypass:

aws --profile <profile> s3api delete-object \
  --bucket <prefix>.<bucket-name> --key <object> --version-id <version-id> \
  --bypass-governance-retention

Other clients: send the header x-amz-bypass-governance-retention: true.

Note: Deleting without a version ID does not delete locked data. It only adds a delete marker that hides the object.

MinIO Client (mc)

# Default retention
mc retention set --default governance 30d <alias>/<prefix>.<bucket-name>
mc retention info --default <alias>/<prefix>.<bucket-name>

# Lock a single object
mc retention set governance 30d <alias>/<prefix>.<bucket-name>/<object>
mc retention info <alias>/<prefix>.<bucket-name>/<object>

# Legal hold
mc legalhold set <alias>/<prefix>.<bucket-name>/<object>
mc legalhold clear <alias>/<prefix>.<bucket-name>/<object>

# Delete a locked version
mc ls --versions <alias>/<prefix>.<bucket-name>/<object>
mc rm --version-id <version-id> --bypass <alias>/<prefix>.<bucket-name>/<object>

4 - Knowledge base

Articles on specific issues/subjects

4.1 - FAQ

Frequently Asked Questions

I can’t get the “Object Locking” functionality to work. What is wrong?

Unfortunately there is a bug in the GUI and this functionality can only be accessed via the API.

5 - Backup solutions

How to integrate software to optimize backup and recovery

Introduction

This page describes solutions for running backups against The Vault object storage.

The goal is to create an efficient backup solution especially when you have many small files that you need to back up. This will reduce the number of objects stored and the number of requests needed against The Vault to a minimum.

JuiceFS

This solution is a High-Performance, Cloud-Native, Distributed File System. In this case we will primarily use it to reduce the number of requests against The Vault. This is a good solution if you want to back up a large number of small files. JuiceFS handles all metadata in a database so all requests during a sync are handled against the database instead of requests in The Vault.

Setup

Install the JuiceFS binary in a Linux instance.

curl -sSL https://d.juicefs.com/install | sh -

Install SQLite

apt-get install sqlite3

Setup the drive using The Vault and SQLite

juicefs format --storage minio --bucket https://vault.elastx.cloud/<bucket> --access-key <access> --secret-key <secret> "sqlite3://thevaultfs.db" thevaultfs

Mount drive

mkdir /thevaultfs
juicefs mount sqlite3://thevaultfs.db /thevaultfs -d

Now you can sync data with rclone or other tools. Comparing content between the primary and The Vault through JuiceFS does not require any requests to The Vault.

Setup using Swift as storage

Setup the drive using Swift S3 (EC2 credentials) and SQLite

juicefs format --storage swift --bucket https://<container>.swift.elastx.cloud --access-key <access> --secret-key <secret> sqlite3://swiftfs.db swiftfs

Mount drive

mkdir /swiftfs
juicefs mount sqlite3://swiftfs.db /swiftfs -d

Veeam

Install a Veeam backup server to take backups of object storage or other resources and store those backups in The Vault.

Create a bucket in The Vault with immutable support.

aws --profile <profile> s3api create-bucket --bucket <prefix>.<bucket-name> --object-lock-enabled-for-bucket

Or with MinIO Client (mc):

mc mb --with-lock <alias>/<prefix>.<bucket-name>

Setup

This is an instruction on how to install the Veeam Software Appliance in OpenStack IaaS. Download the VeeamSoftwareAppliance ISO file from Veeam. Create an account if you don’t have one and start a trial if you want to test.

Create an OpenStack image from the ISO file using the OpenStack CLI.

openstack image create --container-format bare --disk-format iso --property hw_firmware_type=uefi --file VeeamSoftwareAppliance_13.0.1.1071_20251217.iso VeeamSoftwareAppliance_13.0.1.1071_20251217-iso

Create a volume from the ISO file and place the volume in the availability zone where you want to run the Veeam server.

openstack volume create --image VeeamSoftwareAppliance_13.0.1.1071_20251217-iso --availability-zone <az> --type v2-1k --size 15 veeam-iso

Create a boot volume, a data volume and then create an instance that attaches the boot volume, the data volume and the volume with the Veeam ISO image. All must be located in the same availability zone. Both the boot and data volumes need to be at least 240 GB in size.

On the boot volume set the following property to make the instance use UEFI.

openstack volume set --image-property hw_firmware_type=uefi <boot-volume-id>

Create the backup server instance.

openstack server create --flavor <flavor-id> --availability-zone <az> --volume <boot-volume-id> --block-device uuid=<data-volume-id>,source_type=volume,destination_type=volume --block-device uuid=<veeam-iso-volume-id>,source_type=volume,destination_type=volume,boot_index=1,device_type=cdrom,disk_bus=sata --nic net-id=<network-id> veeam-server

Follow the instructions and install the Veeam Server Appliance.