Search
Lessons (40)
- CI/CD and Reviewed Production Changes
Design an automated plan and apply workflow with protected credentials, saved plans, serialization, and drift checks. A useful …
- Indexes, EXPLAIN & Query Plans
Design indexes from real filter, join and sort patterns, then prove improvements with query plans and production-like …
- Your First Terraform Project
… Applying a saved plan executes that approved plan without a second interactive confirmation. Treat plan files as sensitive …
- Drift, Troubleshooting, and Disaster Recovery
… A later ordinary plan may still propose undoing the console change. Replacement and targeting Use terraform plan -replace …
- Imports, Moved Blocks, and Safe Refactoring
… Verify that the plan reports a move. Compare with the proposed plan when no moved block is present …
- Testing, Preconditions, and Policy Checks
… Create tests/service.tftest.hcl : hcl run "api filename contract" { command = plan assert { condition = endswith(output.api config …
- Premiere-Night Video Streaming
Let millions press Play together by separating small control-plane APIs from CDN-delivered video bytes. The problem …
- Production Capstone and Interview Practice
… test meaningful requirements In the dev root's tests/storage.tftest.hcl , add a plan assertion on a …
- Terraform: Start Here
Understand infrastructure as code, the plan/apply workflow, and the learning path from local experiments to team operations …
- Secrets, Ephemeral Values, and Least Privilege
… Separate plan and apply identities where practical. A plan often requires read access, but some providers or data …
- Developer Learning Plan and Document-Assistant Capstone
Follow a practical study plan with deliverables, build a local retrieval baseline, and grow it into an evaluated …
- Capacity Planning, SLOs and Error Budgets
… A capacity plan is a hypothesis to load-test, not a magic calculation. Latency has a budget too …
- Dependencies, Data Sources, and Resource Lifecycle
… Broad module-level dependencies can cause more unknown values and more conservative plans. Read versus own hcl data …
- Kubernetes Cluster Architecture, Simply
… the control plane and worker nodes](/img/kubernetes/architecture.svg) Part Simple job --- --- Control plane Receives requests, remembers …
- Variables, Locals, Outputs, and Validation
… An output publishes a result. Supply values Create dev.tfvars : hcl project = "shop" environment = "dev" bash terraform plan …
- Providers and Your First AWS Resources
… Run plan again and expect no changes. Plan destruction and review it before applying. An empty bucket can …
- Behavioral Patterns II: Chain, Template, Iterator, Mediator, Memento, Visitor
… Mediator ✈️ Analogy: Planes don't talk to each other to decide who lands first. They all talk to …
- Containers at Scale: ECS Deep Dive and EKS
… control plane, then node groups, then add-ons. Plan for the support window of each version. - Manage add …
- Replication, Partitioning & Sharding
Scale reads with replicas, split data safely with partitions and shards, and plan for consistency, hot keys and …
- Database Internals, Replication and Scaling
Connect storage-engine choices, durability, replicas, query plans, pooling and data layout to real production behaviour. The problem …
- Internals, Upgrades, Resilience and Interview Questions
Know what happens inside the control plane, how to upgrade and back up safely, and answer common senior …
- HCL, Resource Addresses, and Project Layout
… Review the lock-file diff and resulting plan together. The lock file does not lock remote module versions …
- State, Remote Backends, and Locking
… The post-migration plan should not unexpectedly recreate infrastructure. -reconfigure reinitializes configuration without migrating existing state; it is …
- Resilience, Disaster Recovery and Multi-Region Design
… a system that keeps working without calling the control plane at failure time. Pre-provision capacity rather than …
- Cost Optimization and the Well-Architected Framework
… Savings Plans save money but reduce agility. Worked cost review: cost per accepted order A monthly bill alone …
- Safe AWS Deployments with IaC and CI/CD
… Treat the preview ( terraform plan or CloudFormation change set) as something to review, not an automatic approval. CI …
- Debug Latency Like an Investigator
… Check database lock waits, query plans and connection counts. Correlate the release with changed query shape or concurrency …
- Count, for_each, Functions, and Stable Identities
… Add worker = { port = 9000 } ; plan should add one file without changing the other identities. Why list indexes can …
- Reusable Modules and Clear Interfaces
… Upgrading a module can change resource addresses and replacement behavior, so review the upgrade plan and migration guidance …
- Releases, Observability and Production Safety
Ship changes safely with rollout strategy, flags, migration discipline, rollback plans and observable service-level outcomes. The problem …
- Kubernetes: Start Here
… the cluster, its servers, and the control plane.
- What Is Artificial Intelligence? A Developer's Guide
… associated with intelligence, such as recognizing patterns, reasoning, planning, understanding language, or choosing actions. AI includes both learned …
- D — Dependency Inversion Principle
… the lamp and the power plant both depend on the socket standard](/img/solid/dip-socket.svg) 📘 DIP …
- 10,000 Users Do Not Need 10,000 Database Connections
… Query plans, indexes, bounded transactions and sensible timeouts usually produce a safer improvement than blindly adding concurrency. A …
- VPC Endpoints, Transit Gateway and Hybrid Networking
… Peering and Transit Gateway connect networks and require broader route planning. Exercise and cleanup Draw the private path …
- Design System Operations
… make themes and accessibility changes safer. - Documentation, visual checks and migration plans are part of the component contract.
- Distributed Coordination: Consensus, Heartbeats and Gossip
… Use it for a small control plane, not as a free replacement for high-throughput data paths. Heartbeats …
- System Design Interview Framework
… has stopped being acceptable. A 45-minute example plan Minutes Do Example question ---: --- --- 0–5 Clarify product and …
- AWS: Start Here
… If the session expires, sign in again rather than creating permanent access keys as a shortcut. Plan cost …
- SOLID at a Glance
… Lamps depend on the socket, not the power plant. How they connect mermaid flowchart TB S["S — one …