Search
Lessons (40)
- Variables, Locals, Outputs, and Validation
Build a configurable local lab with typed inputs, useful outputs, and clear validation errors. Replace hard-coded values …
- Count, for_each, Functions, and Stable Identities
… name = file.filename } } This creates local file.service["api"] and local file.service["web"] . Add worker = { port = 9000 …
- HCL, Resource Addresses, and Project Layout
… The labels identify the resource type and local name. filename and content are arguments defined by the local …
- Reusable Modules and Clear Interfaces
… Start with a local module so you can practice without cloud credentials: text module-lab/ main.tf modules …
- Your First Terraform Project
Install Terraform and create, change, inspect, and destroy a local file without using a cloud account. Prepare your …
- Cross-Service Data: How to Join Without a Database JOIN
… Order Service maintains only customer name in a local projection. 5. The page reads orders and local customer …
- Time, Consistency and Distributed Transactions
… Use monotonic clocks for local elapsed durations, and versions or logical clocks for the ordering the domain actually …
- Terraform: Start Here
Understand infrastructure as code, the plan/apply workflow, and the learning path from local experiments to team operations …
- State Management (Redux, Zustand, TanStack Query)
Where should data live in a frontend app? Learn the four kinds of state, when local state is …
- State, Remote Backends, and Locking
… Backend configuration cannot reference input variables, locals, or resource attributes. It initializes before ordinary configuration evaluation. Use partial …
- VPC Networking Without the Confusion
… 10.42.0.0/16 → local local connects VPC addresses. 0.0.0.0/0 is the default …
- Product-Scale Frontend Patterns
… fast, reversible feedback An optimistic update changes the local view before the server confirms it. It should have …
- React Hooks in Practice
… the function runs only on the first render const [settings, setSettings] = useState(() = JSON.parse(localStorage.getItem("settings") ?? "{}")); For …
- Edge, Platform & Frontend Delivery
… is well suited to lightweight tasks such as locale negotiation, an authentication redirect, headers, or an experiment assignment …
- Collaborative Document Editing & Real-Time Sync
… The client applies the edit optimistically to local state, so typing has zero latency. 2. It sends {clientId …
- Data in Microservices: Sagas & the Outbox Pattern
… a sequence of local steps, each with a compensating action that undoes it if a later step fails …
- Run Containers on AWS with ECR and ECS
… docker run --rm -p 8080:80 bookshop-web:1 Open http://localhost:8080 from another terminal or browser …
- Testing, Preconditions, and Policy Checks
… local provider configured: hcl variable "environment" { type = string default = "dev" } variable "replicas" { type = number default = 1 } resource "local …
- 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 …
- Docker & Containers
… persist data in volumes. - Docker Compose runs multi-container apps locally with one command.
- Scalable Frontend Architecture
… feature. Separate kinds of state State Owner Example --- --- --- Local UI component dialog open, input text URL router selected …
- Message Delivery: Queues, Kafka, Ordering and DLQs
… Commit a local effect plus processing marker atomically where possible. 3. Bound retries and quarantine poison events with …
- Cluster Networking, DNS and NetworkPolicies
… inside the cluster. text <service .<namespace .svc.cluster.local From the same namespace, http://shop-api works. From …
- Practical Lab: S3 File Upload and CloudFront Delivery with NestJS
… an IAM user with access keys (local development) Fine for your laptop. Not what you should run in …
- Views, Triggers & Stored Procedures
… Use triggers for local data rules, not cross-service workflows. Q29 and Q30: Stored procedure versus trigger A …
- Pods: Where Your App Actually Runs
… they can call each other through localhost . - Optional shared files : a volume can be mounted into both containers …
- Concurrency, Resilience & Distributed Workflows
… The transactional outbox writes the business row and an outbox row in one local transaction; a relay publishes …
- Transactions, Indexes & Concurrency
… It can enforce local rules or audit changes, but hidden work makes writes harder to understand. Prefer declarative …
- EC2, Storage and Auto Scaling
… Otherwise a user's next request may land on a new instance missing the first instance's local …
- REST vs GraphQL vs gRPC
… a function on another as if it were local. Contracts are written in Protocol Buffers ( .proto ), and data …
- Topics, Partitions & Offsets
… orders --partitions 6 --replication-factor 3 --bootstrap-server localhost:9092 Naming tips: use a consistent scheme such as …
- Serverless Architecture
… services are provider-specific Local testing and debugging Harder; use emulators (SAM, LocalStack) and good tracing Observability Many …
- ACID, Transactions & Locks
… Put both changes in one local transaction: either both commit or both roll back. ![A transaction either commits …
- Event-Driven Architecture
… Event-carried state transfer The data consumers need { type: "CustomerMoved", customerId, newAddress } Consumers keep a local copy and …
- Frontend Security
… Where to store tokens? Storage XSS can steal it? CSRF risk? Verdict --- --- --- --- localStorage / sessionStorage ❌ Yes : any script can …
- IAM Deep Dive: Policy Evaluation, STS and Cross-Account Access
… Configure a local role profile and verify the resulting caller identity before testing access. AWS evaluates cross-account …
- Frontend Testing Strategy
… local dev)"}} M -- R["Fake JSON response"] F -.production.- API[(Real API)] The same handlers can power local …
- Code Profiling
… request - buildReport - sortRows - localeCompare Narrow stack: request - authenticate - verifyToken Investigate the wide path first, then repeat the profile …
- Domains, Load Balancers and HTTPS
… a tiny Python web server you can run locally to understand the contract. It uses only Python's …
- Serverless: Lambda and API Gateway
… Never depend on local memory for durable coordination. Retry behavior depends on the caller API Gateway does not …