Google Cloud Compute Engine

Google Cloud Compute Engine:   



Types of VM in Google cloud


Compute:                               (Server Based, IaaS Level)


1. Compute Engine

2. Kubernetes Engine

3. VMWare Engine


Server-less                               (Part of Compute, PaaS Level)


1. App Engine

2. Cloud Run

3. Cloud Function



Compute Engine:- Compute Engine is a Customizable Compute Services that lets you Create and run Virtual machines on Google’s Infrastructure.



There are two types of Machine in GCP:-


1. Custom Machine         

2. Predefined Machine.


1. Custom Machine:- You can take vCPU and Memory as per your need, and Create your own custom machine.


E.g- 4 vCPU, 7.5GB RAM.


— (GCE) Google Compute Engine is comes under IaaS.

— A Virtual machine is like a physical hardware Server, but running in the cloud.

— GCP isolates resources and sells them on a per Server Basis with different combinations.


— Google provides VM of all Sizes —> micro to 160 vCPU and 3.75TB Memory.

— You can attach local SSD upto 3TB and Persistent disk upto size of 64TB, that to encrypted as well (Min. 375GB).


— Google Cloud uses Open Source KVM Hypervisor at Backend.  

— (KVM = Kernel based Virtual Machine) Whereas Nitro in AWS, and Hyper-V in Azure.


— Fast Booting time among all cloud providers.

— All vCPU, GCP and GB of Memory are charged a minimum of 1 minutes. After 1 minutes, instances are charged in 1 Sec. Increments.



2. Predefined Machine:- Predefined Machine types are Pre-built and ready to go configuration of VMs with Specific amounts of vCPU and Memory to start running app Quickly.



Compute Engine has 3 terms:-


1. Machine Family:- Set of processors and Hardware Configuration.

2. Series:- Machine Families are further Classified by Series and Generation.

3. Machine type:- Every machine series has pre-defined machine types that provide a set of resource.



Types of Predefined VM / Machine Families:-


  1. General Purpose 
  2. Compute Optimized 
  3. Memory Optimized 
  4. Accelerator Optimized or GPU
  5. Shared Core
  6. Sole Tenant nodes (Un-Officials)


— A machine type is a set of Virtualized hardware resources available to a virtual machine including the system memory size, vCPU and Persistent disk limits.

— In Compute Engine, machine type are grouped and put inside families on their Behaviour & Workload.


E.g:- Customers Using GCE:- PayPal, Twitter, P&G, Airbus, Etsy, SKY etc.



Workload Type:-

 

1. General Purpose Workloads:-


1. Cost-Optimized                  2. Balanced                3. Scale-Out Optimized

 

Series- E2                     N1, N2, N2D (AMD)           Tau, T2D

1.Day to day Computing at a lower Cost                        

2.Balanced price/performance across        

3.Best Performance & Cost for Scale Out Workloads.

                                 a wide range of VM Shapes.


— Web Serving                — Web Serving              — Scale-Out Workloads

— App Serving                 — App Serving              — Web Serving

— Back office apps          — Back office apps        — Containerized Micro-services

— Small & Medium Databases.                                 

                                          — Medium - Large Databases.   

                                                                                 — Media Transcoding


— Micro-services             — Cache                         — Large Scale Java Applications

— Virtual Desktop                                                    — Media / Streaming 



2. Compute Optimized:-


Series- C2, C2D (AMD Processors):- Ultra high performance for Compute intensive Workload.


— Compute Bound Workloads

— High performance web Serving

— Gaming

— Ad Serving

— High performance Computing 

— Media Transcoding



3. Memory Optimized:-


Series- M2, M2 :-  Ultra High Memory workloads offers highest Memory Config. Across VM Families.


— Medium-large in Memory databases such as SAP, HANA.

— In-Memory Databases and in-Memory analytics.

— Microsoft SQL Server and similar Databases.



4. Accelerator Optimized:-


Series- A2 :- Optimized for high performance computing workload Best for Parallel Computing Workload.


— CUDA enabled MLTraining and Inference

— HPC

— Massive Parallelized Computation.






  1. Shared Core Machines:- 

— This types of VMs intends to timeshare the physical Core Shared, core machines types are a Cost effective Option that works well with small or batch Workloads that only needs to run for a short time. 

— It uses partial vCPU that runs on one-hyper thread of the host CPU running your instance.



  1. Sole -Tenant Nodes:-

— Sole tenant nodes are the Servers for Compute engine that are dedicated for the users on priority. The purpose of these nodes is to serve the deployments for BYOL (Bring your own license) applications.

— The sole tenant nodes provides you access to similar VM Configuration and Machine types just like regular Compute instances.





Custom Machine Type:-


— If none of the predefined machine types matches your needs, you can independently Specify the number of vCPU’s and the amount of Memory for your instance.

— The Memory per vCPU of a Custom machine type must be between 0.9GB, 3.75 & 6.5GB per vCPU.

— Total Memory for a custom machine type must be a multiple of 256MB.

— Above 1, the instance vCPU Count must be even, such as 2, 4, 6, 8, 10 and so on.






🙏 thanks




















Previous
Next Post »