Preemtible Instances
How Preemtible Instances works in GCP:
- Short-lived cheaper (upto 80%) compute instances
- Can be stopped by GCP any time (preempted) within 24 hours
 - Maximum time for running is 24 hours
 - Instances get 30 second warning (to save anything they want to save)
 
 - Use Preempt VM's if:
- Your applications are fault tolerantfault tolerantCan stop and start at any time
 - You are very cost sensitive
 - Your workload is NOT immediate
 - Example: Non immediate batch processing jobs
 
 
RESTRICTIONS:
- NOT always available
 - NO SLA and CANNOT be migrated to regular VMs
 - NO Automatic Restarts
 - Free Tier credits not applicable
 
Similar to AWS Spot InstancesSpot InstancesHow Spot Instances works in Azure: * Buy unused compute capacity for VMs at savings * Ideal for interruptible workloads No specific completion time** needed How Spot Instances works in GCP: Spot VMs**: Latest version of preemptible VMs Key Difference**: Does not have a maximum runtime * Compared to traditional preemptible VMs which have a maximum runtime of 24 hours * Other features similar to traditional preemptible VMs * May be reclaimed at any time with 30-second notice * NOT al
Status: #idea
Tags:  gcp, google-cloud-engineerGoogle Associate Cloud Engineer Noteswhy use cloud?
https://www.in28minutes.com/gcp-bookshelf
https://www.in28minutes.com/downloads/09-google-certified-associate-cloud-engineer/CoursePresentation-GoogleCertifiedAssociateCloudEngineer.pdf
how do projects work in gcp?
cloud projects and accounts
Resource Hierarchy
Organization Level
Folder Level
Project Level
IAM
who
* single account
* group
  can do what (rules)
* basic
* predefined
* custom
  scope
observability monitoring
billing account
load balancing
Regions and Zones, CloudCloudCase just like cloud computing (SaaS, etc)
* [ ] UI
* [ ] book
* [ ] zulfani
* [ ] exercises
  * [ ] UI
  * [ ] assignment
  * [ ] responsi, cloud-billingBilling and Cost Planning in CloudMost providers:
* Pay as you go pricing model
* Reservations or Committed Use Discounts
* Spot Instances
* Preemtible Instances
How billing works in GCP:
* Sustained use discounts
* Google Compute Engine - Billing
How billing and planning costs works in Azure:
* Azure Free Account
* Azure Hybrid Benefit
* Azure Pricing Calculator
* Total Cost of Ownership Calculator
* Azure Cost Management Dashboard
* Azure Advisor
Status: #idea
Tags: Cloud
References, alibaba cloud