Posts

Showing posts from January, 2026

Jenkins CI/CD End-to-End Documentation

  Jenkins CI/CD End-to-End Documentation 1. Objective This document explains from start to finish how to build a complete, safe, production-ready CI/CD pipeline using Jenkins for the Helium platform. The pipeline is designed to: Trigger on git push master Build ARM64 Docker images from the latest code Push images to Amazon ECR Deploy automatically to Staging (Mumbai) Pause for manual approval Deploy the same tested image to Production (Mumbai, Singapore, Virginia) Fully control AWS Amplify frontend deployments (no auto-deploy) 2. High-Level CI/CD Flow Git Push (master) ↓ Jenkins pulls latest code (backend + frontend) ↓ Docker Build (ARM64) ↓ Push image → ECR (helium-backend-staging, Mumbai) ↓ Deploy STAGING backend (ECS, Mumbai) ↓ [Optional] Deploy STAGING frontend (Amplify) ↓ ⏸ Manual Approval (button in Jenkins) ↓ Promote image → PROD ECR (Mumbai, Singapore, Virginia) ↓ Deploy PROD backend (ECS, 3 regions) ↓ Deploy PROD frontend (Amplify) 3. Prere...

End-To-End-Documentation

End-To-End Documentation  This document provides a consolidated, end-to-end view of the architecture design, infrastructure experiments, and Kubernetes-based deployment for the Helium application. It is structured as a practical engineering reference and runnable runbook. 1. Architecture Review & Design 1.1 Architecture Understanding Reviewed the provided AWS architecture diagram in detail Identified major components, service boundaries, and dependencies Understood data flow between frontend, backend, worker, and data layers Analyzed interactions between AWS-managed services and external integrations 1.2 Architecture Diagram Creation Created an updated AWS architecture diagram Ensured clear separation of: Frontend layer Backend API services Asynchronous worker services Data and caching components Represented VPC boundaries, load balancers, and external service integrations 1.3 AWS Services Studied Amazon VPC and subnet design ECS Fargate for container-based workloads Applicatio...

Staging Deployment & CI/CD Pipeline Documentation

Staging Deployment & CI/CD Pipeline Documentation 1. Overview This document provides a clear, end-to-end description of the staging deployment setup and the unified CI/CD pipeline implemented for the HeliumAI platform . A single pipeline is used to manage deployments for both staging and production , with strict controls enforced through branch-based execution. The staging environment is currently deployed and validated in the ap-south-1 (Mumbai) region. 2. Architecture Summary ๐ŸŒ Frontend Domain : https://www.heliumai.space ๐Ÿ”Œ Backend API Domain : https://api.heliumai.space ๐Ÿงฎ Compute Platform : AWS ECS (Fargate) ๐Ÿ“ฆ Container Registry : Amazon ECR ⚖️ Load Balancer : Application Load Balancer (ALB) ๐Ÿš€ Traffic Acceleration : AWS Global Accelerator ๐Ÿ” CI/CD Platform : GitHub Actions 3. Environments & Branch Mapping Environment  Git Branch Deployment Scope Staging    kartik-stg          Mumbai (ap-south-1) Production  migrated-demo2 ...

AWS X-Ray Integration Documentation

AWS X-Ray Integration Documentation 1. Purpose of This Document This document outlines the setup, configuration, and usage of AWS X-Ray for distributed tracing in an ECS-based microservices architecture . It is written from a Cloud Engineer perspective , where infrastructure is prepared in advance and application-level instrumentation is handled by development teams. 2. What is AWS X-Ray? AWS X-Ray is a distributed tracing service that helps analyze, debug, and monitor applications by tracking requests as they travel through AWS services. Key Capabilities ๐Ÿงญ End-to-end request tracing across services ๐Ÿ—บ Visual Service Maps showing service dependencies ๐Ÿงช Detailed traces for latency and error analysis ๐Ÿšจ Identification of faults, errors, and throttling ๐Ÿ“Š Native integration with Amazon CloudWatch 3. When to Use AWS X-Ray AWS X-Ray is especially useful when: ๐Ÿงฉ Applications are built using microservices ๐ŸŒ Services span multiple AWS services or regions ๐Ÿข Latency issues require root-c...

AWS Global Accelerator (GA) & Route 53 Integration Documentation

1. Purpose of This Document This document describes the end-to-end setup of AWS Global Accelerator (GA) integrated with multi-region Application Load Balancers (ALBs) and Amazon Route 53 . It explains the architecture, configuration steps, routing behavior, traffic flow, and best practices from a Cloud Engineer perspective. 2. What is AWS Global Accelerator? AWS Global Accelerator is a global networking service that improves application availability and performance by directing user traffic to the nearest healthy AWS Region using Anycast static IPs . Key Characteristics ๐ŸŒ Global service (not region-specific) ๐Ÿ“Œ Provides two static Anycast IP addresses ๐Ÿš€ Routes traffic at AWS Edge locations ๐ŸŒ Supports multi-region endpoints (ALB, NLB, EC2, Elastic IP) ๐Ÿ” Offers near-instant regional failover โ„น️ Important: Global Accelerator is managed from US West (Oregon) . This is only the control plane location and does not mean that application traffic flows through Oregon. 3. Architecture...