I’m trying to setup Snowplow with GCP. I’m following snowplow ressources as well as simo ahava’s guide.
I’m stuck when creating an instance group. I’ve tried creating new projects, tweak around firewall rules but can’t get nowhere.
For the configuration of the Instance Template, the firewall rules and the Instance group I’m following exactly the instructions given in the GCP Snowplow setup guide.
The issue I have is that when looking at the Instance Group Members list I can see that the instance created is labeled with two warnings:
Instance is being verified (under status)
Timeout (under Health Check Status)
Obviously when trying to run curl http://<EXTERNAL_IP_HERE>:8080/health from my terminal It doesn’t work. I have en error message Connection refused.
When creating the Instance Group without adding any Health Checks I’m not seeing any errors but still have the Connection refused error.
Hi @simonbreton that sounds like your instance startup-script is not executing correctly and that your Collector is never coming up correctly.
You would likely need to SSH into the server to check whether the launch script has executed correctly and that the Collector is actually running on the server - your VM instances generally also publish these logs directly to GCP Monitoring so checking for errors there would also be a good idea!
thanks for your message. I took a look at the log and I’m not seeing anything that could help me. and no error. However I think you are right when you say that the script is not executed correctly. I’ve ssh into the server and I can see for example that the application.conf is not even there. But when I’m executing the command manually it is working and I can see the file.
So for example here is the simple startup script I’m using to test it:
and like I said when entering the command manually it is working. The image I’m using is ubuntu-1604.
I have the same issue when creating the instance directly.
I am also facing the same issue where the instance is showing Instance is being verified (under status) & Timeout (under Health Check Status). I am following the same steps as mentioned in the document . My other fellow also facing the same issue , could you please let me know if there is any solution for this issue .
Could you please help me , I am also into same situation and unable to find out what exactly the change needed between gcp firewall, vm instance setup and application.conf