Search
Lessons (40)
- Configuration, Secrets and Storage
… Limit who can read Secrets with RBAC. Pod storage disappears If an app writes a file inside its …
- Storage Engines & Database Operations
… a bounded pool protects the primary while WAL, backups and replicas provide recoverability](/img/database/storage-operations.svg …
- Design a File Storage Service
Let big files go straight to cheap file storage, while your own server keeps track of who owns …
- Production Capstone and Interview Practice
Combine modules, isolated environments, remote state, tests, and reviewed delivery in a production-style storage project. Build a …
- Storage, Search and Location Queries
Use the right tool for each job (object storage for files, a search index for text, a geo …
- EC2, Storage and Auto Scaling
… Inspect the backing storage and deletion settings; keep valuable data in deliberately managed durable storage with a backup …
- Environments, Workspaces, and Multiple Accounts
… module "secondary storage" { source = "../../modules/private-storage" providers = { aws = aws.secondary } Add the module's required inputs here …
- Safe AWS Deployments with IaC and CI/CD
… Private storage for an AWS learning exercise Resources: UploadsBucket: Type: AWS::S3::Bucket Properties: PublicAccessBlockConfiguration: BlockPublicAcls: true BlockPublicPolicy …
- Practical Lab: S3 File Upload and CloudFront Delivery with NestJS
… fullKey }; } } ts // src/storage/storage.module.ts import { Module } from '@nestjs/common'; import { StorageController } from './storage.controller'; import …
- AWS: Start Here
… you can rent a server, database, file storage, network, or message queue in minutes. Where AWS runs your …
- Design a Logging and Monitoring Platform
… last 7 days), - cheap archival storage for older data (slower to search). If one view breaks, the stream …
- AWS Databases: Choose the Right One
Choose SQL, key-value, or cache storage by the problem you need to solve, then protect it with …
- Terraform: Start Here
… networks, storage, IAM, managed services, and platform settings. Use application delivery tools for frequent code releases and configuration …
- State, Remote Backends, and Locking
… Team projects need shared storage, controlled access, and a supported locking mechanism. mermaid flowchart LR A[Developer or …
- System Design Interview Framework
… 2. Estimate: busiest RPS (requests per second), storage, network bandwidth (data per second) and growth. 3. Draw the …
- StatefulSets, DaemonSets, Jobs and CronJobs
… Stable identity and storage: StatefulSet. - Node agents: DaemonSet. - Jobs need restartPolicy of Never or OnFailure , plus backoffLimit and …
- Collaborative Document Editing & Real-Time Sync
… The storage itself refuses any write that carries an older epoch. So if the old server wakes up …
- 500 Users Upload Documents at Once: Design the Background Job Pipeline
… You get a ticket and leave. Object storage A place to keep big files (like S3). A warehouse …
- Distributed Coordination: Consensus, Heartbeats and Gossip
… It can freeze between the check and the write. ✅ Right: the storage checks the token as part of …
- Providers and Your First AWS Resources
… fmt terraform validate terraform plan -out=storage.tfplan terraform apply storage.tfplan terraform output -raw bucket name Expect …
- Cost Optimization and the Well-Architected Framework
… 30, "StorageClass": "STANDARD IA" }, { "Days": 90, "StorageClass": "GLACIER IR" } ], "Expiration": { "Days": 365 }, "AbortIncompleteMultipartUpload": { "DaysAfterInitiation": 7 } }] } Databases - Use Aurora …
- Pods: Where Your App Actually Runs
… a node, storage, or enough resources kubectl describe pod <name ContainerCreating Downloading image or attaching storage Wait briefly …
- S3: Store Files Safely
… move old files to a cheaper storage class or delete temporary files after a known period. Do not …
- Views, Triggers & Stored Procedures
… cost each read Materialized view Reads stored result Storage and refresh delay Q24: Trigger guidance A trigger can …
- Time, Consistency and Distributed Transactions
… Make the storage reject the old owner Every time the lease is handed out, the lock service gives …
- L — Liskov Substitution Principle
… to anything with a shared contract: js // Any "storage" passed in must behave like the others const memoryStorage …
- Proxies, APIs and Real-Time Protocols
… Anything that must survive a crash goes in durable storage or a queue TCP (the basic "reliable" internet …
- DBMS Foundations, Keys & Normalization
… Abstraction, dependencies and design Physical level describes storage; logical level describes entities and relations; view level exposes a …
- Frontend Security
XSS, CSRF, clickjacking, token storage, CORS and supply-chain risks, explained with pictures. What can go wrong in …
- Containers at Scale: ECS Deep Dive and EKS
… no DaemonSets, limited storage options) EKS Auto Mode AWS manages compute, networking and storage add-ons for you …
- CloudWatch: Know What Your App Is Doing
… balancer targets - queue age growing too high - database storage nearly full - unexpected cost/budget threshold An alarm needs …
- AWS Data Pipelines in Plain Language
… A data pipeline exports or delivers records into analytical storage so reporting can operate separately. The important first …
- AWS Messaging: Queues, Topics and Events
… A queue is durable within its service behavior, but it is not infinite historical storage. Duplicate-safe receipt …
- AWS Security Building Blocks
… Choose token/session storage with your application framework's security model and avoid exposing tokens in logs or …
- HCL, Resource Addresses, and Project Layout
… References establish dependencies. One directory is one module A common root layout is: text storage-lab/ versions.tf …
- Reusable Modules and Clear Interfaces
… and port. Design a useful boundary A production storage module might always configure encryption, public-access protection, ownership …
- Imports, Moved Blocks, and Safe Refactoring
… moved { from = aws s3 bucket.assets to = module.storage.aws s3 bucket.assets } This assumes the destination module …
- Monitoring, Logs & Backups
… the 3-2-1 rule Keep 3 copies of your data, on 2 different kinds of storage, with …
- Big Data: ETL, Warehouses and Streaming
… A big storage unit, everything in boxes A neat library with a catalog A storage unit with a …
- Capacity, Availability, Latency and CAP
… Estimate storage the same way: text events per day × bytes per event × days kept × number of copies Example …