1. Knowledge Base
  2. Store
  3. Storage Configuration and Troubleshooting

Configuring Wasabi Storage Tutorial

Configure Imagen to use Wasabi storage for all or some Imagen storage profiles

 

👨‍🏫Prerequisite knowledge: To get the most from this article it will help to be familiar with the Wasabi management interface, as well as the Imagen Admin interface, Storage Profiles and Storage Locations

Contents:

  1. Create a storage bucket in Wasabi
  2. Create a policy in Wasabi
  3. Create access and secret keys for this bucket
  4. Configure Imagen to use Wasabi Storage
  5. Configure storage profiles

Overview

This tutorial will show you how to connect Imagen to a Wasabi storage bucket. You may have an existing Wasabi account that you would like to connect to, and if so you could skip ahead to step 4.

Access to your bucket will be granted through the use of an IAM user, where minimum permissions are required for Imagen to store and manage files. You can choose a storage location for each storage profile, so you could choose cheaper storage for infrequently used files.


  1. Create a storage bucket in Wasabi
    Wasabi tutorial


  2. Create a policy in Wasabi
    Wasabi tutorial
     
    Policy
    The following JSON policy is for use in the tutorial above
    {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Effect": "Allow",
          "Action": "s3:ListBucketMultipartUploads",
          "Resource": "arn:aws:s3:::imagen/*"
        },
        {
          "Effect": "Allow",
          "Action": "s3:CreateBucket",
          "Resource": "arn:aws:s3:::imagen/*"
        },
        {
          "Effect": "Allow",
          "Action": "s3:ListBucket",
          "Resource": "arn:aws:s3:::imagen/*"
        },
        {
          "Effect": "Allow",
          "Action": "s3:PutBucketCORS",
          "Resource": "arn:aws:s3:::imagen/*"
        },
        {
          "Effect": "Allow",
          "Action": "s3:ListMultipartUploadParts",
          "Resource": "arn:aws:s3:::imagen/*"
        },
        {
          "Effect": "Allow",
          "Action": "s3:PutObject",
          "Resource": "arn:aws:s3:::imagen/*"
        },
        {
          "Effect": "Allow",
          "Action": "s3:GetObject",
          "Resource": "arn:aws:s3:::imagen/*"
        },
        {
          "Effect": "Allow",
          "Action": "s3:GetBucketCORS",
          "Resource": "arn:aws:s3:::imagen/*"
        },
        {
          "Effect": "Allow",
          "Action": "s3:DeleteObject",
          "Resource": "arn:aws:s3:::imagen/*"
        }
      ]
    }


  3. Add a new user to a new group in Wasabi


    Wasabi tutorial


  4. Configure Imagen to use Wasabi Storage

  5. Configure Imagen storage profiles