The below api gives instances based on a particular zone. https://cloud.google.com/compute/docs/reference/rest/v1/instances/list I am using java client library to connect with GCP. It is possible using gcloud according to this link https://cloud.google.com/sdk/gcloud/reference/compute/instances/list Any help will be much appreciated. Answer To list all instances in all regions and zones for a project, use the aggregatedList method. Method: instances.aggregatedList
Tag: google-compute-engine
How to deploy Spring Boot application in Google Cloud Compute Engine?
I am a new to Google Cloud platform. I want to deploy my Spring Boot project in Compute Engine because deploying in App Engine costs more than the Compute Engine. There are a lot of videos/articles are available in YouTube/Websites for deploying in App Engine but I did not find any tutorial on deploying Spring Boot app in Compute Engine.