Skip to content

    AWS S3 Storage

    This page describes the configuration options for the S3 Storage resource. The S3 Storage resource is used to configure an AWS S3 bucket as a storage backend.

    Configuring the bucket

    To configure the bucket, you need to specify the bucket name and the region.

    apiVersion: kannika.io/v1alpha
    kind: Storage
    metadata:
    name: s3-storage
    spec:
    s3:
    bucket: my-bucket
    region: us-east-1
    prefix: /path/to/directory # Optional
    description: "This is an S3 bucket" # Optional

    Configuring authentication to the S3 bucket

    Please see the section on AWS Authentication for information on how to configure access to the S3 Storage.

    Configuring a data retention policy

    A retention policy to delete old data can be configured in a Backup.

    Make sure the bucket has no lifecycle policy susceptible to delete or move files, or it might interfere with Armory’s own book keeping.