Tutorial

AWS for DevOps Tutorial

Learn AWS for DevOps: IAM, EC2, VPC, S3, RDS, Lambda, ECS, CloudWatch, and CodePipeline, hands-on tutorials with quizzes and real-world examples for every topic.

85 lessons in this tutorial

1

Introduction to AWS

Learn what AWS is, why it became the leading cloud platform, and how DevOps teams use its services to build, deploy, and operate systems faster.

2

AWS Global Infrastructure

Regions, Availability Zones, Local Zones and edge locations. How AWS is laid out, how to choose a Region, and why cross-AZ traffic shows up on your bill.

3

Setting Up AWS

What a new AWS environment needs before you build on it. Account structure, root hardening, identity, billing guardrails and CloudTrail.

4

AWS Account Setup

Securing a new AWS account. Root user hardening, MFA, billing alarms, CloudTrail, account contacts, and the settings that are painful to add later.

5

AWS Console Tour

Navigating the AWS Management Console efficiently: the search bar, Region switcher, CloudShell and Resource Explorer, and when not to use it at all.

6

AWS CLI Setup

Install and configure the AWS CLI properly. SSO instead of access keys, named profiles, the credential chain and safe multi-account use.

7

AWS IAM

How AWS IAM decides who can do what. Users, groups, roles and policies, the evaluation order that produces AccessDenied, and why humans should not have IAM users.

8

AWS IAM Users and Groups

How IAM users and groups work, why AWS now recommends against users for people, access key hygiene, and migrating to IAM Identity Center.

9

AWS IAM Roles and Policies

Trust policies versus permission policies, assuming roles with STS, managed and inline policies, permissions boundaries, and how to debug an assume-role failure.

10

AWS IAM Best Practices

Practical IAM hardening. Replacing IAM users with Identity Center, least privilege from real usage data, permissions boundaries, MFA, and what to audit regularly.

11

AWS EC2

How EC2 instances actually work. Families and sizing, pricing models, EBS vs instance store, IMDSv2, Session Manager instead of SSH, and stop vs terminate.

12

Launching an AWS EC2 Instance

Launching an EC2 instance properly. Choosing an AMI without hardcoding IDs, launch templates, user data, IMDSv2, and what to check when it comes up wrong.

13

AWS EC2 Instance Types

How to read an EC2 instance type, what each family is for, burstable credits, Graviton savings, and choosing a size from data rather than guesswork.

14

AWS EC2 Security Groups

How security groups work as stateful firewalls. Rule structure, referencing other groups, the default outbound rule, limits, and debugging blocked traffic.

15

AWS EC2 Key Pairs

How EC2 key pairs work, why Session Manager is a better default than SSH, recovering access to an instance with a lost key, and EC2 Instance Connect.

16

AWS VPC

How an AWS VPC is put together. CIDR and subnet sizing, what makes a subnet public, NAT gateway costs, VPC endpoints, and security groups versus NACLs.

17

AWS VPC Subnets

Designing VPC subnets. Public versus private, CIDR sizing and the five reserved IPs, availability zone placement, required tags, and running out of addresses.

18

AWS VPC Route Tables

How route tables decide where traffic goes: the local route, longest prefix match, the main table trap, and debugging a subnet with no connectivity.

19

AWS NAT Gateway

What a NAT gateway does, why it is often the largest networking cost on an AWS bill, and the VPC endpoints and architecture changes that reduce it.

20

AWS S3

How Amazon S3 object storage actually works. Buckets and keys, storage classes, encryption and public access defaults, and cost control.

21

AWS S3 Buckets

Creating and configuring S3 buckets. Global naming rules, the us-east-1 exception, and how to delete a bucket that will not delete.

22

AWS S3 Permissions

How S3 access is actually decided. IAM versus bucket policies, Block Public Access, ACLs being disabled, cross-account access, and debugging AccessDenied.

23

AWS S3 Versioning

How S3 versioning protects against overwrites and deletes. Delete markers, the storage cost nobody expects, lifecycle rules and Object Lock.

24

AWS RDS

Managed relational databases on AWS. Multi-AZ versus read replicas, backups and point-in-time recovery, the settings you cannot change later, and RDS Proxy.

25

AWS RDS Setup

Creating an RDS instance correctly. Subnet groups, the settings you cannot change later, parameter groups, connecting from a private subnet, and first-run checks.

26

AWS RDS Security

Securing an RDS database. Network isolation, encryption in transit and at rest, IAM authentication, secret rotation, audit logging and deletion protection.

27

AWS Lambda

How AWS Lambda works in practice: the execution model, memory and CPU, cold starts, concurrency limits, timeouts, retries and the costs that surprise teams.

28

AWS Lambda Functions

Writing, packaging and deploying Lambda functions. Handler signatures, deployment packages versus container images, layers, versions and aliases, and local testing.

29

AWS ECS vs EKS

Choosing between ECS and EKS on AWS: the real differences in cost, complexity, portability and ecosystem, plus where Fargate and App Runner fit.

30

AWS ECS Tasks and Services

ECS task definitions and services explained: the two IAM roles, networking modes, health checks and deployment behaviour, and debugging a task that will not start.

31

AWS CloudWatch

Metrics, logs, alarms and dashboards in CloudWatch: the missing EC2 metrics, log retention that never expires, alarm states, and how the bill gets away from teams.

32

AWS CloudWatch Metrics

How CloudWatch metrics work. Namespaces, dimensions and statistics, the metrics EC2 does not publish, custom metric cardinality costs, and metric math.

33

AWS CodePipeline

Building CI/CD pipelines with AWS CodePipeline. Stages and actions, source providers, approval gates, deployment strategies, and how it compares to GitHub Actions.

34

AWS CodeBuild

Running builds on AWS CodeBuild: the buildspec file, caching, building Docker images, VPC access, exported variables, and diagnosing a failing build.

35

AWS Cost Optimization

Where AWS bills actually go and how to reduce them. Savings Plans, Spot, Graviton, the hidden data transfer and NAT charges, and the tooling that finds waste.

36

AWS Elastic Load Balancing

Choose the right AWS load balancer. ALB vs NLB vs GWLB, target groups, health checks, TLS termination and debugging 502 and 503 errors.

37

AWS Application Load Balancer

Layer 7 load balancing on AWS. Listener rule precedence, target group health checks, the 502 and 503 errors you will meet, and ALB vs NLB.

38

AWS Network Load Balancer

Layer 4 load balancing on AWS. Static IPs, client IP preservation and the hairpin problem, cross-zone charges, and when an NLB beats an ALB.

39

AWS Auto Scaling

What actually scales on AWS and how. EC2 Auto Scaling vs Application Auto Scaling, scaling ECS, DynamoDB and Aurora, and why right-sizing usually beats scaling.

40

AWS Auto Scaling Groups

Operate an ASG properly. Launch templates, ELB vs EC2 health checks, grace periods, instance refresh, lifecycle hooks and mixed instances with Spot.

41

AWS Auto Scaling Policies

Target tracking, step, scheduled and predictive scaling compared, which to reach for, how warmup prevents flapping, and why scale-in goes wrong.

42

AWS CloudFront

CloudFront in practice. Origin access control, the cache key that decides your hit rate, invalidation costs and the us-east-1 certificate rule.

43

AWS CloudFront Distributions

Create and operate a distribution. Behaviour precedence, multiple origins, origin groups for failover, and CloudFront Functions vs Lambda@Edge.

44

AWS CloudFront SSL and Custom Domains

Serve CloudFront on your own domain over HTTPS: the us-east-1 certificate requirement, DNS validation, alias records, security policies, and origin-side TLS.

45

AWS Route 53

DNS on AWS. Public and private hosted zones, the delegation people forget, alias records, health checks, and why TTL decides failover speed.

46

AWS Route 53 Records

Every record type you will actually use, A, CNAME, MX, TXT, SRV and CAA, plus UPSERT semantics, SPF and DMARC, and the errors Route 53 returns.

47

AWS Route 53 Routing Policies

Weighted, latency, failover, geolocation and multivalue routing. What each is for, the Set Identifier rule, and why weighted canaries drift.

48

AWS DynamoDB

DynamoDB for people who know SQL. Partition and sort keys, why access patterns come before the schema, hot partitions and what it cannot do.

49

AWS DynamoDB Tables

Create and operate DynamoDB tables: the key schema you cannot undo, attribute definitions, deletion protection, PITR and on-demand backups.

50

AWS DynamoDB Queries

Query, Scan and secondary indexes. Why filter expressions do not save money, GSI vs LSI, projections, pagination, and the sparse index trick worth knowing.

51

AWS ElastiCache

Managed Redis and Memcached. Cluster mode and its client requirement, eviction policies, the cache-aside pattern and failover behaviour.

52

AWS SQS

Amazon SQS in practice. Standard vs FIFO, why visibility timeout must exceed processing time, long polling and idempotent consumers.

53

AWS SQS Dead-Letter Queues

Isolate and recover failing messages. Redrive policies, choosing maxReceiveCount, and why a DLQ without an alarm is worse than none at all.

54

AWS SNS

Publish-subscribe messaging on AWS: the SNS-to-SQS fan-out pattern, raw message delivery, filter policies and why email subscriptions bite.

55

AWS EventBridge

Route events by content, not topic. Event buses, pattern matching, AWS service events, scheduled rules, archive and replay, and why the DLQ belongs on the target.

56

AWS Step Functions

Orchestrate workflows without glue code. Standard vs Express and the 100x cost difference, retries, Map state concurrency and debugging a failure.

57

AWS API Gateway

Choosing and running API Gateway. HTTP vs REST vs WebSocket and the 70% price difference, stages, throttling, custom domains and cost at scale.

58

AWS API Gateway REST APIs

The REST API features worth paying for. Resources and methods, integration types, mapping templates, request validation, usage plans, caching, and OpenAPI import.

59

AWS API Gateway and Lambda

Wire Lambda behind API Gateway correctly. Proxy integration, the exact response shape that avoids a 502, payload format v1 vs v2, CORS and the 29-second ceiling.

60

AWS ECR

Push, pull and secure container images in Amazon ECR. Authentication, tagging, lifecycle policies, image scanning, and the errors you will hit first.

61

AWS EKS

How Amazon EKS runs managed Kubernetes on AWS. Control plane, node options, access entries, IRSA and Pod Identity, add-ons, and what each choice costs you.

62

AWS EKS Cluster Setup

Create an EKS cluster that works. The IAM mapping that locks people out, access entries vs aws-auth, subnet tagging and the CNI IP limit.

63

AWS EKS Node Groups

Run EKS workers properly. Managed node groups vs Fargate, Karpenter over Cluster Autoscaler, taints and labels, and Spot with interruption handling.

64

AWS CloudFormation

Define AWS infrastructure as code. Template anatomy, change sets, drift detection, rollback behaviour, deletion policies and how it compares to Terraform.

65

AWS CloudFormation Stacks

Operate stacks in practice. Change sets before every update, recovering from UPDATE_ROLLBACK_FAILED and ROLLBACK_COMPLETE, drift and deletion policies.

66

AWS CloudFormation Templates

Write templates that stay maintainable. Parameter types, intrinsic functions, conditions, DependsOn, custom resources and linting before deploy.

67

AWS Elastic Beanstalk

Deploy without managing infrastructure. Environment types, deployment policies and their downtime trade-offs, .ebextensions and the database mistake.

68

AWS KMS

Encryption keys that actually work. Key policies versus IAM, AWS managed vs customer managed keys, envelope encryption, grants and rotation.

69

AWS Secrets Manager

Store, rotate and retrieve secrets with AWS Secrets Manager. Resource policies, automatic rotation, caching, cost, and when Parameter Store is the better choice.

70

AWS WAF and Shield

Application-layer protection that does not block your users. Count mode before block, rate limiting, managed rule false positives and Shield Advanced.

71

AWS CloudTrail

The audit log for everything. Management vs data events, why the 90-day history is not enough, log file validation and querying trails with Athena.

72

AWS Config

Continuous compliance and resource history. Managed rules, conformance packs, auto-remediation with SSM, and Config versus CloudTrail.

73

AWS Systems Manager

Manage fleets without SSH. Why instances do not appear, Run Command, Patch Manager, and Parameter Store versus Secrets Manager.

74

AWS SSM Session Manager

Shell access with no SSH, no bastion and no open ports. Prerequisites, session logging for audit, and port forwarding to a private database.

75

AWS SSM Parameter Store

Store configuration and secrets in AWS Systems Manager Parameter Store. SecureString encryption, hierarchies, versions, standard vs advanced tiers, and cost.

76

AWS Organizations

Multi-account AWS done properly. Why separate accounts beat separate VPCs, OU design, consolidated billing and delegated administration.

77

AWS Organizations SCPs

Service control policies that restrict without breaking things. Deny lists over allow lists, why an SCP grants nothing, and break-glass exemptions.

78

AWS EFS

Shared NFS storage across instances and containers. Mount targets per AZ, why Bursting throughput stalls, access points and EFS versus EBS.

79

AWS EBS Deep Dive

Choose and tune block storage. Gp3 over gp2, io2 Block Express, why instance type caps your volume, snapshots and fast restore, resizing safely, and encryption.

80

AWS Kinesis

Streaming data on AWS. Data Streams versus Firehose, shards and hot partitions, consumer lag, and Kinesis compared with SQS and MSK.

81

AWS Athena

Query S3 with SQL and control the cost. Partitioning and partition projection, Parquet over JSON, and why you pay for every byte scanned.

82

AWS CodeDeploy

Blue-green and canary deployments for EC2, Lambda and ECS: the appspec file, lifecycle hooks, and automatic rollback driven by CloudWatch alarms.

83

AWS CodeCommit

CodeCommit is closed to new AWS customers. What that means, operating an existing repository, and migrating to GitHub or GitLab with history intact.

84

AWS CDK

Infrastructure in TypeScript or Python: the three construct levels, why cdk diff matters, bootstrapping, escape hatches and CDK versus Terraform.

85

AWS SAM

Build and deploy serverless applications with SAM: the template shorthand, sam local for testing, guided deploys, and SAM versus CDK.