Reducing Launch Time with a Custom Image | Scribe

    Reducing Launch Time with a Custom Image

    • Hafeez Baig |
    • 30 steps |
    • 2 minutes
    information ordinal icon
    Refer to this guide to learn How to create VM instance with Instance Template \ <https://scribehow.com/shared/Simplifying_VM_creation_with_Instance_Templates__FtElAiwkTbuM1dBksux00A>
    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
    On the **Compute Engine** page, click on the **Disks** option from the left bar
    information ordinal icon
    **What are Disks?**\ \ Disks in computing are storage devices used to store data persistently. In Google Cloud Platform (GCP), they include Persistent Disks for durable storage and Local SSDs for high-performance, temporary storage.
    4
    **Disks** wizard will open, select the Name **my-instance-template-with-startup-script-20240703-200746** **Note:** This disk was created by the VM we set up in the previous demo.
    5
    On the right side click on the three dots and click on the **Create image** option **Note:** Here we are creating an **Image** of the **Disk**
    information ordinal icon
    **What is an image?**\ \ In computing and cloud services like Google Cloud Platform (GCP), an image refers to a packaged template used to create virtual machine (VM) instances. It typically includes an operating system (OS) and any additional software configurations needed to run applications. Images serve as the foundation for VM instances, allowing users to quickly deploy and replicate computing environments with predefined settings and configurations.
    6
    **Create an Image** wizard will open, give the Name as - "**my-custom-image**"
    7
    Scroll to the **Location** section and select the **Multi-regional** option
    information ordinal icon
    **What is Multi-regional option?**\ \ The "Multi-regional" option in cloud services like Google Cloud Platform (GCP) means data or resources are replicated across multiple geographical regions for enhanced reliability and availability.
    8
    Scroll to the **Encryption** section, select the radio button **Google-managed encryption key**
    information ordinal icon
    **What is Google-managed encryption key?**\ \ A Google-managed encryption key is a type of encryption key managed by Google Cloud Platform (GCP) for encrypting data at rest. It provides strong encryption for your data stored in GCP services like Google Cloud Storage, Compute Engine disks, and Bigtable. Google manages the key lifecycle, including rotation and storage, ensuring security best practices are followed without requiring user intervention in key management tasks.
    9
    Scroll the page and click on the **CREATE** button
    information ordinal icon
    Congratulations you have successfully created a Custom Image
    10
    On the **Compute Engine** page, click on the **Instance templates** from the left bar
    information ordinal icon
    **What are Instance templates?**\ \ Instance templates in Google Cloud Platform (GCP) are pre-defined configurations that specify settings for virtual machine (VM) instances, facilitating streamlined and consistent deployment across applications.
    11
    Select the Name **my-instance-template-with-startup-script**
    12
    Click on the **COPY** button on the top right side **Note:** Here we are making a copy of the Instance Template.