//Object Storage

S3-compatible object storage

Store any file with S3-compatible APIs and deliver it close to your users through Azion's global infrastructure, with no egress fee between storage and your applications running on Azion.

Fast content delivery

Caching on Azion's globally distributed infrastructure serves each file close to your users.

Zero egress fees to your applications

Your applications and functions on Azion read and write your buckets with no data transfer charge between them.

Widely compatible

Use standard S3-compatible tools and workflows to store and manage assets without friction.

//Features

Store, migrate, and control your data

Move your data to Azion without rewriting code, and keep control of who uses it.

Migrate from S3 without rewriting code. Move objects from AWS S3, Cloudflare R2, or any S3-compatible provider with the tools you already use. Your clients and SDKs only need a new endpoint and credentials.

Docs

Control access to each bucket. Set each bucket to read only, read and write, or restricted for your workloads, and give each tool S3 credentials for just the buckets it needs.

Docs

Upload large files reliably. Send large objects in parts with multipart upload, so an interrupted transfer resumes from the part that failed.

Docs
//Integrations

From storage to full application delivery

Object Storage works with the S3 tools you already use and with the Azion products that serve, process, and log your data.

  1. Manage buckets from Console, the API, the CLI, or the S3-compatible endpoint, with the AWS CLI, rclone, or AWS SDKs and a new endpoint.

    list_objects.py
    01import boto3
    02
    03s3 = boto3.client(
    04 "s3",
    05 endpoint_url="https://s3.us-east-005.azionstorage.net",
    06 aws_access_key_id="[ACCESS KEY]",
    07 aws_secret_access_key="[SECRET KEY]",
    08 region_name="us-east-005",
    09)
    10
    11response = s3.list_objects_v2(Bucket="my-static-bucket")
    12for obj in response.get("Contents", []):
    13 print(f"Object found: {obj['Key']}")
  2. Put a bucket behind your application as its origin, with caching in front, and choose the prefix where the application's path starts.

    storage-connector.sh
    01curl --request POST \
    02 --url https://api.azion.com/v4/workspace/connectors \
    03 --header 'Accept: application/json' \
    04 --header 'Authorization: Token [TOKEN VALUE]' \
    05 --header 'Content-Type: application/json' \
    06 --data {
    07 "name": "app-origin-connector",
    08 "type": "storage",
    09 "attributes": {
    10 "bucket": "app-origin",
    11 "prefix": "/src"
    12 }
    13}
  3. Store what a request produces, such as uploads or generated files, straight from your function, with no egress fee between the function and the bucket.

    write-object.js
    01import Storage from "azion:storage";
    02
    03async function handleRequest(event) {
    04 try{
    05 const bucket = "my-bucket";
    06 const storage = new Storage(bucket);
    07 const key = "test";
    08 const data = JSON.stringify({
    09 name:"John",
    10 address:"Abbey Road"
    11 });
    12 const buffer = new TextEncoder().encode(data);
    13 await storage.put(key, buffer);
    14 return new Response("OK");
    15 }catch(error){
    16 return new Response(error, {status:500});
    17 }
    18}
    19
    20addEventListener("fetch", (event) => {
    21 event.respondWith(handleRequest(event));
    22});
  4. Send Data Stream logs to a bucket through the S3 endpoint and keep them in your own storage.

    stream-to-bucket.sh
    01curl -X PATCH 'https://api.azion.com/v4/workspace/stream/streams/<stream-id>' \
    02 -H 'Content-Type: application/json' \
    03 -H 'Authorization: Token [TOKEN VALUE]' \
    04 -d {
    05 "outputs": [
    06 {
    07 "type": "s3",
    08 "attributes": {
    09 "host_url": "https://s3.us-east-005.azionstorage.net",
    10 "bucket_name": "<your-bucket>",
    11 "region": "us-east-005",
    12 "access_key": "[ACCESS KEY]",
    13 "secret_key": "[SECRET KEY]",
    14 "object_key_prefix": "activity",
    15 "content_type": "plain/text"
    16 }
    17 }
    18 ]
    19 }
//Use cases

What can you build with Azion Object Storage?

Object Storage keeps the files. See how to build each one in the docs.

Docs

Build and run marketing websites

Host static sites, SPAs, and their assets in a bucket and serve them through your application with caching.

Deliver an on-demand video library

Keep videos, images, and downloads in Object Storage and deliver them close to your users.

Optimize images for websites and mobile apps

Store original images once and serve each device the size and format it needs.

Build e-commerce storefronts

Keep product images and catalog assets in Object Storage and deliver them close to your shoppers.

HeroSpark
Azion transformed our operations, reducing costs and improving performance while freeing 200+ monthly hours for strategic development.
Mateus LeonardiCTO at HeroSpark

Serverless AI-native primitives for autonomous workloads

Frequently asked questions

Your data. Available everywhere.

Get faster access, simpler scaling, and less storage overhead as data grows.