Search
Lessons (40)
- Configuration, Secrets and Storage
… ordinary settings A ConfigMap holds settings that are not secret. yaml apiVersion: v1 kind: ConfigMap metadata: name: shop …
- Environments, Workspaces, and Multiple Accounts
Separate development and production ownership, understand workspace limits, and configure provider aliases. Isolation has several layers Development and …
- Creational Patterns: How to Make Objects
… 0 }; url(url) { this. config.url = url; return this; } method(method) { this. config.method = method; return this; } header …
- Reusable Modules and Clear Interfaces
… Default provider configurations can be inherited; aliased configurations require explicit wiring and appropriate configuration aliases declarations in the …
- Providers and Your First AWS Resources
… Inspect the actual plan if provider behavior or configuration changes. Verify and clean up Using the output as …
- Imports, Moved Blocks, and Safe Refactoring
… In an AWS-configured root, write matching resource configuration and an import block: hcl resource "aws s3 bucket …
- Terraform: Start Here
… Terraform's configuration, state, and plan play similar roles. Terraform talks to services through providers . AWS, Azure, Google …
- State, Remote Backends, and Locking
… It initializes before ordinary configuration evaluation. Use partial configuration and terraform init -backend-config=dev.backend.hcl to …
- Drift, Troubleshooting, and Disaster Recovery
… Fix the permission or configuration issue, run a fresh plan, review it, then apply. Some failures can leave …
- Testing, Preconditions, and Policy Checks
… Create tests/service.tftest.hcl : hcl run "api filename contract" { command = plan assert { condition = endswith(output.api config …
- Multi-Account Strategy, Governance and Security Operations
Organize accounts with Organizations and Control Tower, enforce guardrails with SCPs, and detect threats with CloudTrail, Config and …
- Run Containers on AWS with ECR and ECS
… Create a task definition with CPU, memory, log configuration, and a task role. 3. Create an ECS service …
- Node.js and Express
… routing, the middleware pipeline, validation, async error handling, project structure, configuration, security, rate limiting, logging and graceful shutdown …
- NestJS Core Concepts
… async (config: ConfigService) = createClient({ url: config.get("REDIS URL") }).connect(), inject: [ConfigService], // async factory: Nest waits before starting …
- Practical Lab: S3 File Upload and CloudFront Delivery with NestJS
… string; constructor(config: ConfigService) { this.bucket = config.getOrThrow('S3 BUCKET'); this.cdnUrl = config.getOrThrow('CLOUDFRONT URL'); // No credentials …
- AWS: Start Here
… Install AWS CLI v2, then configure a named profile: bash aws configure sso --profile academy aws sso login …
- Secrets, Ephemeral Values, and Least Privilege
… In a supporting configuration: hcl variable "session token" { type = string sensitive = true ephemeral = true } This value must be …
- HCL, Resource Addresses, and Project Layout
… Further reading: [Configuration syntax](https://developer.hashicorp.com/terraform/language/syntax/configuration), [dependency lock file](https://developer.hashicorp …
- Your First Terraform Project
… Keep this lab separate from later AWS configurations. Further reading: [CLI workflow](https://developer.hashicorp.com/terraform/cli …
- Event-Driven Patterns, Step Functions and Reliable Lambdas
… AWS reference: [SQS event-source configuration](https://docs.aws.amazon.com/lambda/latest/dg/services-sqs-configure.html …
- Production Capstone and Interview Practice
… Keep the module's provider requirement; configure region and credentials in each root. Replace bucket prefix with var …
- Practical Project: Deploy a Real CRM App on EKS
… Prerequisites Install and configure these tools on your machine: Tool Check Used for --- --- --- AWS CLI v2 aws --version …
- CloudWatch: Know What Your App Is Doing
… In ECS, configure a log driver such as awslogs ; writing stdout alone does not configure CloudWatch delivery. On …
- Serverless: Lambda and API Gateway
… For failed asynchronous work, configure a dead-letter queue or failure destination so messages are not silently lost …
- EC2, Storage and Auto Scaling
… Termination may delete the root volume depending on configuration. Inspect snapshots, retained volumes, and IP resources when cleaning …
- Go Web Services with Gin
… config → db → repo → service → handler → router └── internal/ ├── config/config.go env vars, validated at startup ├── task/ │ ├── model.go …
- DRY: Don't Repeat Yourself
… types from OpenAPI / GraphQL schema Config values copied between files One .env / config module The same SQL in …
- Kubernetes Cluster Architecture, Simply
… it stores the requested configuration and status. Scheduler Chooses a worker node for a new pod. Controllers Watch …
- Resilience, Disaster Recovery and Multi-Region Design
… For global tables, choose the intended consistency mode rather than assuming all configurations share the same conflict behavior …
- AWS Security Building Blocks
… Parameter Store suits simpler configuration and can also hold secure strings. Neither means you should print secrets in …
- Dependencies, Data Sources, and Resource Lifecycle
… Keep identity based on configuration, not an ID generated during apply. Replacement deserves attention A -/+ plan indicates destruction …
- Distributed Coordination: Consensus, Heartbeats and Gossip
… l6/coordination.svg) Problem Tool Guarantee --- --- --- One ordered configuration/log Raft or Paxos-style consensus Majority agreement Is …
- Your Practical Kubernetes Workflow
… desired configuration] G -- A[Argo CD or Flux] A -- K[Kubernetes cluster] This gives your team a review …
- API Gateway, BFF & Service Discovery
… to the new version yaml Simplified gateway routing config (Kong / NGINX / Envoy style) routes: - path: /api/users service …
- CI/CD and Reviewed Production Changes
… trusted plan job This shell sequence assumes a configured backend, trusted source checkout, and short-lived credentials supplied …
- YAGNI: You Aren't Gonna Need It
… the configurable everything Task: export a list of orders as CSV. js // ❌ YAGNI violation: nobody asked for PDF …
- CloudFront: Faster Websites and Safer File Delivery
… Then configure CloudFront: 1. Choose the bucket's regular S3 origin, rather than its website endpoint. 2. Create …
- GitOps, Progressive Delivery and Observability
… Keep application code and deployment config in separate repos or folders so a config change does not require …
- Python Web APIs: FastAPI and Django
… serializer.save(owner=self.request.user) config/urls.py from rest framework.routers import DefaultRouter router = DefaultRouter() router …
- State Management (Redux, Zustand, TanStack Query)
… Redux, with far less boilerplate: js import { createSlice, configureStore } from "@reduxjs/toolkit"; const cartSlice = createSlice({ name: "cart", initialState …