Skip to main content

Strato HiDrive S3 Storage Bucket Configuration Requirements

Josh Franzen avatar
Written by Josh Franzen
Updated over a year ago

Who can use this feature?

πŸ‘€ Only Organizations Owners can access this feature.
🚩 Available on the Essential and Enterprise Plans.

Overview

ArborXR offers the ability for customers to connect their own cloud storage bucket to isolate their content (apps & files) from other content on the platform.

  1. Click Settings in the navigation sidebar.

  2. Select the Storage tab.

  3. Click Configure Custom Storage Bucket.
    ​

If order to connect a Strato HiDrive S3 storage bucket, you will need the following information about your bucket on hand:

  • Access key

  • Secret key

  • Bucket name

  • Region

  • Endpoint

This knowledge base articles details Strato HiDrive S3 storage bucket configuration requirements to enable the connection to ArborXR.


Create the Access & Setup Keys

  1. Sign in to your HiDrive S3 account then under Access keys click Create new.
    ​
    ​

  2. Copy the access key and secret key and save them to a safe location.

  3. Enter a name for the bucket then click Create bucket.
    ​
    ​


Set Up CORS

  1. To configure CORS for the space we will be using an external tool called s3cmd. s3cmd is a popular cross-platform command-line tool for managing S3 and S3-compatible object stores. Install the s3cmd tool from here.

  2. Once the s3cmd tool is installed, open a terminal window and configure s3cmd accordingly:
    ​

    > s3cmd --configure 
    Access key and Secret key are your identifiers for Amazon S3. Leave them empty for using the env variables.
    > Access Key: ENTER_YOUR_ACCESS_KEY
    > Secret Key: ENTER_YOUR_SECRET_KEY
    > Default Region [US]: eu-central-1
    > S3 Endpoint [s3.amazonaws.com]: s3.hidrive.strato.com
    > DNS-style bucket+hostname:port template for accessing a bucket [%(bucket)s.s3.amazonaws.com]: arborxr-content-storage.s3.hidrive.strato.com
    OPTIONAL
    > Encryption password:
    > Path to GPG program [/usr/bin/gpg]:
    > Use HTTPS protocol [Yes]:
    > HTTP Proxy server name:
    > Test access with supplied credentials? [Y/n] Y Please wait, attempting to list all buckets... Success. Your access key and secret key worked fine :-)
    > Save settings? [y/N] y
    Configuration saved to '/home/arborxr/.s3cfg'

  3. Create a cors.xml file with the following content:
    ​

    <?xml version="1.0" encoding="UTF-8"?>
    <CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
    <CORSRule>
    <AllowedOrigin>*</AllowedOrigin>
    <AllowedMethod>GET</AllowedMethod>
    <AllowedMethod>POST</AllowedMethod>
    <AllowedMethod>PUT</AllowedMethod>
    <MaxAgeSeconds>3000</MaxAgeSeconds>
    <ExposeHeader>ETag</ExposeHeader>
    <AllowedHeader>*</AllowedHeader>
    </CORSRule>
    </CORSConfiguration>

  4. Update the cors for the space:
    ​

    > s3cmd setcors cors.xml s3://arborxr-content-storage

Identify the Endpoint

  • Replace BUCKET_NAME with the name of your bucket.

Did this answer your question?