Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google App Engine /_ah/health

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?

like image 936
starleaf1 Avatar asked Feb 01 '17 16:02

starleaf1


People also ask

What is Google App Engine used for?

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.

Is Google App Engine PaaS or IaaS?

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.

Can I use Google App Engine for free?

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.


1 Answers

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

like image 97
GAEfan Avatar answered Oct 06 '22 21:10

GAEfan