Skip to content

Introduction

Object storage is a type of data storage architecture that manages data as objects. Object storage is also known as S3 storage, as it is compatible with the Amazon S3 API. It is designed to handle large amounts of unstructured data, such as photos, videos, and backups. Object storage is highly scalable, durable, and cost-effective, making it ideal for cloud storage solutions.

Object storage in Nexaa

Object storage is still under development and is not yet available as a public service. If you are interested in using object storage, you can use our feedback tool to vote for this feature. We will notify you when it becomes available.

Fast-forward to the future

As object storage is still under development, we recommend using persistent volumes for your storage needs. With persistent volumes available in the Nexaa platform you can use a container to expose a S3 compatible API to your application. This allows you to use object storage features without having to wait for the public release of object storage.

In Nexaa you can use the s3Proxy to store your state in a bucket. You can use the curl command below to create a container with the s3Proxy image. Or use the portal to create a container.

curl --request POST \
    --url https://graphql.tilaa.com/graphql/platform \
    --header 'authorization: Bearer <token>' \
    --header 'content-type: application/json' \
    --data '{
      "query": "mutation ($containerInput: ContainerCreateInput!) { containerCreate(containerInput: $containerInput) { name }}",
      "variables": {
        "containerInput": {
             "namespace":"my-namespace",
             "name":"object-storage",
             "image":"andrewgaul/s3proxy:2.9.0",
             "resources":"CPU_250_RAM_500",
             "ports":["80"],
             "mounts":[{"path":"/data","state":"PRESENT","volume":{"autoCreate":true,"size":1,"name":"storage","path":"/data","usage":0}}],
             "ingresses":[{"domainName":"my-object-storage.tilaa.cloud","enableTLS":true,"port":80,"state":"PRESENT","whitelist":[]}]}
             "environmentVariables":[
                 {"name":"S3PROXY_IDENTITY","value":"local-identity","secret":false,"isNew":true},
                 {"name":"S3PROXY_CREDENTIAL","value":"local-credential","secret":false,"isNew":true}
             ]
           }
      }
    }'

When you use this container we will also inform you when object storage becomes available as a public service.