Cloud Engineer | DevOps Engineer | Living in ☁️ since Sept 2017 | rohankalhans.xyz

In this December month article, I’ll be walking you through the CI/CD of Firebase with Google Cloud Build.

Image for post
Image for post
Firebase CI/CD with Google Cloud Build

Firebase is an amazing platform totally dedicated to mobile and web apps from startups to global enterprises, it’s backed by Google and comes with pre-packaged, open-source bundles of code to automate common development tasks and integrating firebase with other tool is super-easy.

Checkout Vrijraj Singh medium article, he is Google Developer Expert for Firebase & has written informatively on Firebase and offerings.

Firebase Docs

Cloud Build is a serverless CI/CD service offered by GCP. With Cloud Build, you can deploy software quickly across all programming languages across multiple environments, and it performs deep security scans of your CI/CD pipeline. …


In this September month article, I’ll be sharing why and how to create a highly available multibranch pipeline in Jenkins with Kaniko.

Image for post
Image for post
Multibranch Pipeline

Some not so deep concepts…

Multibranch pipeline in Jenkins allows creating and triggering pipeline based on branch and pull requests. We create different Jenkinsfile for the different branches, typically environments like dev, stg, preprod or prod with their respective values. A multi-branch pipeline project scans the source code repository and creates a pipeline job automatically for each branch containing a Jenkinsfile, which means we are removing the overhead of maintaining a different and manual pipeline for each environment or branch.

Multibranch pipeline allows validation and review pull request by building PR branch pipeline and follow the same pattern as of the main branch to deploy PRs code in our servers and reduces any surprise or possibility of unexpected errors in the main deployment. …


Data — a very vital aspect of your application/software and everyday data are increasing as we are shifting more towards digital devices. In 2020, there will be around 40 trillion Gigabytes of data (40 Zettabytes). Woah!!! that’s a lot. Crucial, sensitive and private data are also a part of this 40 trillion Gigs and in August Month blog I’m going to share how to secure your MongoDB database on Google Cloud Platform from getting a compromised.

I’ve seen many companies prefer to install MongoDB on instance/virtual machine (for dev, uat or staging environment) instead of using Managed Service provided by MongoDB for cost optimization and generally prefer to use Managed Service for pre-production or production. …


The idea of the July month blog is to achieve task automation in case of any breach or failure in Google Compute Instances with Cloud Functions, Pub/Sub, Cloud Build and Cloud Monitoring. We need all these Google Cloud services to achieve automation.

This blog wouldn’t be possible without a major contribution of Pranay Nanda. Pranay have an amazing in-depth knowledge and experience of Google Cloud and Cloud Solution Designing. Currently working as a Cloud Architect at MediaAgility and Organizer of GDG Cloud New Delhi, Pranay has taken numerous session on Google Cloud. He is my mentor and friend.

Image for post
Image for post
Credit: Orangereebok & Me

How Google Cloud services are working together?

When some services running in VM instances got failed or stopped or crashed due to some breach or failure, the stackdriver agents in instances send the notification to Cloud Monitoring, through alerts it’ll send a notification to Mail and Pub/Sub topic which will further trigger the function. The function calls the Cloud Build API to do whatever task we want on VM; like here we’ll be ssh-ing into compute instances and create a normal text file via touch. …


Proper, reliable, and stable application deployment on the cloud environment is one of the main tasks that DevOps/Cloud Engineers do. Deploying from a development environment to deployment on the production environment via testing and staging environment is an amazing journey because each environment has different sets of requirements and needs. Actually in my view application deployment was always an important and challenging task whether you were deploying it on bare-metal hardware, or in virtual machines or with containers with different sorts of architecture like monolithic, microservice, etc. …


When it comes to website or application performance and speed, Cache is SuperHero. We believe that an effective cache setup is a number-one thing websites/applications can do to serve content to visitors as quickly as possible, improve both front-end and back-end load times, and reduce stress on the website’s origin server. With Caching you can get dramatic performance improvements without a lot of effort in certain situations.

If you want to read more about Caching, check out this blog on Hackernoon by Alex Landau: https://hackernoon.com/why-do-we-cache-b24920e1e903

Recently, I was exploring Google Cloud Memorystore for our one of the project requirement for Nodejs service running in Google Kubernetes Engine. …


Recently, we need WordPress for some work hosted on Google Kubernetes Engine. So yeah it’s definite we would install WordPress on GKE with Helm but my Senior DevOps Engineer decided to use Google Cloud SQL for this instead MariaDB.

So here is another blog on Cloud from my side after learning and doing...

Image for post
Image for post
Credit: Me

Before starting this, I’m assuming that you have a little bit hands-on knowledge of Kubernetes (k8s), WordPress and understanding of basic terms of Kubernetes and SQL.

Note: This tutorial includes installation of WordPress via Helm, make sure you are following the same sequence of creation and installation of service/tools because once the user id/password of WP admin get store in SQL, it is not possible to change it via helm upgrade through values.yaml file(it could be a bug in wordpress helm). We were facing same, then after we have to delete SQL instance, delete DB and install everything again, put values in file to login in WP Admin. …


After publishing my last blog — Jenkins on Google Compute Engine, I got a demand to write the same blog but with Google Kubernetes Engine via Helm.

We are doing it the same in our organization, and recently I’ve done it for a project in my organization, so here it is!

This blog is updated with Helm v3 in which we don’t need tiller and that extra configuration to setup.

Image for post
Image for post

Google Kubernetes Engine (GKE)

GKE is a perfect combination or I should say a blend of Iaas and PaaS making it as Kubernetes as a Service or Container as a Service which Google was using since 2003 as its internal orchestrator till 2015 when it gets open-source with a benefit of autoscaling of the cluster, integration of Stackdriver, fluentd, Prometheus, VPN etc. Kubernetes Engine enables rapid application development and iteration by making it easy to deploy, update, and manage our applications and services with no vendor lock-in which means you’re free to take your applications out of Kubernetes Engine and run them anywhere Kubernetes is supported, including on your own on-premises servers. …


Image for post
Image for post

Jenkins is one of the most popular, free, open, Java coded CI/CD tool in the industry used by some big MNCs like Netflix, LinkedIn, eBay, Nintendo etc to small startups. Even me as DevOps Engineer Intern use Jenkins in Techolution for automating the non-human part of the software development process, with continuous integration and facilitating technical aspects of continuous delivery. We integrate our Jenkins with source/version control system like Github, Gitlab, Bitbucket, and can execute Apache Ant, Apache Maven and sbt based projects as well as arbitrary shell scripts and Windows batch commands.

Google Compute Engine — physical servers that you’re used to running inside the Google environment with several different configurations. Both predefined and custom machine types allow you to choose how much memory and how much CPU you want. You choose the type of disk you want, whether you want to just use standard hard drives, SSDs, local SSDs or a mix. You can even configure the networking and run a combination of Linux or Windows machines. …


Image for post
Image for post

Everyone in this world needs a community so that they can contribute towards a reliable society, better culture and kinder world; even then that is a cultural community working on cultural betterment, NGO working on people betterment without looking into profit, etc. In my life that community is Google Developers Group Jalandhar, a technical community which continuously working for technological improvement and technical awareness for people since 2011 under the leadership of many prominent and techie organizers who just want to make everyone technically aware and decent use of technology so that this world could better place for everyone.

Google Developers started this idea in 2005 as Google Code so that everyone can have the opportunity to meet local developers having the same interests in technology, attend talks on a wide range of technical topics, and learn new skills through hands-on workshops and GDG Jalandhar is one of them and I am proud member/coordinator of GDG Jalandhar from 5th September 2017. …

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store