Intro
AWS is the largest cloud platform. Compute, storage, networking, databases, identity, and hundreds more services — pay for what you use.
AWS — what it is
EXAMPLE
# ===== The model ===== # - Regions worldwide (ap-southeast-2 = Sydney, us-east-1 = N. Virginia, ...) # - Each region has multiple Availability Zones (isolated data centres) # - Pay-as-you-go pricing on most services # - Identity via IAM users + roles + policies # ===== The core service categories ===== # Compute: EC2, Lambda, ECS/Fargate, EKS # Storage: S3 (object), EBS (block), EFS (file) # Database: RDS (Postgres, MySQL, ...), DynamoDB, Aurora # Network: VPC, ELB, Route 53, CloudFront, API Gateway # Messaging: SQS, SNS, EventBridge # Observ.: CloudWatch, X-Ray # Security: IAM, KMS, Secrets Manager, GuardDuty, WAF # ===== Hello, S3 (CLI) ===== aws configure # interactive setup of credentials + region aws s3 mb s3://my-bucket-1234 echo 'hi' > hi.txt aws s3 cp hi.txt s3://my-bucket-1234/ aws s3 ls s3://my-bucket-1234/ # ===== Hello, Lambda ===== # - One function = one route, run on demand # - Pay per request + per ms # - Scales to zero # Recommended: deploy via SAM / CDK / Terraform, not the console. # ===== When AWS wins ===== # - You need many services that talk to each other # - Global reach + many regions # - Enterprise compliance (HIPAA, PCI, ISO via AWS Artifact) # - Mature ecosystem (third-party tools assume AWS) # ===== When AWS hurts ===== # - Cost surprises if you do not tag + alert # - Console clickops drifts from IaC if uncontrolled # - Steep learning curve; pick a small set of services to start # ===== Tools landscape ===== # aws-cli official CLI # CDK IaC in TS / Python / Java / .NET # Terraform multi-cloud IaC # SAM Lambda-focused # Serverless Lambda-focused (third-party) # ===== Patterns to internalise ===== # - IaC from day one — even toy projects # - One IAM role per workload, least privilege # - Tag every resource (project, env, owner) # - Budget alarms + Cost Anomaly Detection on every account # ===== Pitfalls ===== # - Root account in daily use # - Public S3 buckets (enable BLOCK PUBLIC ACCESS at account level) # - NAT Gateway egress costs surprising you (use VPC endpoints) # - Forgetting MFA on the root + IAM admin users
Why it matters
AWS is broad and deep. Start small: a VPC, a compute service, S3, RDS or DynamoDB, IAM, and CloudWatch covers most apps. IaC, tagging, budget alarms, and least-privilege IAM are the table stakes that keep the account safe and the bill sane.
Tip: Tweak the snippet with Try it Yourself », then sit the quiz at the bottom of the page.
Example
Example
# AWS = cloud infrastructure on tap. # Compute, storage, network, databases, AI, all by API.Try it Yourself »
Exercise
Show your current AWS identity.
aws sts
Hyphenated.
Discussion
Loading…