PRASHANTH PONUGOTI

Docker Part-4

Docker Volume Docker Volume Host system has a physical file system and container has a virtual file system. We mount VFS to host. A directory or a folder in the physical file system is mounted to VFS. When a container restarts, data from the physical file system is replicated into the container, thus retaining data. […]

Docker Part-4 Read More »

Docker Part-3

Docker File Docker File Image Environment Blueprint Dockerfile Install Node FROM node Set environment variables: MONGO_DB_USERNAME=admin MONGO_DB_PWD=password ENV MONGO_DB_USERNAME=admin MONGO_DB_PWD=password ** Always rebuild the docker file if changes are made Layers in Docker Image Whenever a change in the filesystem is made, such as adding or modifying files, a layer is created. A layer is

Docker Part-3 Read More »

Docker Part-2

Architecture & commands Docker was initially developed for Linux, but later, Docker Desktop was introduced, allowing Linux-based containers to run on Windows and macOS. Docker Desktop uses a hypervisor layer with a Linux distribution on top of it. 🖥️ What is a Hypervisor? A hypervisor is software that allows multiple virtual machines (VMs) to run

Docker Part-2 Read More »

Docker Part-1

Docker vs Virtual Machine Virtualisation The OS is made up of: Application layer Kernel Hardware Docker virtualises the application layer, whereas a Virtual Machine (VM) virtualises both the application layer and the kernel. What is Docker? Docker is an open-source containerisation platform used to package applications into containers. What is the difference between Docker and

Docker Part-1 Read More »

Understanding FinOps: What It Is, Why It Matters, and How to Implement It

What is FinOps? As the name suggests, FinOps is a practice that bridges the gap between Finance and DevOps teams. It fosters collaboration between business management and engineering teams to ensure efficient cloud cost management. A FinOps Engineer is essentially a DevOps professional who works closely with the finance team to understand existing cloud costs,

Understanding FinOps: What It Is, Why It Matters, and How to Implement It Read More »

Connection Types for remote-exec Provisioner in Terraform

Terraform Remote-Exec Connection Types In Terraform, the remote-exec provisioner allows us to execute scripts on a remote resource after it’s been created. The connection to the remote resource can be established using different connection types. The primary connection types supported by Terraform are: 1. SSH (Secure Shell) Connection Description: This is the most common method

Connection Types for remote-exec Provisioner in Terraform Read More »

Inline attribute changes won’t work in terraform for remote-exec

Terraform Trigger for Inline Command Changes Terraform Trigger for Inline Command Changes The user_data_replace_on_change attribute in Terraform is typically used in the context of AWS EC2 instances to trigger instance replacement when there is a change in the user_data attribute. This ensures that changes to the user_data script result in a new EC2 instance being

Inline attribute changes won’t work in terraform for remote-exec Read More »