Google Compute Engine Family or Machine Types
- General purposeGeneral purposegcp: General Purpose (E2, N2, N2D, N1) : Best price-performance ratio Use cases: * Web and application servers, Small-medium databases, Dev environments Example: e2-standard-2 suffix 2 means it has 2 vCPUs Status: #idea Tags: gcp, google-cloud-engineer, cloud, cloud-compute, Google Compute Engine, Steps when creating a VM Instance in Google Compute Engine, Google Compute Engine Family or Machine Types, ccp, AWS EC2, AWS EC2 Instance Types References
- Memory-optimizedMemory-optimizedgcp: Memory Optimized (M2, M1): Ultra high memory workloads Use cases: * Large in-memory databases and In-memory analytics Status: #idea Tags: gcp, google-cloud-engineer, cloud, cloud-compute, Google Compute Engine, Steps when creating a VM Instance in Google Compute Engine, Google Compute Engine Family or Machine Types, ccp, AWS EC2, AWS EC2 Instance Types References
- Compute-optimizedCompute-optimizedgcp: Compute Optimized (C2): Compute intensive workloads Use cases: * Gaming applications Status: #idea Tags: gcp, google-cloud-engineer, cloud, cloud-compute, Google Compute Engine, Steps when creating a VM Instance in Google Compute Engine, Google Compute Engine Family or Machine Types, ccp, AWS EC2, AWS EC2 Instance Types References
- GPU
- Custom Machine TypesCompute Engine Features - Custom Machine Types* What do you do when predefined VM options are NOT appropriate for your workload? * Create a machine type customized to your needs (a Custom Machine Type) Custom Machine Type: Adjust** vCPUs, memory and GPUs * Choose between E2, N2, or N1 machine types * Supports a wide variety of Operating Systems: CentOS, CoreOS, Debian, Red Hat, Ubuntu, Windows etc * Billed per vCPUs, memory provisioned to each instance * Example Hourly Price: $0.033174 / vCPU + $0.004446 / GB Status: #idea Tag
Can vary from region to region
Can be changed when stopped
Similar to AWS EC2 Instance Types
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, cloud, cloud-computeCompute for CloudProvision and manage cloud resources to run application without managing physical hardware
GCP offerings:
* Google Compute Engine
Azure offerings:
* Azure Virtual Machines
* Azure App Service
* Azure Container Instances
* Azure Functions
* Azure Automated Kubernetes Service
* Azure Container Apps
Status: #idea
Tags: cloud
References, Google Compute EngineGoogle Compute EngineGCP service used to provision and manage virtual machines
* Create and manage lifecycle of Virtual Machine (VM) instances
* Associated with a project
Load balancing* and *auto scaling* for multiple VM instances
Attach storage** (& network storage) to your VM instances
* Manage network connectivity and configuration for your VM instances
Setup
Billing
Live Migration & Availability Policy
Scenarios
Similar to AWS EC2, Azure Virtual Machines
Status: #idea
Tags: gcp, google-cloud-engineer,, Steps when creating a VM Instance in Google Compute EngineSteps when creating a VM Instance in Google Compute Engine1. Input name
1. Input labels (key-value pairs, similar to tags in AWS EC2 setup)
1. Choose Region and Zone based on:
* Cost, Regulations, Availability Needs, Latency and Specific Hardware needs
1. Configure hardware by choosing one of the Google Compute Engine Family or Machine Types
1. Choose Boot disk
1. Configure firewall
1. After instance is created, there is the internal IP and external IP
1. (Optional) Assign Static IP
or use an Instance Template
Additional Features:
* Custom Mac,