As we previously announced our integration with GCP, We are happy to share a getting started post that describes the flow of creating a cluster using Spotinst on Google Cloud Platform.
Do more with Google Cloud.
Save 70% of your infrastructure by running cost-aware clusters.
In this post we will demonstrate how to create a cost-efficient Auto-Scaling in GCP using Spotinst Elastigroup.
This post assumes that you already have a Spotinst account, and that you have connected your Google Cloud account with Spotinst.
Elastigroup is a perfect fit for Autoscaling clusters, and environments that run behind HTTP/Network Load Balancers
First thing first,
Choose your environment. Whether if its an autoscaling or HTTP Load balancer cluster.
Then login into the Spotinst Console Go to “Elastigroup” screen and press “Create”.
Select name and description for your cluster
Blended Clusters of Preemptible and Regular VMs
You can simply control the precentage of Preemptbile VMs vs Regular VMs in the same cluster
Startup Script, Tags and Meta Data
Add tags, meta data informations that will be applied into the instances in the cluster
Select your scaling measurements, either CPU Utilization, Network Bandwidth, or any other Metric that Google Cloud Monitoring exposes.
Once done, continue to the review step and hit the “Create” button.
Starting from now you will be running an Elastigroup, that provisions GCE VMs within your Google secured account.
Those instances are auto-scaled, auto-healed and auto-recovered automatically by Spotinst.
Preemptible VMs Interruptions Managed By Elastigroup
Based on a prediction algorithm and in order to minimize and reduce the Preemption rate of Google cloud, Spotinst automatically spins new machines before failure happens or before regular termination (24h) of each Preemptible VM to ensure a smooth and steady workload.
The Spotinst Team.