First of all, thanks to everyone who participated in 2019 for my 100 Days of DevOps journey.

The good news is starting from July 1, 2021, I am restarting the program again, with a new name, 101DaysofDevOps, and this time, it will be bigger and better :-). However, the fundamental idea will be the same, spend at least one hour every day for the next 101 days in Sharing DevOps knowledge. This time the main focus is automation, and rather than writing long doc focus(but enough theoretical knowledge to get you started), it will be more on Videos.

Topics Include(Please…

To read the complete post

This is one of the ask I came across in Dev env in terms of saving cost where I need to shut down all the EC2 instance at 6 pm and bring it back the next day at 9 am.

Problem: Shutdown all EC2 instances in the AWS DEV account at 6 pm and bring them back the next day at 9 am (Monday to Friday).

Solution: Using Lambda function in a combination with CloudWatch events.

  • One of the major challenge in implementing this what would be the case if Developer is working…

To read the complete blog

In the last blog, you understand the concept of Boto3. Let’s solidify that idea by looking at some other Boto3 concepts.

Boto3 Meta

Boto3 Paginator

Boto3 Waiters

Waiters: In the case of Boto3, there are some requests which are not instant. One such example is when you try to start or stop any instance. For such kinds of requests, you can initiate those requests and check back at some later time. But in cases such as EC2, we need to wait for the requests to be complete before we move on to…

To read the complete blog, please check the below link

What is Boto3?

Boto3 is the Amazon Web Services (AWS) SDK for Python. It enables Python developers to create, configure, and manage AWS services, such as EC2 and S3. Boto3 provides an easy-to-use, object-oriented API, as well as low-level access to AWS services.

Boto3 is built on the top of a library called Botocore, which the AWS CLI shares. Botocore provides the low-level clients, session and credentials, and configuration data. Boto3 built on the top of Botocore by providing its own session, resources, collections, waiters, and paginators.

Botocore is…

To read the complete post

Blockchain or one of its applications is one of the hottest topics in recent times. All the laymen are wondering it’s too late to invest in it and techy trying to understand how the technology behind the scene works. In this blog, I am focusing on the second aspect, the technology behind it, and trying to explain how I understand it and all the useful links I find out while researching this topic.

What is blockchain?

Photo by Joshua Hoehne on Unsplash

As per Wikipedia

A blockchain is a growing list of records, called blocks, that are linked together using cryptography…

This blog will share my journey of writing my first book, AWS for System Administrators.

Today I received the printed copy of my book AWS for System Administrators

This is the moment I have been waiting for the last 6–7 months. Ebook/PDF version was out a few weeks ago, but nothing compares to holding the printed copy of the book and seeing the content you have been working on by turning pages back and forth. I know it’s an old-fashioned way, but I believe printed copy will have long-term memory, which helps you remember the contents better.

Start of…

To read the complete blog please visit the below link

As per official github link

Krew is a tool that makes it easy to use kubectl plugins. Krew helps you discover plugins, install and manage them on your machine. It is similar to tools like apt, dnf or brew.

Before we dig deeper into how krew works, let me show you how to write our own custom plugin.

  • You can write it any language(shell, perl, python). It should be executable and should in your PATH variable(echo $PATH).For the purpose of this demo, I will write it in shell
  • The name…

To read the complete blog

As per official github link

kubewatch is a Kubernetes watcher that publishes notifications
to Slack/hipchat/mattermost/flock channels. It watches the cluster
for resource changes and notifies them through webhooks.

Basically kubewatch looks for events like pod/deployment/confimap creation/deletion and sent notification to selected channels like

 - slack
- hipchat
- mattermost
- flock
- webhook
- smtp


In this blog we are going to use helm to install kubewatch and we will use slack as the notification medium.

Configuring Slack

  • Go to your slack workspace and you have the option to create new channel or you can…

To read the complete blog

Helm is a package manager for Kubernetes. Similar to yum but for Kubernetes. It bundles all related manifests(such as deployment, service, etc) into a chart. When installing chart, helm creates a release. Benefits of helm is it provide templating, repeatability, reliability, multiple environment and ease of collaboration.

Installing Helm

$ curl |bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 11213 100 11213 0 0 58630 0 --:--:-- --:--:-- --:--:-- 59015
Helm v3.4.1 is available. Changing from version v3.3.4.
Verifying checksum... Done. …

To read the complete blog

What is MetalLB?

As per official documentation

MetalLB is a load-balancer implementation for bare metal Kubernetes clusters, using standard routing protocols.

Now the question is why do we need it?

In cases where you are deploying your Kubernetes Cluster outside Cloud solutions(AWS, GCP) you need a way to expose your service outside the cluster. In those cases you can expose your service using NodePort using port range 30000–32767 but everytime your customer need to access your service he need to specify this higher order port. …

Prashant Lakhera

AWS Community Builder, Ex-Redhat, Author, Blogger, YouTuber, RHCA, RHCDS, RHCE, Docker Certified,4XAWS, CCNA, MCP, Certified Jenkins, Terraform Certified, 1XGCP

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