Google Compute Engine

GCP 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

SetupSteps 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

BillingGoogle Compute Engine - Billing* You are billed by the second (after a minimum of 1 minute) * You are NOT billed for compute when a compute instance is stopped * However, you will be billed for any storage attached with it! * (RECOMMENDATION) Always create *Budget* alerts and make use of Budget exports to stay on top of billing! * What are the ways you can save money? * Choose the right machine type and image for your workload * Be aware of the discounts available: * Sustained use discounts * Reservations or Co

Live Migration & Availability PolicyCompute Engine - Live Migration & Availability PolicyHow do you keep your VM instances running when a host system needs to be updated (a soware or a hardware update needs to be performed)? * Your running instance is migrated to another host in the same zone * Does NOT change any attributes or properties of the VM * SUPPORTED for instances with local SSDs * NOT SUPPORTED for GPUs and preemptible instances Important Configuration - Availability Policy: On host maintenance**: What should happen during periodic infrastructure maintenance? * Migr

ScenariosCompute Engine Scenarios|Scenario|Solution| |--------|--------| |What are the pre-requisites to be able to create a VM instance?|1. Project 2. Billing Account 3. Compute Engines APIs should be enabled| |You want dedicated hardware for your compliance, licensing, and management needs|Sole-tenant nodes| |I have 1000s of VMs and I want to automate OS patch management, OS inventory management, and OS configuration management (manage software installed)|Use "VM Manager"| |You want to login to your VM instance to install s

Similar to AWS EC2, Azure Virtual MachinesAzure Virtual Machines* On-demand, scalable and customizable computing power * Power of a physical computer in a virtual environment * Control over OS and applications * Windows, Linux etc. similar to AWS EC2, Google Compute Engine Status: #idea Tags: az-900, azure, Cloud, cloud-compute References

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-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


References