-
Cloud SQL Insights
Query Insights helps you detect, diagnose, and prevent query performance problems for Cloud SQL databases. It supports intuitive monitoring and provides diagnostic information that helps you go beyond detection to identify the root cause of performance problems.
-
Installing Kubernetes with GKE
Once you have gcloud installed, set a default zone: Then you can create a cluster: This will take a few minutes. When the cluster is ready, you can get credentials for the cluster using:
-
Transfers for Large Files
The previous recipe covered transfers with a large number of operations; this one is targeted at individual large files. Upload the file as several simultaneous chunks and observe transfer speed. If your previous upload saturated your link, you may not see a performance increase. You’ll notice we set the file size threshold that triggers parallel…
-
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…