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

updated the CloudFormation Stack with proper health checks #495

Merged
merged 1 commit into from Nov 18, 2021

Conversation

pitthecat
Copy link
Contributor

@pitthecat pitthecat commented Nov 17, 2021

Hi there, I updated the health checks in the CloudFormation stack as they were a bit cumbersome.

  • The Apollo webserver for GraphQL offers /.well-known/apollo/server-health as health path -> you get HTTP 200 as return value which is way more intuitive matcher than 400 :)
  • I also updated the Director health check to /ping which allows the usage of HTTP 200 as matcher

I increased HealthCheckIntervalSeconds to 15 seconds. This is more than enough and you have less log entries with simple health check GET requests in AWS Cloudwatch. I deployed the improved health checks on my cluster today and they work fine.

@agoldis
Copy link
Collaborator

agoldis commented Nov 18, 2021

@all-contributors please add @pitthecat pitthecat for infrastructure

@allcontributors
Copy link
Contributor

@agoldis

I've put up a pull request to add @pitthecat! 🎉

@agoldis
Copy link
Collaborator

agoldis commented Nov 18, 2021

Awesome @pitthecat, thanks you very much!

@agoldis agoldis merged commit b65f083 into sorry-cypress:master Nov 18, 2021
@pitthecat pitthecat deleted the improved_health_checks branch November 18, 2021 08:15
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

2 participants