Skip to content

ivalexm/aws-ecs-nginx-proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

WIP - A dynamic nginx proxy for services running on ECS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 90.4%
  • Makefile 9.6%