10000 GitHub - yoeluk/aws-sink: aws sink traefik plugin
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

yoeluk/aws-sink

Repository files navigation

AWS Sink

AWS Sink is a traefik plugin that enable us to define a route to put data in S3 or dynamodb (not yet implemented) when traefik is deployed in ECS.

HTTP Verb Methods

Use the PUT verb if you want to put an exact filename. POST will append a UUID to the path.

Example configuration

traefik.yml

providers:
  ecs:
    exposedByDefault: false

experimental:
  plugins:
    aws-sink:
      moduleName: github.com/yoeluk/aws-sink
      version: v0.1.2

ecs task labels (only showing the most pertinent ecs task docker labels)

dockerLabels = {
    "traefik.enable" : "true"
    "traefik.http.routers.awssink.service" : "noop@internal"
    "traefik.http.routers.awssink.rule" : "Host(`awssink.myhostexample.io`)"
    "traefik.http.routers.awssink.middlewares" : "awssink"
    "traefik.http.middlewares.awsskink.plugin.aws-sink.sinkType" : "s3"
    "traefik.http.middlewares.awsskink.plugin.aws-sink.bucket" : "devjam-yoel"
    "traefik.http.middlewares.awsskink.plugin.aws-sink.region" : "us-west-2"
    "traefik.http.middlewares.awsskink.plugin.aws-sink.prefix" : "data"
}

About

aws sink traefik plugin

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published
0