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
- will create docker image at some point though
- keeps detailed logs (to file, structured output data coming soon)
- Uses Docker Health instead of running it's own checks
Install on Amazon Linux
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.0.5.tar.gz
(4.0 kB
view details)
Built Distribution
File details
Details for the file ecs-consul-reg-0.0.5.tar.gz
.
File metadata
- Download URL: ecs-consul-reg-0.0.5.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.1.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.15rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef990bb7132470e221d1b28fdab96a0ac56802e5effc423e9a5ca39c2a238cc1 |
|
MD5 | d9b8153c9e7adb9582ed87600fe99126 |
|
BLAKE2b-256 | d36b77ae52087d2b6974a1a0504d7833ae8bb1f824f1d004f855165241450f0a |
File details
Details for the file ecs_consul_reg-0.0.5-py2-none-any.whl
.
File metadata
- Download URL: ecs_consul_reg-0.0.5-py2-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.1.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.15rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8b255da43a8243841fa83ec1e5984d7df352bcc1de47b7a6a65cf2d3dfba4c2 |
|
MD5 | 7535acd237b2c18209aa2f6730a0d3f4 |
|
BLAKE2b-256 | e8a65d4b8c9d1b3ae1397422405fe1b9c1457eae5b7d7f9f0d6085c6aaad44e6 |