Search
Lessons (40)
- Dependencies, Data Sources, and Resource Lifecycle
… For a critical managed resource, a lifecycle block can help: hcl Inside an existing resource block: lifecycle { prevent …
- Providers and Your First AWS Resources
Configure AWS safely and provision a private, versioned S3 bucket with explicit resource settings. Before running this lab …
- HCL, Resource Addresses, and Project Layout
… An argument assigns an expression to a name. hcl resource "local file" "notes" { filename = "${path.module}/notes.txt …
- Imports, Moved Blocks, and Safe Refactoring
Adopt existing infrastructure, rename resources without recreating them, and remove ownership deliberately. Import brings an existing object under …
- Resources, QoS and Scheduling Control
… which node is BEST?] S -- B[Bind pod to node] Filtering checks resource requests, taints, node selectors and …
- IAM Deep Dive: Policy Evaluation, STS and Cross-Account Access
… The diagram summarizes a common identity-policy path, not every resource-policy case. Applicable controls and principal type …
- Extending Kubernetes: CRDs, Operators and Admission
Teach Kubernetes new resource types, automate them with controllers, and enforce policy before objects are saved. Kubernetes is …
- Drift, Troubleshooting, and Disaster Recovery
… Successfully created resources normally remain, and successful operations are recorded in state. Fix the permission or configuration issue …
- Count, for_each, Functions, and Stable Identities
Create repeated resources with predictable addresses and avoid accidental changes caused by list indexes. Identity matters more than …
- Secrets, Ephemeral Values, and Least Privilege
… You cannot use it as the ordinary content of local file , because that resource value is persisted. When …
- IAM: Who Can Do What
… Every request has a who , an action , and a resource . text Developer role + s3:GetObject + photos bucket = allowed …
- Terraform: Start Here
… It does not continuously watch resources like a Kubernetes controller. The essential vocabulary Term Meaning Example --- --- --- Resource Something …
- Testing, Preconditions, and Policy Checks
… Terraform tests have separate test state, but failed destruction can leave resources behind. Mock providers can test configuration …
- AI Architect Reference: Decisions, Glossary, Resources and Career
… which approach to use, a plain-words glossary, the best free resources, the portfolio checklist, target roles and …
- Your First Terraform Project
… Expect a plan to add one resource. Read its filename and content before continuing. bash terraform apply first …
- Reusable Modules and Clear Interfaces
… Inputs customize it; outputs expose results; internal resources implement the behavior. Start with a local module so you …
- Multi-Account Strategy, Governance and Security Operations
… Use an organization trail to a locked S3 bucket with log file validation AWS Config Resource configuration history …
- Production Capstone and Interview Practice
… Use the AWS bucket resources from lesson 5 and the module principles from lesson 8. This project integrates …
- REST API Design
… nouns in the URL, verbs in the HTTP method](/img/backend/rest-resources.svg) Rule 1: URLs are …
- RBAC and Cluster Security
… prod rules: - apiGroups: [""] resources: ["pods", "pods/log"] verbs: ["get", "list", "watch"] --- apiVersion: rbac.authorization.k8s.io/v1 kind …
- Cost Optimization and the Well-Architected Framework
… Do not commit before right-sizing. Where money usually leaks 1. Idle and oversized resources : unused EC2, unattached …
- Safe AWS Deployments with IaC and CI/CD
… Infrastructure rollback can fail or delete valuable resources; review resource replacement and data-retention behavior. A green pipeline …
- VPC Endpoints, Transit Gateway and Hybrid Networking
… json { "Statement": [{ "Effect": "Allow", "Principal": " ", "Action": ["s3:GetObject"], "Resource": "arn:aws:s3:::shop-assets/ " }] } Combine with a bucket …
- Health Checks and Scaling
… Resource resource: name: cpu target: type: Utilization averageUtilization: 60 If the average CPU rises above 60% of the …
- Variables, Locals, Outputs, and Validation
… Retain its terraform block, replace the original resource and output, and add: hcl variable "project" { type = string description …
- Run Containers on AWS with ECR and ECS
… A task definition says which recipe and resources to use. A task is one running copy. An ECS …
- AWS Interview Questions: Clear Answers
… I use multiple AZs for availability, while keeping related resources in the same Region to reduce latency and …
- Environments, Workspaces, and Multiple Accounts
… deliberate separation of credentials, state, approvals, and cloud resources. A naming suffix alone does not isolate access. text …
- State, Remote Backends, and Locking
Share state through S3, enable native locking, migrate safely, and protect recovery data. Why state exists A resource …
- Containers at Scale: ECS Deep Dive and EKS
… inspect scheduling events, resource requests, node capacity, availability-zone constraints, and available subnet addresses. Requests guide placement; limits …
- Pods: Where Your App Actually Runs
… requests and limits Give Kubernetes an honest estimate of what your container needs. yaml resources: requests: cpu: "250m …
- AWS Security Building Blocks
… Also verify the appropriate client/resource audience rules and API scopes. In the common Cognito client checks, an …
- EC2, Storage and Auto Scaling
… Inspect snapshots, retained volumes, and IP resources when cleaning up. See [EC2 termination behavior](https://docs.aws.amazon …
- AWS: Start Here
… Stop or delete test resources when finished. First commands bash aws configure sso aws sts get-caller-identity …
- Composition over Inheritance
… string) { super( ${resource} not found ); this.name = "NotFoundError"; } } Common mistakes - Inheriting just to reuse one helper method. Move …
- REST vs GraphQL vs gRPC
… gRPC compared](/img/backend/api-styles.svg) REST: resources over HTTP http GET /users/42 GET /users/42 …
- Resilience Patterns
… isolate resources Ships are divided into watertight compartments ( bulkheads ). A hole floods one compartment, not the whole ship …
- Configuration, Secrets and Storage
… accessModes: - ReadWriteOnce resources: requests: storage: 20Gi Mount that claim into the pod at a path such as /app …
- JavaScript Language Fundamentals
… Errors js class NotFoundError extends Error { constructor(resource, id) { super( ${resource} ${id} not found ); this.name = "NotFoundError"; } } try …
- Practical Lab: S3 File Upload and CloudFront Delivery with NestJS
… Prerequisites Tool Check Used for --- --- --- AWS CLI v2 aws --version Creating and inspecting resources Credentials with admin-like …