Posts

Choosing the Best IaC for Java: CDK vs. Terraform vs. Serverless Framework

Image
Choosing the right tool to manage your AWS infrastructure as a Java developer is a critical decision. In 2026, the landscape has shifted: Terraform is the king of multi-cloud, AWS CDK is the favorite for Java-first developers, and Serverless Framework remains the speed-demon for Lambda-only projects. Below is a comprehensive guide structured as a blog entry to help you navigate these choices. Java on AWS: The Great IaC Showdown (2026 Edition) As a Java developer, your super-power is "strong typing" and a robust ecosystem. When you move to the cloud, you shouldn't have to leave those behind to write thousands of lines of YAML. Whether you're deploying a Spring Boot app on ECS or a high-scale Lambda function, here is how the top tools compare. 1. The Contenders: Who are they? AWS CDK: The "Infrastructure as Code" Purest CDK allows you to write your infrastructure in Java. It feels like writing a standard Java library. It "synthesizes" your...

Building a Complete Azure DevOps Pipeline for APIM with Endpoint-Based Policies

Image
Overview In this tutorial, I'll walk you through creating a comprehensive Azure DevOps pipeline that deploys infrastructure, containerized applications, and API Management (APIM) with endpoint-specific policies. This approach provides a developer-friendly workflow where each API endpoint has its own configuration and security policy. The Challenge Modern cloud applications often require: Infrastructure as Code (IaC) deployments Containerized microservices API Management with granular security policies Automated CI/CD workflows The challenge is orchestrating all these components in a way that's maintainable, scalable, and easy for developers to work with. The Solution: Modular Endpoint-Based Architecture 1. Structuring Endpoints We organized the project so that each API endpoint lives in its own folder within the webapp directory: webapp/ ├── endpoints/ │ ├── getProducts/ │ │ ├── config.json # Endpoint metadata │ │ └── policy.xml # AP...

Building a Complete Kubernetes Development Environment with Podman Desktop: A Comprehensive Guide to Setting Up PostgreSQL, RabbitMQ, MinIO, and Mail Server on Windows 11

🚀 Building a Complete Kubernetes Development Environment with Podman Desktop A Comprehensive Guide to Setting Up PostgreSQL, RabbitMQ, MinIO, and Mail Server on Windows 11 📑 Table of Contents 1. Prerequisites & Initial Setup 2. Understanding the Environment 3. PostgreSQL Deployment 4. RabbitMQ Deployment 5. MinIO Deployment 6. Mail Server Deployment 7. Secret Management with PowerShell 8. Final Architecture 9. Troubleshooting & Lessons Learned 10. Conclusion 1. Prerequisites & Initial Setup ⚠️ Important: Before You Begin You must complete these steps before f...

Containers & Kubernetes in Windows Server 2025 or RedHat EL(RHEL)

Image
Windows Server vs RedHat for Modern Hosting Windows Server (including 2025) is traditionally strong for legacy, .NET Framework , Active Directory , and Hyper-V virtualization. Hyper-V is a hypervisor — meaning it is designed to run full Virtual Machines . Each VM boots its own full OS. This is great for old workloads or isolating entire OS instances, but it is heavy for modern microservices. RedHat Enterprise Linux ( RHEL ) and its family (CentOS, Rocky, AlmaLinux) were designed much closer to the container ecosystem . Linux was the birthplace of Docker , containers , and Kubernetes . The kernel features containers depend on (cgroups, namespaces) were invented in Linux. That is why RedHat integrates better with container runtimes (containerd, CRI-O) and Kubernetes cluster nodes. So if someone asks “which is better for containers? Windows or RedHat?” — the modern industry answer is: RedHat or any Linux distro is the natural native home of containers . The Scenario: I want...

Building a C HTTPS Server with Docker, PostgreSQL, and a Modern Frontend: Lessons Learned

Building a C HTTPS Server with Docker, PostgreSQL, and a Modern Frontend: Lessons Learned So I was a bit bored about doing stuff in nodejs, so I decided to explore more options, I know there is Java and .Net but to be honest I was looking outside the OOP world In which I started to think about my game development days using C++ which to be honest was really fun, but again I didnt want to use OOP. Then I realize there is C which is not OOP but you can use a lot of tricks to organize code. The problem with C is that I was not that familiar to use large projects , in which I had to learn CMake , VCPKG and so on. To see my results in code you can check my github repo: C-Server Repo 1. C as a Backend Language for Web Servers We built a web server in C, handling HTTPS connections using OpenSSL. This required careful management of memory, file I/O, and string parsing for HTTP requests....