Category: Cloud

  • Transfers by Multiprocessing

    Add -m to multiprocess your transfer and observe greatly increased speed: Adding -m to the gsutil causes most commands to run in parallel, using a combination of multithreading and multiprocessing. The number of threads and processes are set by parallel_thread_count and parallel_process_count. These can be set in your .boto configuration file or set on the command line with the -o option flag. In general, if you…

  • Cloud Logging practice

    Only logs that contain log entries are listed. Kubernetes events:

  • APIs vs. Console

    APIs/commands offer more flexibility and control than the console.

  • Backing Up VMs

    Using Compute Engine persistent disk snapshots, you will create a snapshot of the virtual machine’s persistent disk to have a recovery point of the disk in the event of mishap.

  • Patch Management

    Problem You host your virtual machines on Compute Engine, and you need a method for patching all the operating systems at once. Solution Using OS patch management with VM Manager, create a patch job to patch your fleet of Linux virtual machines. OS patch management also supports Windows virtual machines.

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