I've set up my Node.js app to log any request that returns 404. Like this:
console.error("404: " + req.url);
Now when debugging other issue, I found out that my log is flooded with these:
404: /_ah/health
404: /_ah/health
404: /_ah/health
There are countless number of them and they aren't even 1ms apart.
What are they? Who sent them? Is it from GAE? Some sort of health check polling or something? Should I serve that URL? What should I serve in that URL?
App Engine is a fully managed, serverless platform for developing and hosting web applications at scale. You can choose from several popular languages, libraries, and frameworks to develop your apps, and then let App Engine take care of provisioning servers and scaling your app instances based on demand.
Google App Engine is a Platform as a Service (PaaS) solution that makes deployment easier. On the other hand, the Google Compute Engine is an Infrastructure as a Service (IaaS) tool.
App Engine standard environment pricing. Apps in the standard environment have a free tier for App Engine resources. Any use of App Engine resources beyond the free tier incurs charges as described in this section.
Serve anything that returns a 200 response. It is health check polling. BTW, you can turn that off:
https://cloud.google.com/appengine/docs/flexible/nodejs/how-instances-are-managed
https://cloud.google.com/appengine/docs/flexible/nodejs/configuring-your-app-with-app-yaml#health_checks
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With