Search
Lessons (40)
- Providers and Your First AWS Resources
Configure AWS safely and provision a private, versioned S3 bucket with explicit resource settings. Before running this lab …
- IAM Deep Dive: Policy Evaluation, STS and Cross-Account Access
Understand how AWS decides allow or deny, and use roles, conditions, boundaries and tags to grant precise access …
- Async JavaScript: Promises, async/await and Node's Event Loop
From callbacks to promises to async/await: running work in parallel, handling errors, timeouts and cancellation with AbortController …
- AWS: Start Here
A plain-English map of AWS: what cloud means, where services run, and the first services a developer …
- 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 …
- Practical Project: Deploy a Real CRM App on EKS
Take a containerized CRM (DemoCRM) from source code to a secure AWS deployment: ECR images, an EKS cluster …
- 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 …
- Imports, Moved Blocks, and Safe Refactoring
… In an AWS-configured root, write matching resource configuration and an import block: hcl resource "aws s3 bucket …
- Run Containers on AWS with ECR and ECS
… See [AWS's ECS role overview](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-iam-role-overview …
- Environments, Workspaces, and Multiple Accounts
… module "secondary storage" { source = "../../modules/private-storage" providers = { aws = aws.secondary } Add the module's required inputs here …
- AWS Security Building Blocks
… An employee signs in to administer the AWS account. These are different identities and permissions. Cognito User Pools …
- Frontend Testing Strategy
… 201 })), ]; tsx it("lists products from the API", async () = { render(<ProductsPage / ); expect(await screen.findByText("Keyboard")).toBeInTheDocument(); // findBy …
- AWS Messaging: Queues, Topics and Events
… Further reading: [SQS visibility timeout](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html), [SQS …
- IAM: Who Can Do What
Learn AWS permissions in plain language: people sign in, roles provide temporary access, and policies allow only needed …
- AWS Interview Questions: Clear Answers
Practice short, correct AWS answers by explaining the trade-off, the safe default, and one real example. How …
- D — Dependency Inversion Principle
… new SesMailer(awsConfig), }); // Tests: plain fakes, no network const sent = []; const testService = new OrderService({ orderRepository: { save: async () = {} }, mailer …
- Delivery Guarantees: At-Most, At-Least & Exactly Once
… 1 }); await producer.connect(); await consumer.run({ autoCommit: false, eachMessage: async ({ topic, partition, message }) = { const tx = await producer …
- Containers at Scale: ECS Deep Dive and EKS
… pods need AWS permissions Never give nodes broad roles. Map Kubernetes ServiceAccounts to IAM roles : - EKS Pod Identity …
- Message Queues & RabbitMQ
… crypto.randomUUID() }, // write to disk ); js // consumer.js const channel = await connection.createChannel(); await channel.assertQueue("emails", { durable …
- Data in Microservices: Sagas & the Outbox Pattern
… a service saves to its database and publishes an event, as two separate steps. js // ❌ Dual write await …
- Dependencies, Data Sources, and Resource Lifecycle
… A reference tells it both which value to use and what must exist first: hcl resource "aws vpc …
- Serverless Architecture
… create an order from an HTTP request import { DynamoDBClient } from "@aws-sdk/client-dynamodb"; import { DynamoDBDocumentClient, PutCommand } from …
- AWS Databases: Choose the Right One
… managed SQL database RDS runs engines such as PostgreSQL and MySQL while AWS handles hardware, backups, and many …
- Caching & Redis
… 4200, value: "ana" }); await redis.zIncrBy("leaderboard", 50, "bo"); const top10 = await redis.zRangeWithScores("leaderboard", 0, 9, { REV …
- AWS Data Pipelines in Plain Language
… Further reading: [Athena CSV schemas](https://docs.aws.amazon.com/athena/latest/ug/schema-csv.html), [Athena partitioning …
- S3: Store Files Safely
… The following commands assume a bucket you own named REPLACE WITH YOUR BUCKET , AWS CLI v2, a valid …
- 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 …
- Terraform: Start Here
… to an API hashicorp/aws State Mapping between resource addresses and real objects aws s3 bucket.assets → a …
- Clean Architecture
… await this.passwordHasher.hash(password) }); const saved = await this.userRepository.save(user); await this.emailSender.sendWelcome(saved.email …
- Multi-Account Strategy, Governance and Security Operations
… per team, per environment (dev, staging, prod). AWS Organizations and SCPs Service Control Policies constrain principals in member …
- Hexagonal Architecture (Ports & Adapters)
… Promise<Loan { if (!(await this.catalog.isAvailable(bookId))) throw new DomainError("Book is not available"); if ((await this …
- Backend Languages: Node.js, Go, Python & Rust
… string) { const user = await this.users.findById(id); if (!user) throw new NotFoundException(); return user; } } Go: Gin go …
- Small Functions That Do One Thing
… hash }); // email await mailer.send({ to: user.email, subject: "Welcome!", html: <h1 Hi ${user.email}</h1 <p Thanks …
- VPC Endpoints, Transit Gateway and Hybrid Networking
… See [interface endpoint configuration](https://docs.aws.amazon.com/vpc/latest/privatelink/interface-endpoints.html). Diagnose by separating …
- Consumers & Consumer Groups
… async ({ topic, partition, message }) = { const eventId = message.headers.eventId.toString(); if (!(await processedEvents.has(eventId))) { // idempotency check await …
- Domains, Load Balancers and HTTPS
Follow a browser request from a domain name to healthy app copies, with AWS-managed HTTPS certificates. The …
- What Is Apache Kafka?
… append an event const producer = kafka.producer(); await producer.connect(); await producer.send({ topic: "orders", messages: [{ key: "customer …
- Serverless: Lambda and API Gateway
… You still write, test, secure, and monitor the code; AWS manages the servers. mermaid flowchart LR B[Browser …
- EC2, Storage and Auto Scaling
Run virtual servers on AWS, attach durable disks, and add or remove server copies when demand changes. EC2 …
- VPC Networking Without the Confusion
Understand a VPC as your private AWS network: subnets, routes, security groups, internet access, and private apps. The …