Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Health check #152

Merged
merged 2 commits into from
Sep 8, 2020
Merged

Health check #152

merged 2 commits into from
Sep 8, 2020

Conversation

jrwhite17
Copy link
Contributor

When in the course of human events becomes necessary for one peoples to dissolve the timeout bandwidth that connected them with dysfunctional load balancers and to assume the among the powers of Docker the separate and equal station to which the laws of Computer Science and Computer Engineering entitle them, a decent respect to the opinions of high availability requires that they should declare causes which impel them to health checks. We hold these truths that all instances are created equal and that they are endowed by MITRE with resilient capabilities, that among these are high availability, scalability and cost effectiveness.

TLDR This PR adds the health_check gem and defaults to that gem's default settings. /health_check returns success 200 after Heimdall is running and the AWS ALB uses this path to validate Heimdall is healthy. The terraform deployment creates a load balancer that needs a health check endpoint that it can monitor to deregisters fargate tasks when an instance doesn't return healthy. @amehta-mitre

@aaronlippold aaronlippold temporarily deployed to mitre-heimdall-pr-152 August 28, 2020 18:25 Inactive
@jrwhite17
Copy link
Contributor Author

This branch is deployed here: heimdall-fb2fec87-1918573966.us-east-1.elb.amazonaws.com

Health check is: heimdall-fb2fec87-1918573966.us-east-1.elb.amazonaws.com/health_check

jrwhite-mitre and others added 2 commits September 4, 2020 17:11
Signed-off-by: Armaan Mehta <amehta@mitre.org>
Added health_check to gem lock file for docker image build.

Signed-off-by: Armaan Mehta <amehta@mitre.org>
@rbclark rbclark merged commit af6c487 into master Sep 8, 2020
@rbclark rbclark deleted the health_check branch September 8, 2020 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants