Skip to main content

Posts

 Some notes about taking the GCP's Professional Certified Architect I recently got the GCP PCA approval and i wanted to share my views on preparation and the examination itself. I wanted to have this certification for a long time but always found some excuses that prevented me for giving it a try, i must confess that i was not big advocate for certifications but lately i have been slowly changing my mind for good. Is it a hard exam? The answer to this question will obviously depend on the level of experience in GCP, i can attest that i have almost 5 years of GCP experience, i began working with microservices and event driven architectures but soon switched to data and analytics, these worlds are different so, the experience i had with K8s and managed services like Cloud Run soon became kind of rusty in favour of Dataproc, Dataflow, Bigquery, Composer and the plethora of data services that GCP offers, and these are not heavily asked in the exam (i think 6 questions out of 50). So i
Recent posts

GCP: google.api_core.exceptions.BadRequest: 400 POST , when running a bigquery in your shell

I like to code directly in the GCP console editor to test some POCs, but with this approach you have to deal with some situations, such as, getting your shell and editor disconnected after a few minutes idle, then when you retake your coding and re running your python code to execute some bigquery statements, you can see a nasty error like this: google.api_core.exceptions.BadRequest: 400 POST https://bigquery.googleapis.com/bigquery/v2/projects//jobs: Invalid project ID ''. Project IDs must contain 6-63 lowercase letters, digits, or dashes. Some project I Ds also include domain name separated by a colon. IDs must start with a letter and may not end with a dash. what happened?, you gcp shell was reseted and you lost your project connection, you can check that: (venv) jcalfucura@cloudshell: ~/crossprod $ gcloud config list --format 'value(core.project)' 2>/dev/null returns nothing. You can also use this statement: (venv) jcalfucura@cloudshell: ~/crossprod $ gcloud con

How to issue shell commands from a pod

I was trying to troubleshoot the network connectivity between a K8s cluster and a VM in GCP, at first i just SSHed into the nodes and then trying to ssh into an external VM, it all worked smoothly but still had problems with the app trying to connect to the external VM, so , the next step was to connect to the pod and start a session: kubectl exec -it --namespace <namespace> <pod> --container <containername> -- /bin/bash from there i was able to issue a command to ssh into the external vm.

Google Cloud Courses: A review.

My current employer has immersed us in a self learning frenzy giving many of his tech personnel access to a number of learning platforms: Coursera: for Google Cloud Platform related education. LinkedIn learning: for misc learning stuff, ranging from self-improvement and management stuff to very specific technical topics. Slang: an app for developing english language skills. Soon i will give a general review on each of these 3 platforms, but for now i will focus on reviewing the Google Cloud courses ia have taken, which are at introductory level: Google Cloud Platform Fundamentals: Core Infrastructure Getting Started with Google Kubernetes Engine Exploring ​and ​Preparing ​your ​Data with BigQuery Introduction to Cloud Identity