Google compute engine Pricing and VM Disk types

Google compute engine Pricing and VM Disk types:-

Google compute engine Pricing and VM Disk types




Compute Engine Pricing:-


1. Sustained Use Discount.

2. Committed Use Discount.  (1 year Commitment, 3 year commitment)

3. Preemptible VM or Spot VM.




1. Sustained Use Discount:-


— Sustained Use Discounts are applied automatically to usage within a project Separately for each region, so there is  no action required on your part to enable these discounts.

— If you run a VM for more than 25% of a month, you are eligible for discounts between 20 - 30%.

— Discount is given on vCPU and Memory Usage.

— For General purpose N2 and N2D predefine and Custom machines types and for Compute Optimized Machine types, you can receive a discount  of upto 20%.

— For general purpose N1 predefined and Custom machine types, Sole-Tenant nodes and GPU, you can get a discount of upto 30%.




Limitations:-


— Sustained use discounts automatically apply to VM Created by GCE or GKE.

— Sustained use discounts do not apply to VMs created using the app engine environment and dataflow.

— Sustained use discounts do not apply to E2, A2, or Tau T2D machine types.




2. Committed Use Discounts:-


Ideal for workload predictable resource needs


— When you purchase a committed use contract, you purchase Compute engine resources such as vCPUs, Memory, GPU, local SSDs and Sole-Tenant nodes at a discounted price in return for committing to paying for those resources for 1 year to 3 years.


— Discount is upto 57% to 70%.

— After purchase, you are billed monthly, whether you are using it or not.

— No upfront Cost is required.



How it works:-

— For example, If you purchase a commitment for 8 Core and you run 24 Core during the month, you will receive committed use discounts for 8 Cores. The other 16 Cores will be billed at Standard, non-committed use rates.


Note:- 

— Keep in mind that after you purchase a set amount of commitments, you are billed for those Commitments monthly, even if you don’t use them.

— You can’t combine committed use discounts and sustained use discounts for the same resource.



Limitations:-


— Projects that are in the free tier period with free tier Credits and projects that do not have any payment history do not Qualify for committed use discounts.


— Committed use discounts apply to usage in the Projects or Cloud Billing accounts in which those discounts are purchased.

— Committed use discounts do not apply to preemptible VM instances. 

— If a reservation is attached to a Committed use discounts, the reservation can’t be deleted for the duration of the commitment.




3. Preemptible Instances:-


     Preemptible Instances are available at much lower price - 60% to 91% discounts, Compared to the price of Standard VMs.

     However Google cloud might stop these instances if it needs to reclaim the Compute Capacity for allocation to the other VMs.


— Compute engine always stops preemptible instances after they run for 24 hours.

— The GCP Free Tier Credits for compute engine do not apply to preemptible instances.

— Preemptible instances cannot live migrate to a regular VM instances or Vice-Versa .

— Not covered under SLA.

— GCP gives only 30 sec time before reclaiming it.

— Best suited for Batch processing jobs of short duration.





Storage Options for Compute Engine:-


Block storage type, NAS, Bootable


1. Zone Persistent Disk:


  1. Standard Persistent Disk (HDD) Min. 10GB.
  2. Balanced Persistent Disk (SSD PD) Min. 10GB.
  3. SSD Persistent Disk Min.10GB.
  4. Extreme Persistent Disk (SSD) Min. 500GB.



2. Regional Persistent Disk: Data is Replicated between two Zones in the same Region. Block storage type Bootable disk.


  1. Standard Persistent Disk (HDD) Min. 10GB.
  2. Balanced Persistent Disk (SSD PD) Min. 10GB.
  3. SSD Persistent Disk Min.10GB.
  4. Extreme Persistent Disk (SSD) Min. 500GB.



3. Local SSD:- Physically attach to Host Server, Non-Persistent, Direct attach storage, Not Bootable.



4. Cloud Storage Bucket: Storage Classes


  1. Standard storage 
  2. Nearline storage 
  3. Coldline storage 
  4. Archive storage 



5. Filestore: Shared Storage for instance.




Note:-  — Increase but not shrink the disk size.

                — Number of disk is dependent on vCPU.

                — Size of disk Inc. —> IOPS Inc.

                — Can’t take Snapshot of local disk.





🙏 thanks
























Previous
Next Post »