AWS ECS Consul Registration
Project description
ecs consul reg
Docker container registration for Consul on AWS ECS.
You may want to use registrator instead. Main differences:
- python based (If I was comfortable with Golang I would probably just contribute to registrator instead)
- intended to be run on ec2 not within docker
- keeps detailed logs (json file)
- Uses Docker Health instead of running it's own checks
Install on Amazon ECS-Optimized Amazon Linux AMI 2
Pip is not installed:
curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
python get-pip.py
Install
pip install ecs-consul-reg
Run
ecs-consul-reg
Initctl script
todo~
Options
CONSUL_HOST=127.0.0.1
CONSUL_PORT=8500
Options can be supplied as env or in yaml config.
Usage: main.py [OPTIONS]
Options:
-c, --config TEXT
-lf, --logfile TEXT
-ll, --loglevel TEXT
--help Show this message and exit.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ecs-consul-reg-0.1.1.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for ecs_consul_reg-0.1.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db9fb0bf6993254a88e20d0a64404dbb609b57a89073a5330a2288ba22bfe6b8 |
|
MD5 | 0c4ccce2bd14f2e7b97ff9dbf2381df5 |
|
BLAKE2b-256 | 38882008b94b1b679cad145596b6364834ddd75e9dc6b1bf9a7c53de153381dd |