Playing with a Static IP Addresses V2 | Scribe

    Playing with a Static IP Addresses V2

    • Hafeez Baig |
    • 18 steps |
    • 2 minutes
    information ordinal icon
    Refer to this guide to learn how to create a Virtua Machine in GCP\ <https://scribehow.com/shared/Creating_your_first_Virtual_Machine_in_GCP__dF2VjMksT5en6PowYws7lQ> Refer to this guide to learn how to Install HTTP WebServer on a Virtual Machine in GCP<https://scribehow.com/shared/Installing_HTTP_Webserver_on_Google_Compute_Engine_Virtual_Machine__RCjtAN8xTAm6_ZvYcUD8vQ>
    1
    Sign in into the **Google Cloud Platform**
    2
    To Reserve an **External Static IP address**, type "**IP addresses**" in the search bar and click on the **IP addresses** option
    information ordinal icon
    **What is an IP address?**\ \ An IP address is a unique numerical label assigned to each device connected to a computer network that uses the Internet Protocol for communication, enabling devices to identify and locate each other on the network.
    3
    **IP addresses** wizard will open, click on the **RESERVE EXTERNAL STATIC IP ADDRESSES** button on the top left side
    information ordinal icon
    **What are Reserved External Static IP Addresses?**\ \ Reserved External Static IP Addresses in Google Cloud Platform (GCP) are fixed IP addresses that are allocated to your project and do not change, even if the associated resource is deleted or restarted. These addresses are used to ensure consistent and reliable IP addresses for applications that require a stable endpoint, such as web servers, DNS configurations, or external services.
    4
    **Reserve a static address** wizard will open, give the name as - "**my-first-static-ip-address**"
    5
    Scroll to the **Network Service Tier** section, select the option **Premium**
    information ordinal icon
    **What is Premium option in Network Service Tier?**\ \ The Premium option in the Network Service Tier in Google Cloud Platform (GCP) offers high-performance networking with global routing, low latency, and high availability. It utilizes Google's global network infrastructure to deliver traffic over Google's private backbone, providing better performance and reliability compared to the Standard tier, which uses the public internet.
    6
    Scroll to the **IP version** section, select the option **IPV4**
    information ordinal icon
    **What is the IPV4 IP Version?**\ \ IPv4 (Internet Protocol version 4) is a version of the Internet Protocol that uses a 32-bit address scheme to identify devices on a network. It allows for approximately 4.3 billion unique addresses and is the most widely used IP address version for Internet and network communications. IPv4 addresses are typically written in decimal format as four octets separated by periods (e.g., 192.168.1.1).
    7
    Scroll to the **Type** section, select the option **Regional**
    information ordinal icon
    **What is Regional Type in GCP?**\ \ In Google Cloud Platform (GCP), a "Regional" type resource is one that operates within a specific geographic region, providing redundancy and high availability within that region. Regional resources, such as regional managed instance groups or regional persistent disks, are replicated across multiple zones within the same region, ensuring that they remain available even if one zone experiences an outage. This setup helps in balancing performance and availability for applications that require resilience and reduced latency within a particular region.
    8
    Scroll to the **Region** section, here you can select the region closest to you **Note:** For this demo, we will be selecting the region **us-central1 (Iowa)**.
    information ordinal icon
    **What is Region us-central1(lowa)?**\ \ "us-central1 (Iowa)" is one of Google Cloud Platform's (GCP) regions located in the central United States, specifically in Iowa. This region offers multiple availability zones, providing services and resources that ensure high availability, low latency, and redundancy for applications deployed in this geographic area.
    9
    Scroll to the **Attached to** dropdown section, select the option **my-first-vm** from the dropdown **Note:** If you cannot see the VM instance, it may be because the instance is stopped or not present in that region. Make sure to start the instance and select the region to reserve the static IP address for the VM instance within the same region.
    10
    Scroll the page and click on the **RESERVE** button
    information ordinal icon
    Congratulations! You have successfully reserved a Static IP address
    11
    To view the webpage for the VM instance, on the **IP address** wizard, copy the **IP address**
    12
    Open the new tab and paste the copied IP address