aws-ecs-nginx-proxy

command module
v0.0.0-...-4bf5a1e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

README

aws-ecs-nginx-proxy

A HTTP & HTTPS nginx proxy for ECS containers.

Why? / What?

AWS Load Balancers (ELB's) are handy for certain workloads. However, they don't handle multiple ssl certs per elb and they often have startup time issues with low traffic / spiky traffic.

I really wanted a load balancer for multiple SSL certs and multiple groups of apps behind. Largely these apps are side projects and won't get any real traffic so spending the cost to maintain 10's of ELB's is wasteful.

How?

There's some go code that watches the ELB api for the tasks and services running on your cluster to (re-)configuring nginx (and reload) for all of your sites and services.

Usage

Launch the docker image with the following environment variables:

  • AWS_ACCESS_KEY_ID: AWS IAM access key
  • AWS_SECRET_ACCESS_KEY: AWS IAM secret key
  • AWS_REGION: The aws region
  • AWS_ECS_CLUSTER_NAME: The ecs cluster name that the keys have access to.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL