Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 831 Bytes

File metadata and controls

33 lines (19 loc) · 831 Bytes

GSP087 - Autoscaling an Instance Group with Custom Cloud Monitoring Metrics

Task 1. Creating the application

Task 2. Create a bucket

  1. Buat bucket

  2. Copy startup script ke bucket

    gsutil cp -r gs://spls/gsp087/* gs://<YOUR BUCKET>

Task 3. Creating an instance template

  1. Buat instance template autoscaling-instance01
  2. Setting metadata

Task 4. Creating the instance group

  1. Buat instance group autoscaling-instance-group01 dari template dan off in autoscale

Task 5. Verifying that the instance group has been created

Task 6. Verifying that the Node.js script is running

Task 7. Configure autoscaling for the instance group

  1. Edit autocalling configuration in instance group

Task 8. Watching the instance group perform autoscaling

Task 9. Autoscaling example