S3-Compatible Object Storage
Okustera Object Storage provides enterprise-grade, highly durable object storage accessible via standard Amazon S3 REST APIs.
It delivers horizontal scalability, zero egress penalties, automated object versioning, lifecycle expiration policies, and full compatibility with the Okustera Cloud Portal, AWS CLI, AWS SDKs, and Terraform.

Key Capabilities
- 100% S3 API Compatibility: Works out of the box with the standard AWS CLI, AWS SDKs (Go, Python
boto3, Node.js, Java), Cyberduck, and Rclone. - Interactive Cloud Portal Object Browser: Create buckets, browse folder prefixes, drag-and-drop upload, and download files directly from your browser.
- Self-Service Credential Provisioning: Generate S3 Access Key / Secret Key pairs on demand per tenant project or service account.
- Presigned URLs: Securely grant temporary read or write access to external clients without sharing permanent credentials.
- Server-Side Encryption (SSE-KMS): Automatically encrypt objects at rest with tenant-dedicated keys managed via Okustera Secrets Vault.
- Multipart Uploads: Efficiently stream multi-gigabyte or terabyte files with parallel chunk uploads and automated resume.
Managing Object Storage in the Cloud Portal
The Okustera Cloud Portal (/objects) includes a full graphical object management console:
1. Generating S3 Access Credentials
Before connecting with CLI tools or SDKs, generate your S3 credentials:
- Navigate to Storage → Object Storage (
/objects). - Click the Credentials tab → Generate S3 Credentials.
- The portal issues a new access key and secret key:
- Access Key: Public credential identifier (e.g.,
AKIA...). - Secret Key: Sensitive secret (save it immediately, as it cannot be displayed again).
- Access Key: Public credential identifier (e.g.,
2. Creating a Bucket
- Click Create Bucket.
- Bucket Name: Must be globally unique, lowercase, and DNS-compliant (e.g.,
company-assets-prod). - Access Control (ACL):
private: Only authenticated project members and presigned URLs can access objects (Recommended).public-read: Public read access via direct URL (useful for static website assets).
- Click Create.
3. Uploading & Browsing Objects in the Browser
- Click a bucket name to open the Object Browser.
- Create folders to organize prefixes (e.g.,
uploads/,invoices/). - Drag and drop files from your workstation directly into the browser for instant upload.
- Click any object to inspect its size, ETag checksum, MIME type, and last-modified timestamp.
4. Generating Presigned Download URLs
To share a private object temporarily with an external recipient:
- Locate the object in the Object Browser and click Get Presigned URL.
- Choose an Expiration Window (e.g.,
15 minutes,1 hour,24 hours). - Click Generate Link and share the temporary signed URL.
5. Bucket Versioning, Version History & 1-Click Restore
- When creating a bucket (or inside the Object Browser header), toggle Bucket Versioning between
EnabledandSuspended. - Toggle Show All Versions in the Object Browser toolbar to inspect noncurrent versions and delete markers inline.
- Click Version History on any object to view every
VersionId, size, ETag, and timestamp. - From the version history modal, download a specific historical version, permanently delete a version, or click Restore Version to promote a previous version back to the latest object.

Accessing with Python (boto3)
import boto3
from botocore.client import Config
s3 = boto3.client(
's3',
endpoint_url='https://s3.okustera.com',
aws_access_key_id='<YOUR_ACCESS_KEY>',
aws_secret_access_key='<YOUR_SECRET_KEY>',
config=Config(signature_version='s3v4'),
region_name='eu-central-1'
)
# Upload an object
s3.upload_file('/tmp/data.csv', 'company-assets-prod', 'exports/2026-data.csv')
# Generate a 1-hour presigned download URL
url = s3.generate_presigned_url(
'get_object',
Params={'Bucket': 'company-assets-prod', 'Key': 'exports/2026-data.csv'},
ExpiresIn=3600
)
print("Presigned URL:", url)
Server-Side Encryption with Secrets Vault (SSE-KMS)
Okustera Object Storage supports native Server-Side Encryption with Key Management Service (SSE-KMS) using per-tenant keys stored in Okustera Secrets Vault:
Enabling Bucket Default Encryption
Enforce default SSE-KMS encryption across every object uploaded to a bucket:
from botocore.config import Config
import boto3
s3 = boto3.client(
"s3",
endpoint_url="https://s3.okustera.com",
aws_access_key_id="<YOUR_ACCESS_KEY>",
aws_secret_access_key="<YOUR_SECRET_KEY>",
region_name="eu-central-1",
config=Config(signature_version="s3v4", s3={"addressing_style": "path"})
)
KMS_KEY_ID = "<YOUR_KMS_KEY_ID>"
# Configure default bucket-level SSE-KMS
s3.put_bucket_encryption(
Bucket="company-assets-prod",
ServerSideEncryptionConfiguration={
"Rules": [
{
"ApplyServerSideEncryptionByDefault": {
"SSEAlgorithm": "aws:kms",
"KMSMasterKeyID": KMS_KEY_ID,
}
}
]
}
)
Storage Efficiency & Deduplication Best Practices
Okustera Object Storage runs on high-durability distributed flash storage with automatic multi-domain redundancy and transparent inline compression. Understanding how uploads, copies, and overwrites behave helps you optimize storage efficiency and quota usage:
Key Characteristics
- No Cross-Object Inline Deduplication:
Uploading identical bytes to two different object keys via standard
PutObjectstores two independent objects and counts both toward your storage quota. - Zero-Copy Server-Side Cloning (
PutObjectCopy): Copying an object within the same region via the S3 API (copy_object/PutObjectCopy) performs a fast Copy-on-Write (CoW) metadata clone without re-uploading bytes over the network or duplicating physical storage blocks. - Transparent Storage Compression: Compressible workloads (such as text logs, JSON, CSV exports, and database dumps) benefit from transparent server-side compression at rest.
- Client-Side Deduplication for Large Backups: For large backup archives and snapshot repositories, use backup tools that perform client-side content-defined chunking (CDC) prior to upload so only unique blocks are transmitted to S3. See Managed Database Backups & Replication.
- Cryptographic Multi-Tenant Isolation: Because each tenant's objects are encrypted with unique SSE-KMS keys, cross-tenant deduplication is intentionally prohibited to eliminate side-channel leakage between organizations.
Behavior: Uploading Identical Objects (Same Tenant)
Scenario 1: Same Content Uploaded to Different Keys
Uploading the same file twice under separate keys (exports/data_2026.csv and archive/data_backup.csv) consumes bandwidth and storage quota for both objects.
Inefficient: Uploading Raw Bytes Twice
# Consumes double upload bandwidth and double storage quota
s3.upload_file('/tmp/data.csv', 'company-assets-prod', 'exports/data_2026.csv')
s3.upload_file('/tmp/data.csv', 'company-assets-prod', 'archive/data_backup.csv')
Recommended: Zero-Copy Server-Side copy_object
Use a server-side copy to create a zero-copy clone in milliseconds without re-uploading data:
import boto3
from botocore.client import Config
s3 = boto3.client(
's3',
endpoint_url='https://s3.okustera.com',
aws_access_key_id='<YOUR_ACCESS_KEY>',
aws_secret_access_key='<YOUR_SECRET_KEY>',
config=Config(signature_version='s3v4'),
region_name='eu-central-1'
)
# 1. Initial upload of source object
s3.upload_file('/tmp/data.csv', 'company-assets-prod', 'exports/data_2026.csv')
# 2. Perform zero-copy server-side clone
s3.copy_object(
Bucket='company-assets-prod',
CopySource={'Bucket': 'company-assets-prod', 'Key': 'exports/data_2026.csv'},
Key='archive/data_backup.csv'
)
With AWS CLI:
# Server-side zero-copy clone within the bucket
aws s3 cp s3://company-assets-prod/exports/data_2026.csv \
s3://company-assets-prod/archive/data_backup.csv \
--endpoint-url https://s3.okustera.com
Scenario 2: Overwriting the Same Key (Versioning Disabled)
By default, new buckets have Versioning Disabled (Unversioned). When you overwrite an existing object key:
- The key atomically points to the newly uploaded object.
- Previous object data is automatically reclaimed in the background.
- Storage quota reflects only the latest object size.
Object Versioning & Lifecycle Policies
When Object Versioning is enabled on a bucket, every upload to an existing key creates an immutable historical version identified by a unique VersionId.
With versioning enabled, each version of an object is retained independently. Uploading a 500 MB file 4 times to the same key retains 4 versions totaling 2 GB of storage until noncurrent versions are deleted or expired by a lifecycle rule.
1. Enabling Versioning on a Bucket
s3.put_bucket_versioning(
Bucket='company-assets-prod',
VersioningConfiguration={
'Status': 'Enabled'
}
)
With AWS CLI:
aws s3api put-bucket-versioning \
--bucket company-assets-prod \
--versioning-configuration Status=Enabled \
--endpoint-url https://s3.okustera.com
2. Uploading Multiple Versions to the Same Key
# Upload version 1
resp1 = s3.put_object(
Bucket='company-assets-prod',
Key='config/settings.json',
Body=b'{"version": 1, "status": "active"}'
)
version_id_1 = resp1['VersionId']
# Upload version 2 (creates a new version under the same key)
resp2 = s3.put_object(
Bucket='company-assets-prod',
Key='config/settings.json',
Body=b'{"version": 2, "status": "maintenance"}'
)
version_id_2 = resp2['VersionId']
3. Listing and Retrieving Specific Object Versions
# List all versions for a key
versions_resp = s3.list_object_versions(
Bucket='company-assets-prod',
Prefix='config/settings.json'
)
for v in versions_resp.get('Versions', []):
print(f"Key: {v['Key']}, VersionId: {v['VersionId']}, Latest: {v['IsLatest']}, Size: {v['Size']} bytes")
# Download historical Version 1
old_version = s3.get_object(
Bucket='company-assets-prod',
Key='config/settings.json',
VersionId=version_id_1
)
content = old_version['Body'].read().decode('utf-8')
print("Restored Version 1 content:", content)
With AWS CLI:
# List all versions
aws s3api list-object-versions \
--bucket company-assets-prod \
--prefix config/settings.json \
--endpoint-url https://s3.okustera.com
# Fetch a historical version
aws s3api get-object \
--bucket company-assets-prod \
--key config/settings.json \
--version-id "<HISTORICAL_VERSION_ID>" \
/tmp/restored-settings.json \
--endpoint-url https://s3.okustera.com
4. Automated Version Expiration (Lifecycle Rules)
Configure an S3 Lifecycle Rule to automatically expire older versions and clean up incomplete multipart uploads:
s3.put_bucket_lifecycle_configuration(
Bucket='company-assets-prod',
LifecycleConfiguration={
'Rules': [
{
'ID': 'PruneHistoricalVersions',
'Status': 'Enabled',
'Filter': {'Prefix': ''},
'NoncurrentVersionExpiration': {
'NoncurrentDays': 30 # Automatically expire noncurrent versions after 30 days
},
'AbortIncompleteMultipartUpload': {
'DaysAfterInitiation': 7 # Clean up incomplete multipart uploads
}
}
]
}
)
Declarative Management via Terraform
# 1. Provision S3 Bucket
resource "okustera_s3_bucket" "app_assets" {
name = "company-assets-prod"
acl = "private"
quota_gb = 500
}
# 2. Provision S3 Credentials for Application Service Account
resource "okustera_s3_credentials" "app_creds" {
name = "app-pipeline-s3-creds"
}
output "s3_access_key" {
value = okustera_s3_credentials.app_creds.access_key
}
output "s3_secret_key" {
value = okustera_s3_credentials.app_creds.secret_key
sensitive = true
}
Command-Line Usage with AWS CLI (aws s3)
Use the standard AWS CLI by pointing --endpoint-url to Okustera Object Storage:
# Set credentials via environment variables
export AWS_ACCESS_KEY_ID="<YOUR_ACCESS_KEY>"
export AWS_SECRET_ACCESS_KEY="<YOUR_SECRET_KEY>"
export AWS_ENDPOINT_URL="https://s3.okustera.com"
# List all buckets
aws s3 ls --endpoint-url https://s3.okustera.com
# Upload a file to a bucket
aws s3 cp ./backup.tar.gz s3://company-assets-prod/backups/ --endpoint-url https://s3.okustera.com
# Sync a local directory to an S3 prefix
aws s3 sync ./dist/ s3://company-assets-prod/static/ --endpoint-url https://s3.okustera.com
REST API Reference
GET /api/v1/storage/credentials— List active S3 access keys for the tenant.POST /api/v1/storage/credentials— Generate a new S3 Access Key / Secret Key pair.GET /api/v1/storage/buckets— List S3 buckets in the current tenant (including versioning status).POST /api/v1/storage/buckets— Create a new S3 bucket with quota, ACL, and optionalversioning_enabled.GET /api/v1/storage/buckets/{name}/versioning— Get S3 object versioning status (Enabled,Suspended,Disabled) for a bucket.PUT /api/v1/storage/buckets/{name}/versioning— Enable or suspend S3 object versioning on a bucket.DELETE /api/v1/storage/buckets/{name}— Delete an empty bucket.GET /api/v1/storage/buckets/{name}/objects— List objects in a bucket with prefix filter and optional?include_versions=true.GET /api/v1/storage/buckets/{name}/versions— List all S3 object versions and delete markers in a bucket or for a specific key (?key=...).POST /api/v1/storage/buckets/{name}/objects/restore— Restore a specific historical object version (key,version_id) as the latest object version.POST /api/v1/storage/buckets/{name}/objects/presign— Generate a temporary presigned download or upload URL (supports optionalversion_id).DELETE /api/v1/storage/buckets/{name}/objects/{key}— Delete an object (or a specific version via?version_id=...).