Skip to main content

Object Store Configuration

The Istari platform uses an S3 bucket or Azure Blob Storage container to store files and file-like entities. This object store is used to store files that are uploaded by users, and files that are generated by the Istari Digital platform.

info

You only need to create one object store of your choice: AWS S3 or Azure Blob Storage today (support for GCP object storage is planned for a later date).

AWS S3 Bucket

Create S3 Bucket

To create an S3 bucket, follow these steps:

  1. Log in to the AWS Management Console.
  2. Choose the region where you want to create the bucket.
  3. Navigate to the S3 service.
  4. Click on Create bucket.
  5. Under General configuration, make sure to keep the General purpose option selected.
  6. Enter a unique name for the bucket. The name should be globally unique across all AWS accounts.
  7. Under Object Ownership, make sure to keep the ACL disabled option selected.
  8. Under Block Public Access settings for this bucket, make sure to keep the Block all public access option selected.
  9. Tune the Versioning and Encryption settings according to your needs. For example, you can enable versioning to keep multiple versions of an object in the bucket.
  10. Under Advanced settings, you can leave the default settings or configure them according to your needs.
  11. Click on Create bucket.

For more information, refer to the AWS documentation.

S3 Bucket Configuration

This bucket should use the default “block all public access” ACL. It should also include the following Cross Origin Resource Sharing (CORS) permissions:

CORS Configuration
[
{
"AllowedHeaders": [
"*"
],
"AllowedMethods": [
"GET",
"POST",
"HEAD",
"PUT",
"DELETE"
],
"AllowedOrigins": [
"https://istari.customer_domain.com",
"https://v2.istari.customer_domain.com"
],
"ExposeHeaders": []
}
]

istari.customer_domain.com should be replaced with the customer’s domain and Istari Digital subdomain, e.g. istari.example.com.

The name of this bucket should be used to populate the environment variable FILE_SERVICE_OBJECT_STORE_NAME in later steps.

Create User & Credentials

Create an IAM user with full privileges for the S3 bucket. Then generate access credentials, whose values will be used to populate the environment variables FILE_SERVICE_OBJECT_STORE_ACCESS_KEY and FILE_SERVICE_OBJECT_STORE_SECRET_KEY in later steps.