What is the difference between "Cool down period" and "Initial delay" in the "Instance Groups" in the Google Cloud Platform (GCP)?

simhumileco

I set up group parameters in the Instance Groups in the Google Cloud Platform.

I have the Autoscaling parameter set to On.

I wonder what is the relationship between the two other parameters Cool down period and Initial delay:

enter image description here

  1. I would also like to know how I should choose these parameters, if in my case the virtual server is created in less than 10 seconds, and services start in less than 5 seconds?

  2. What exactly do they relate to traffic monitoring for creating or deleting virtual machines in a group and the time of creating a new instance and the time of starting services on the created instance?

  3. I wonder, however, whether, for example, these values sum up when creating a new machine or not, and if so in what situations?

Anticipating the answers: yes, I read the descriptions posted on the screen ;)

Thank you in advance for all your comments and help.

John Hanley

The first item that you will need is how long does it take for your instance to go from power up to a ready state. If you have Stackdriver logging setup, details on start activity are logged. Otherwise, use the serial port output to review startup times. I wrote an article on this for Debian.

I would also like to know how I should choose these parameters, if in my case the virtual server is created in less than 10 seconds, and services start in less than 5 seconds?

Choose the time it takes for your instance to go from startup to ready state and add a fudge factor. How much, depends on what activities are in your startup. If you are dependant on an external source to download and install a package, you have no control over how busy their site is, etc. As a general rule, you do not need to have great precision. If the startup varies from 5 to 10 seconds, use 30 seconds as your number.

What exactly do they relate to traffic monitoring for creating or deleting virtual machines in a group and the time of creating a new instance and the time of starting services on the created instance?

See my answer to your next question.

I wonder, however, whether, for example, these values sum up when creating a new machine or not, and if so in what situations?

No, these numbers do not sum up. They are used for different purposes. The first is how long to wait until Google starts collecting information such as CPU usage, etc. (think metrics and alerts). You do not want monitoring alarms going off while an instance is booting or your monitoring graphs show 10 minutes of zero activity during startup.

The second number is for health checks. Depending on how your systems are setup, a failure here could result in the instance being terminated and a new one launched. If your number are too small you could see an instance start, get terminated, a new one launched, get terminated ...

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

What is the difference between VCPU and CPU in google cloud platform

From Dev

What is the difference between google cloud datalab and google cloud ai platform notebooks?

From Dev

What is the difference between GCP Kubeflow and GCP cloud composer?

From Dev

Difference between Google Cloud Platform and Google Cloud Firestore?

From Dev

Difference between Google Cloud "Cloud Identity", "Firebase Auth", "Identity Platform"

From Dev

In GCP, what is the difference between SSH'ing into a VM and using Cloud Shell?

From Dev

Is there a Google Cloud Run startupProbe setting or similar for initial delay

From Dev

What is the real difference between a cloud platform and a normal website?

From Dev

Difference between STOP instance and SUSPEND instance in Google Cloud Platform

From Dev

GCP: Full backup of the database in the google cloud platform

From Dev

Google Cloud Platform (GCP) Ingress unhealthy backend

From Dev

Propagating Error messages in Google Cloud Platform (GCP)

From Dev

GCP: Duplicate an existing project in Google Cloud Platform

From Dev

What's the difference between Google Cloud Spanner and Cloud SQL?

From Dev

What is the difference between Cloud ML Engine and Compute Engine in Google Cloud?

From Dev

Update the HPA cool down period on GKE

From Dev

Google Cloud Instance Groups - There is no backend service attached to the instance group

From Dev

Accessing GCP Memorystore from Google Cloud Platform Cloud Shell

From Dev

Google Cloud Platform (GCP) Cloud Shell "Boost" feature missing

From Dev

GCP Cloud Storage: What is the difference between bucket.upload and file.save methods?

From Dev

What's the difference between Google Cloud Scheduler and GAE cron job?

From Dev

What's the difference between Google Cloud SDK and App Engine SDK

From Dev

What is the difference between Google Cloud Vision API and Mobile Vision?

From Dev

What's the difference between googledatastore and google.cloud.datastore?

From Dev

What is the difference between GCP endpoint and Apigee

From Dev

What is the difference between google.cloud.pubsub_v1 and google.cloud.pubsub?

From Dev

Is there a way to change a google cloud platform project to other GCP account?

From Dev

Google Cloud Platform (GCP): How to give additional roles to service account?

From Dev

Error Python API GCP Data Catalog - Google Cloud Platform

Related Related

  1. 1

    What is the difference between VCPU and CPU in google cloud platform

  2. 2

    What is the difference between google cloud datalab and google cloud ai platform notebooks?

  3. 3

    What is the difference between GCP Kubeflow and GCP cloud composer?

  4. 4

    Difference between Google Cloud Platform and Google Cloud Firestore?

  5. 5

    Difference between Google Cloud "Cloud Identity", "Firebase Auth", "Identity Platform"

  6. 6

    In GCP, what is the difference between SSH'ing into a VM and using Cloud Shell?

  7. 7

    Is there a Google Cloud Run startupProbe setting or similar for initial delay

  8. 8

    What is the real difference between a cloud platform and a normal website?

  9. 9

    Difference between STOP instance and SUSPEND instance in Google Cloud Platform

  10. 10

    GCP: Full backup of the database in the google cloud platform

  11. 11

    Google Cloud Platform (GCP) Ingress unhealthy backend

  12. 12

    Propagating Error messages in Google Cloud Platform (GCP)

  13. 13

    GCP: Duplicate an existing project in Google Cloud Platform

  14. 14

    What's the difference between Google Cloud Spanner and Cloud SQL?

  15. 15

    What is the difference between Cloud ML Engine and Compute Engine in Google Cloud?

  16. 16

    Update the HPA cool down period on GKE

  17. 17

    Google Cloud Instance Groups - There is no backend service attached to the instance group

  18. 18

    Accessing GCP Memorystore from Google Cloud Platform Cloud Shell

  19. 19

    Google Cloud Platform (GCP) Cloud Shell "Boost" feature missing

  20. 20

    GCP Cloud Storage: What is the difference between bucket.upload and file.save methods?

  21. 21

    What's the difference between Google Cloud Scheduler and GAE cron job?

  22. 22

    What's the difference between Google Cloud SDK and App Engine SDK

  23. 23

    What is the difference between Google Cloud Vision API and Mobile Vision?

  24. 24

    What's the difference between googledatastore and google.cloud.datastore?

  25. 25

    What is the difference between GCP endpoint and Apigee

  26. 26

    What is the difference between google.cloud.pubsub_v1 and google.cloud.pubsub?

  27. 27

    Is there a way to change a google cloud platform project to other GCP account?

  28. 28

    Google Cloud Platform (GCP): How to give additional roles to service account?

  29. 29

    Error Python API GCP Data Catalog - Google Cloud Platform

HotTag

Archive