Category: Cloud

  • Transferring Files to VMs

    In this recipe, you will use two methods of transferring files to your Linux virtual machine, one using the gcloud command-line tool and a second using SSH in your web browser.

  • Deploying Containers to MIG

    Problem You have a requirement to start running your applications as containers. You want to get started with Compute Engine, and you want to run your NGINX as a container. You also want the benefits that Kubernetes provides, such as autoscaling, autohealing, and rolling updates. Solution Create a new Docker container. You will then deploy the…

  • OS Login

    Add the Compute OS Admin Login or Compute OS Login role to the user account you wish to grant access to for the virtual machine. If service account is being used on the VM, you need iam.serviceAccountUser role as well. When you initiate an SSH session from the Google Cloud Console, need to add SSH…

  • SQL Server unavailable

    The following features are unavailable in Cloud SQL and Google Cloud doesn’t support them:

  • Connect to Windows VM

    Using Google Cloud Identity-Aware Proxy (IAP) with RDP, you will be able to securely connect to your Virtual Instance running Microsoft Windows. Using IAP allows you to also connect to the instance even if it did not have a Public IP address. The 35.235.240.0/20 CIDR range contains all IP addresses that Google Cloud IAP uses…

  • VPC Service Controls

    VPC Service Controls protect your projects from data exfiltration by creating a perimeter that only allows access to authorized networks. For example, VPC Service Controls can prevent applications and users from reading data from or copying data to a resource outside the perimeter. Problem You need a method to prevent data exfiltration from your Google Cloud resources.…

  • GKE Gateway controller 

    The Gateway API is an API in the Kubernetes system and aims to standardize ingress into clusters. In this recipe, we walked through how to provide a multitenant gateway that routes users to two deployments, depending on the HTTP route. The Gateway API provides many more features for advanced routing and traffic management, such as…

  • Resizing a Cluster

    Click default-pool (or whatever the name of your particular node pool is), Click Edit at the top of the Node Pools screen. Now we can increase and decrease the default size of our node pool to any number of nodes that we prefer. If you want your Kubernetes cluster to autoscale up based on node…

  •  Regional GKE cluster 

    Regional clusters allow for higher availability, fault tolerance, and no-downtime upgrades. This makes your application more resilient and spread across multiple zones within a single region. With a regional cluster, you have nodes deployed across the zones within that region, so expect that the number of nodes, total vCPUs, and total memory are larger than…

  • GKE and NEG

    A cluster that uses alias IP address ranges is considered a VPC-native cluster. A cluster that uses custom static routes in a VPC network is called a routes-based cluster When using VPC-native, administrators can also take advantage of network endpoint groups (NEG), which represent a group of backends served by a load balancer. NEGs are lists of…