Skip to content

lsst-it/puppet-s3daemon

Repository files navigation

s3daemon

Table of Contents

  1. Overview
  2. Description
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how

Overview

s3daemon Client/server for pushing objects to S3 storage.

Description

The server is intended to be able to maintain long-lived TCP connections, avoiding both authentication delays and TCP slow start on long bandwidth-delay product network segments. Enabling multiple simultaneous parallel transfers also is intended to maximize usage of the network.

The client is intended to allow "fire-and-forget" submissions of transfer requests by file-writing code.

Usage

Example role defined via hiera.

---
lookup_options:
  s3daemon::instances:
    merge:
      strategy: deep
classes:
  - s3daemon
s3daemon::image: ghcr.io/lsst-dm/s3daemon:sha-b5e72fa
s3daemon::env:
  AWS_CA_BUNDLE: /path/to/cacert.pem
s3daemon::instances:
  foo:
    aws_access_key_id: access_key_id
    aws_secret_access_key: secret_access_key
    image: ghcr.io/lsst-dm/s3daemon:main
    env:
      S3_ENDPOINT_URL: https://s3.foo.example.com
      S3DAEMON_PORT: 15556
  bar:
    aws_access_key_id: access_key_id
    aws_secret_access_key: secret_access_key
    volumes:
      - "/home:/home"
      - "/opt:/opt"
    env:
      S3_ENDPOINT_URL: https://s3.bar.example.com
      S3DAEMON_PORT: 15557
      AWS_DEFAULT_REGION: baz

Reference

See REFERENCE

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published