Skip to main content

Object Storage

S3-compatible object storage with no egress fees. Store files, backups, and static assets.

Features

  • S3-compatible API (works with existing S3 SDKs)
  • No egress fees - pay only for storage
  • Unlimited objects per bucket
  • Versioning support
  • Lifecycle policies
  • CORS configuration
  • Static website hosting
  • CDN integration available

Plans

PlanStoragePrice
Pay-as-you-goUnlimited$0.01/GB/mo

Additional costs:

  • PUT/POST requests: $0.005 per 1,000
  • GET requests: $0.0004 per 1,000
  • Egress: Free

Quick Start

# Create a bucket
szc storage create my-bucket

# Upload a file
szc storage upload my-bucket ./file.txt

# Get access credentials
szc storage credentials my-bucket

S3 SDK Configuration

import { S3Client } from "@aws-sdk/client-s3";

const client = new S3Client({
endpoint: "https://s3.sparbz.cloud",
region: "us-east-1",
credentials: {
accessKeyId: "YOUR_ACCESS_KEY",
secretAccessKey: "YOUR_SECRET_KEY",
},
});

Static Website Hosting

# Enable static hosting
szc storage website my-bucket --index index.html --error 404.html

# Get website URL
szc storage info my-bucket

Your site will be available at https://my-bucket.s3.sparbz.cloud.