Skip to content

[Feature Request] Add Support for S3-Compatible Object Storage Backend #450

@ZiggiZagga

Description

@ZiggiZagga

Description

Propose adding support for open source, S3-compatible object storage as a primary file storage mechanism in OpenAS2. This allows for a scalable, cloud-native backend for message processing and storage, improving flexibility and modernizing deployment strategies.

Rationale

  • Cloud Native Flexibility: Supports deployments using Amazon S3, MinIO, Ceph, or other compatible systems.
  • Scalable Architecture: Object storage backends scale horizontally and support large datasets natively.
  • Stateless Deployments: Enables running OpenAS2 in stateless environments (e.g., Kubernetes).
  • Open Source Alignment: Using systems like MinIO keeps the OpenAS2 ecosystem vendor-neutral.

Proposed Implementation

  • Develop a new storage module (S3StorageModule) adhering to OpenAS2's existing file interface structure.
  • Integrate the AWS SDK or an open source-compatible alternative.
  • Configuration supporting:
    • Bucket name
    • Region/endpoint
    • Path prefix
    • Access credentials (environment variables)
  • Implement both read and write capabilities, including:
    • Multipart upload/download
    • Error handling and logging

Optional Enhancements

  • Local disk fallback mechanism
  • Metadata tagging support

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions