Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google App Engine: how to find out, which instance is running which instance-class?

I have created and successfully deployed a NodeJS-app on GoogleAppEngine. I know that they offer several "instance-types" with completely different pricings according to CPU-type, CPU-cores, memory and so on...

One can find the instance classes here in this list: https://cloud.google.com/appengine/pricing

But how do i know, which instance-class is running for my app currently? The dashboard doesnt show me that. "gcloud app instances list" hides this information too. "gcloud app describe" also doesnt provide this information....

How can i find out, which instance is running with which instance class?

Update

The solution provided by @eater is not available for me as the final "config"-column he had mentioned is not visible in "my" dashboard:

Update 2

Since this app was configured with "Flexible Environment" the concrete instance type might be not shown here as there is a specific pricing. Apparently this is the answer on my question.

enter image description here

like image 868
itinance Avatar asked Jul 05 '17 21:07

itinance


People also ask

How do I find my GCP instance type?

Using GCP Console 03 Navigate to Google Compute Engine dashboard at https://console.cloud.google.com/compute. 04 In the navigation panel, select VM instances to access the list with all the Compute Engine instances provisioned for the selected project.

What is instance class in App Engine?

Instance classes The instance class determines the amount of memory and CPU available to each instance, the amount of free quota, and the cost per hour after your app exceeds the free quota. The memory limits vary by runtime generation.

How many types of instances does Google App Engine offer?

Google App Engine provides four possible runtime environments for applications, one for each of four programming languages: Java, Python, PHP, and Go. The environment you choose depends on the language and related technologies you want to use for developing the application.

What is an engine instance?

This page provides an overview of Compute Engine instances. An instance is a virtual machine (VM) hosted on Google's infrastructure. You can create an instance or create a group of managed instances by using the Google Cloud console, the Google Cloud CLI, or the Compute Engine API.


1 Answers

Go to http://console.cloud.google.com -> select your project in the dropdown on top -> select App Engine on the left hand side menu -> Versions

Select service on the dropdown and then on the list of versions click on the "View" link in the "Config" column. This will show you summary about your version's configuration, including instance type.

For the Flexible environment, there's no instance type as such, instead you can specify resources you want your instance to have, and if you don't specify anything, default values are used. You can see what kind of resources you can specify in this section of documentation https://cloud.google.com/appengine/docs/flexible/nodejs/configuring-your-app-with-app-yaml#resource-settings The table also lists default values for resources.

like image 178
eater Avatar answered Jan 03 '23 17:01

eater