Achieving High Availability with Live Migration and Automatic Restart | Scribe

    Achieving High Availability with Live Migration and Automatic Restart

    • Hafeez Baig |
    • 9 steps |
    • 16 seconds
    information ordinal icon
    Refer to this guide to learn How to Create your first Virtual Machine in GCP\ <https://scribehow.com/shared/Creating_your_first_Virtual_Machine_in_GCP__dF2VjMksT5en6PowYws7lQ>
    1
    Sign in into the **Google Cloud Platform**
    2
    Type "**Compute Engine**" in the search bar and click on the **Compute Engine** option
    information ordinal icon
    **What is Compute Engine?** Google Compute Engine (GCE) is an Infrastructure-as-a-Service (IaaS) offering from Google Cloud Platform (GCP) that allows users to run virtual machines (VMs) on Google's infrastructure. It provides scalable and flexible computing resources, high-performance persistent storage, advanced networking capabilities, and integration with other GCP services, making it suitable for a variety of workloads including web hosting, data processing, and high-performance computing.
    3
    Click on the **CREATE INSTANCE** button on the top left side
    4
    **Create an instance** wizard will open, give the Name as - "**IN28MINUTES-INSTANCE**"
    5
    Scroll to the **VM provisioning model** section, here you can choose and select the VM provisioning models for your VM instance
    information ordinal icon
    **What is the Standard VM Provisioning model?** The Standard VM Provisioning model in cloud computing refers to the process of creating virtual machines (VMs) using predefined configurations provided by the cloud service provider. This typically includes selecting parameters such as CPU, memory, storage, and networking specifications from a set of standard options offered by the provider. Users can choose these configurations based on their workload requirements, ensuring scalability, performance, and cost-efficiency for their applications running on VM instances.
    6
    Click on the **VM PROVISIONING MODEL ADVANCED SETTINGS** dropdown
    7
    Scroll to the **On host maintenance** section, here you can select the options for On host maintenance for your VM instance
    information ordinal icon
    **What is the Migrate VM Instance option under On host maintenance?** The "Migrate VM Instance" option under "On host maintenance" in GCP allows a virtual machine (VM) to be automatically moved to another host without downtime when the current host undergoes maintenance. This ensures that the VM remains running and available, providing continuous operation and minimizing disruption to services.
    8
    Scroll to the **Host error timeout dropdown** section, here you can set the host error timeout for your VM instance
    information ordinal icon
    **What is Host error timeout?** Host error timeout in GCP refers to the period a virtual machine (VM) waits for the host to recover from an error before deciding to stop or migrate the VM to another host. This timeout helps ensure temporary host issues don't immediately interrupt VM operations.
    9
    Scroll to the **Automatic restart** section, here you can select the Automatic restart options **On** and **Off** for your VM instance
    information ordinal icon
    **What is Automatic restart?** Automatic restart in GCP refers to a feature that automatically restarts a virtual machine (VM) if it crashes or gets stopped unexpectedly due to a non-user-initiated event. This ensures high availability and minimizes downtime by keeping the VM running with minimal manual intervention.
    information ordinal icon
    Congratulations! on completing this lab and Achieving High Availability with Live Migration and Automatic Restart