Author: Himanshu Upadhaya

github actions ecr

GitHub Actions: Push Docker Image to Amazon ECR

Reading Time: 3 minutes In this blog, we will learn how to set up a workflow to push your Docker image to Amazon ECR using GitHub Actions.GitHub Actions is a continuous integration and continuous delivery (CI/CD) platform that helps in automating the build, test, and deployment process. With GitHub Actions, you can create workflows that can build and test every push & pull request in your repository, or deploy Continue Reading

terraform

Debugging/Logging in Terraform

Reading Time: 2 minutes Debugging is a very important part of developers’ life as it helps in understanding the root cause whenever any piece of code breaks! So, In this blog, we will understand how to set up the debugging while setting up an Infrastructure using terraform. Prerequisite Basic knowledge of Terraform Enable Debugging in Terraform! Terraform provides the options to enable detailed logging/debugging with the help of the Continue Reading

terraform

How to use Terraform Graph to visualize your execution plan

Reading Time: 3 minutes With terraform, we can generate a visual representation of either our configuration or execution plan. We can use terraform graph command to generate a visual representation. The output of the command is in DOT format, we can use tools like Graphviz to generate charts. Let’s Understand in detail. Explore the directory first! Let’s see what terraform configuration files are present in our working directory. By Continue Reading

How to use multiple GCP providers in Terraform

Reading Time: 3 minutes Terraform provides us a way to use multiple configurations for the same providers to deploy our resources. With terraform, we can make use of aliases to create multiple configurations for the same provider. Providers in terraform Providers are the heart of terraform. Terraform uses providers to interface/sync between the Terraform engine and the supported cloud platform. Terraform supports a large number of providers. e.g. AWS, Continue Reading

aws

Fetch the latest AMI in AWS using terraform

Reading Time: 3 minutes Terraform provides us a way to fetch the latest AMI in AWS while deploying our VMs. With terraform, we can make use of data sources to pull the latest AMI. What is Amazon Machine Image(AMI) An Amazon Machine Image (AMI) is used in creating virtual machines in AWS. It is possible to launch different types of instances from a single AMI. It is fast and Continue Reading

Safely Upgrading Nodes in Kubernetes cluster

Reading Time: 3 minutes In this blog, We will look at scenarios where you might have to take down a Node as part of your cluster for maintenance purposes like kernel upgrade, hardware maintenance, upgrading a base software, applying patches like security patches, etc on your cluster and we will see the options available to handle such cases. So let’s assume that you have a cluster with a few Continue Reading

close up photo of programming of codes

A look at CMD and Entrypoint In Dockerfile

Reading Time: 5 minutes In this blog, we will discuss a topic that constantly confuses the beginners. We will discuss the usage of the CMD and ENTRYPOINT instructions in Dockerfile. We will also get to know how we can use CMD and ENTRYPOINT instructions effectively. Let’s start with a simple scenario! Let’s suppose we were to run a docker container from an ubuntu image. When we run a docker run Continue Reading

black background with text overlay screengrab

Integration of Jira With GitHub

Reading Time: 4 minutes Why to Integrate? Jira GitHub Integration : GitHub and Jira are common applications we use daily in our projects. How often do you switch between them? Every half an hour? Maybe every couple of hours? Don’t you think that such juggling slows you down and your work could be much more streamlined? Github and Atlassian have collaborated with each other to connect our code in Continue Reading

What Are Multi-Stage Docker Builds?

Reading Time: 2 minutes Why multi-stage build? One of the most difficult things about building images is keeping the size of an image as small as possible. The multi-stage build is a new feature and it requires Docker 17.05 or higher on the daemon and client. Before multi-stage build! Before multi-stage build, It was common to have one Dockerfile to use for development (which has everything needed to build Continue Reading

Port Forwarding/Tunneling in Linux

Reading Time: 2 minutes What is Tunneling? Tunneling is a type of communication between two applications, mostly TCP/IP applications, that talk to each other using an SSH connection. It is also known as SSH Port forwarding. In Simple terms, it routes the local network traffic through SSH to the remote hosts. When to use Tunneling?  We can use Tunneling to secure the communications between different applications that aren’t secure. Continue Reading

Understanding Services in Kubernetes with Examples!

Reading Time: 4 minutes What is Service? Service is an abstraction level that Kubernetes uses to make a deployed application accessible from the internal and external of the cluster. Think time… Imagine that, you have been asked to deploy a web app How front-end web app is exposed to the outside world ? In what way will we connect front-end with back-end and database? How do we resolve Pod IP Continue Reading