Home avatar

Lou Stack Base

Lou's knowledge base for software engineering, DevOps, and topics I'm exploring.

Migrating From AWS EC2 to GCP Cloud Run: Architecture Decisions and Pitfalls

A complete record of moving my side project’s backend from AWS EC2 + Docker Compose to GCP Cloud Run, including concept mapping between the two providers, Terraform layering design, federated identity trust boundaries, and every issue caught during code review

Mapping Concepts Between the Two Major Cloud Providers

Both are cloud providers, but their naming and layering differ. Getting the correspondences straight before the move prevents confusion later when configuring resources.

From Kind to K3s: Local Registry and Production Deployment Workflow

DevOps Learning Notes

After learning K8s core concepts with kind, switching to k3s with a local registry to make local practice closer to production deployment workflows. Also clarifying K8s network isolation mechanisms and why production doesn’t use kubectl set image.

Switching to a More Complete On-Machine Runtime

kind is sufficient for learning concepts, but has several areas far from production:

Kubernetes Hands-On: Stable Networking, Zero-Downtime Deploys, Autoscaling, and Troubleshooting

Operations learning notes

Following the previous post (Cluster, Pod, Deployment), this one covers stable network access, zero-downtime updates, restart-loop behavior, automatic replica scaling, and the troubleshooting workflow you reach for when things go wrong.

Prerequisite: a kind cluster already running a go-api Deployment (3 replicas).

Stable Network Entry Points

Why You Need a Stable Endpoint

Pod IPs are ephemeral — every rebuild gets a new one:

Docker Hands-on Observations: Layer Cache, Restart Behavior, Image Selection, and Resource Limits

DevOps Learning Notes

Hands-on observation notes on Docker fundamentals

Running through several core Docker behaviors, including layer cache hit logic, the difference between container restart and rebuild, image size comparison, and how to verify cgroup resource limits

Legacy Builder vs BuildKit

Modern Docker uses BuildKit as the build engine. The legacy builder has been marked as deprecated.

Docker Core Concepts: Containers Are Not Magic, They Are Linux Processes + Isolation

DevOps learning notes.

This post clarifies Docker core concepts from first principles, including the relationship between image, layer, and container, multi-stage build, and why a container is a Linux process rather than magic.

Read-Only Build Template

An image is a read-only template used to create containers.