Upgrade Gitlab-ce on Docker-Engine

Here’s a step-by-step guide to upgrade GitLab CE in a Docker container setup: 🧭 Pre-Upgrade Checklist ✅ 1. Check Current Version Run inside the container: docker exec -it gitlab-container gitlab-rake gitlab:env:info ✅ 2. Backup Your Data Very important before any upgrade: docker exec -it gitlab-container gitlab-backup create Backup files are stored in: /var/opt/gitlab/backups Also, back … Continue reading Upgrade Gitlab-ce on Docker-Engine

Reset User Password From Gitlab console

🔐 Reset Root Password Start Rails console inside the container: docker exec -it <docker-container-name-or-id> gitlab-rails console Run this inside the console: user = User.find_by_username("root")user.password = 'NewStrongPassword123!'user.password_confirmation = 'NewStrongPassword123!'user.save! Exit: exit Now you can login with: Username: root Password: NewStrongPassword123!

How to Set Up SSH Authentication with GitLab on Ubuntu

Secure Shell (SSH) authentication is a secure way to connect your Ubuntu system to GitLab for seamless repository access without repeatedly entering credentials. This guide walks you through setting up SSH authentication with GitLab on an Ubuntu machine. Prerequisites An Ubuntu system (20.04, 22.04, or later) A GitLab account Basic knowledge of Linux terminal commands … Continue reading How to Set Up SSH Authentication with GitLab on Ubuntu

etcd: The unsung Hero of K8s

etcd is the unsung hero behind Kubernetes, acting as a distributed key-value store. Imagine it as a highly reliable filing cabinet that stores all the critical information your cluster needs to function. This includes:1. Cluster Configuration: How your pods, deployments, and services are set up.2. Current State: The real-time status of your cluster, including running pods and … Continue reading etcd: The unsung Hero of K8s

Demystifying Load Balancers in AWS: Application vs. Network 

When it comes to scaling your applications in the cloud, AWS offers a powerful duo: Application Load Balancers (ALBs) and Network Load Balancers (NLBs). But which one is right for your needs? Let's learn more about them: ALB: The Application Savvy One1. Works at Layer 7 (HTTP/HTTPS), making intelligent routing decisions based on application-specific details … Continue reading Demystifying Load Balancers in AWS: Application vs. Network 

Securing Your Microservices with Keycloak and Kubernetes

In today's microservices landscape, robust authentication and authorization are crucial. That's where Keycloak, a powerful open-source identity and access management (IAM) solution, comes in. But managing Keycloak in a containerized environment like Kubernetes can seem daunting. Worry not! This blog post will guide you through seamlessly integrating Keycloak with Kubernetes, creating a secure and scalable … Continue reading Securing Your Microservices with Keycloak and Kubernetes

Mastering Terraform Workspaces: The Key to Multi-Environment Management

Terraform is an amazing tool for infrastructure as code (IaC), but managing multiple environments can get tricky. That's where workspaces come in, acting as your secret weapon for organization and efficiency. Here's what workspaces can do for you: 1. Separate environments with ease: Create distinct workspaces for development, staging, production, and more. Each workspace has its own set of resources … Continue reading Mastering Terraform Workspaces: The Key to Multi-Environment Management

Dockerfile vs Docker Compose

Dockerfile vs. Docker Compose: Building Blocks vs. Orchestrator Ever confused about Dockerfile and Docker Compose? You're not alone! They both play crucial roles in the containerized world, but they serve distinct purposes. Let's break it down: Dockerfile:The architect: A text file containing instructions to build a lightweight, self-contained Docker image. Think of it as the blueprint for your … Continue reading Dockerfile vs Docker Compose

GCP Services for 3-tier web-application

Google Cloud Platform offers several services that can be used to create a three-tier web application server. These services include Cloud Run, Cloud SQL, Memorystore, and Virtual Private Cloud. Cloud Run is a fully managed environment for running containerized apps, while Cloud SQL is a fully managed database for MySQL, PostgreSQL, and SQL Server. Memorystore … Continue reading GCP Services for 3-tier web-application

Resolving TLS Certificate Verification Errors When Pulling Docker Images from a Private Repository

Introduction: Docker has revolutionized containerization, allowing developers to package and distribute applications seamlessly. When working with private repositories, you might encounter TLS certificate verification errors, such as the one below: Error response from daemon: Get "https://private-repository.company.com/v2/": tls: failed to verify certificate: x509: certificate signed by unknown authority This error typically occurs when Docker cannot verify … Continue reading Resolving TLS Certificate Verification Errors When Pulling Docker Images from a Private Repository