All Stories

Resolve Terraform's 'net/http: request canceled while waiting for connection'

Today’s error of the week is linked to the following Terraform issue:│ Error: Failed to query available provider packages││ Could not retrieve the list of available versions for provi...

In Terraform, Apr 01, 2023

Fix 'xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)'

The error xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun can occur when the Com...

In macOS, Mar 31, 2023

Deploy GCP CDN with Terraform

Choosing between various CDNs and deploying them has never been easier. In this tutorial, you are going to see how to deploy a Content Delivery Network (CDN) on the Google Cloud Platf...

In GCP, Terraform, Mar 30, 2023

How to Install PHP OPcache on Amazon Linux 2

If you want to significantly improve the performance of your PHP application, especially for applications that use a large number of PHP scripts or have a high volume of requests then...

In AWS, Amazon Linux 2, Mar 29, 2023

GCP: public vs private subnets

The main difference between public and private subnets more or less to any public cloud is their connectivity and access to the internet. Overall, it comes down to routing. However, t...

In GCP, Mar 28, 2023

Fix 'RecursionError: maximum recursion depth exceeded'

The RecursionError: maximum recursion depth exceeded usually occurs when a function calls itself too many times, causing the stack to overflow. The solution is to check the code for i...

In Python, Mar 27, 2023

GCP: Recover deleted service account

Accidentally removing default service account could just “happen” from time to time, and here’s how you can get it back.

In GCP, Mar 26, 2023

Fix 'host key has just been changed'

Let’s see how to resolve the error below while trying to establish an SSH connection:@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING: REMOTE HOST IDENTIFICATIO...

In SSH, Mar 25, 2023

Easy login to GCP VM instances using IAP

IAP or Identity-Aware Proxy, is a GCP service that allows for secure and fine-grained control access mostly to cloud resources such as VMs and Kubernetes clusters. Here I’m going to s...

In GCP, Mar 24, 2023

How to export multiple MySQL databases in a separate .sql file

The easiest way to export multiple MySQL databases in a separate .sql file is through a bash script.

In MySQL, Mar 23, 2023