Hello Abel, You responded privately to me about this, explaining that you understand that they should be the same. I have checked my dashboard in [1] and I have seen the instance graph update with the minimum instance defined in the YAML file that you provided me with, which is what I expect.
Under my experience, it usually takes a few minutes for the monitoring graphs and lists to update, while the shell always returns the most up to date information. Therefore, if this is checked right after or during deployment, you might not see the most up to date information, but this should not take long. However, I would like to point out that sometimes, I have faced that if the application has any misconfiguration, it might be deployed but not start any instance. If this is the case, you will not be able to access it by clicking on 'default' in the services page [2] as the service will return an error. This misconfiguration could arise from the handlers, as they are dependent on the deployment code, which I do not have access to. Therefore, I would like to suggest you to attempt the deployment documented in this guide [3], however ensuring that you deploy using an app.yaml as documented in [4], and check if you can see the instances then. [1]: https://console.cloud.google.com/appengine [2]: https://console.cloud.google.com/appengine/services [3]: https://cloud.google.com/appengine/docs/standard/nodejs/quickstart [4]: https://cloud.google.com/appengine/docs/flexible/nodejs/configuring-your-app-with-app-yaml On Tuesday, January 4, 2022 at 3:13:45 PM UTC Alejandro L wrote: > Hello Abel, > > Thank you for your message. > > I have deployed a sample application on my App Engine environment using > the configuration that you attach as my app.yaml and I have not been able > to reproduce this behavior. I would like to ask, how are you attempting to > see the instance list for each deployment? The most accurate and up to date > data for this kind of monitoring is to use the command ‘gcloud app > instances list’, which is how I can find the min_instance which is running > for this sample deployment. Does this work for you? > > Alejandro L > > > On Monday, January 3, 2022 at 10:03:14 AM UTC Abel Alcaraz Domínguez wrote: > >> Hi, >> >> any idea why I can't see the number of instances started in my apps? >> >> in none of my projects I can see the number of instances started, with >> this configuration: >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> *runtime: nodejs16instance_class: F1service: defaultautomatic_scaling: >> min_instances: 1 max_instances: 2handlers:# Serve all static files with >> url ending with a file extension.- url: /(.*\..+)$ static_files: build/\1 >> upload: build/(.*..+)$ secure: always redirect_http_response_code: 301# >> catch all handler to index.html- url: .* static_files: build/index.html >> upload: build/index.html secure: always redirect_http_response_code: 301* >> >> Thanks in advance for your help >> Abel >> > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/cecdf86c-5627-4518-8187-62464492c84bn%40googlegroups.com.
