Sign inSign up

assemblyline/sidekicks

By assemblyline

•Updated almost 11 years ago

Image
0

771

assemblyline/sidekicks repository overview

#Assemblyine

⁠Sidekicks

Generic sidekicks to aid in registration and health checking of containers running in production / pre-production.

⁠Vulcand

The vulcand sideick is designed to register a container with the vulcand reverse proxy.

It finds the port exposed in the given docker container and sets up a server in the given backend.

⁠Usage

docker run [-e ...] assemblyline/sidekicks vulcand

⁠Config

The ELB sidekick takes its configuration from the environment.

The id of the current instance is looked up dynamically using ec2 instance metadata⁠

ENV VarDescription
HOSTNAMEThe hostname or ip of the current instance
CONTAINER_NAMEThe name of the container to upsert
CONTAINER_PORTThe container port to lookup exposed port by
VULCAND_BACKENDThe name of the Vulcand backend to upsert this server in

⁠ELB

The ELB sidekick is designed to register an instance with an Amazon Web Services Elastic Load Balancer.

It registers the current instance with the named ELB on start, if the sidekick receives an INT or TERM signal it will deregister the instance.

⁠Usage

docker run [-e ...] assemblyline/sidekicks elb

⁠Config

The ELB sidekick takes its configuration from the environment.

The id of the current instance is looked up dynamically using ec2 instance metadata⁠

ENV VarDescription
AWS_ELB_NAMEThe name of the ELB to register with
AWS_REGIONThe name of the AWS Region
AWS_ACCESS_KEYThe AWS Access Key to use
AWS_SECRET_KEYThe AWS Secret Key to use
⁠Limitations
  • It only works with AWS Elastic Load Balancers
  • It needs the load balancer to be set up properly
  • Remember an ELB can only balance instances in the same region

Tag summary

Content type

Image

Digest

sha256:898a4e239…

Size

25.2 MB

Last updated

almost 11 years ago

docker pull assemblyline/sidekicks:0.0.3