Reputation: 21585
It was really a bug. AWS corrected it. I still don't know what is the correct value though. I managed to set /health
but the instance is always unhealthy since. Any advice?
Today AWS Elastic Beanstalk web console got an update for Configuration in our region. In the old GUI, we were asked to set the health check url. So we input https://domain/health
.
In the new GUI, AWS is asking for health check path. But no matter what value I try, I cannot save the config and I always receive the same result:
I tried these values:
I believe it is a bug, isn't? Have you been successful setting the health path?
Upvotes: 3
Views: 15645
Reputation: 1442
From the forum post linked by Klemens, what worked for me was setting the health check url to /
, saving+applying changes, then going back and putting my real health check URL back in.
Upvotes: 0
Reputation: 2180
You just need to create a raw html file with "OK" inside and redirect your health path to this html file. If you use Django, just do:
views.py
def health(request):
return HttpResponse("OK")
urls.py
url(r'^health/', views.health, name='health'),
Upvotes: 2