Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

(Infra) Removes EC2 instance from ASG on Docker Cloud node error.

License

Notifications You must be signed in to change notification settings

timehop/docker-cloud-ec2-status

Repository files navigation

docker-cloud-ec2-status

Go service which polls the Docker Cloud REST API, and removes itself from it's AWS auto-scaling group if it fails a Docker Cloud node health check.

Usage

In development:

go build && DC_USER=X DC_API_KEY=X DC_NODE_UUID=X ./docker-cloud-ec2-status

Environment variables:

- DC_USER      -> Docker Cloud username
- DC_API_KEY   -> Docker Cloud API key
- DC_NODE_UUID -> Any Docker Cloud node UUID

About

(Infra) Removes EC2 instance from ASG on Docker Cloud node error.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages