Core cloud architecture terminology — availability, scalability, elasticity, fault tolerance, and durability — plus disaster recovery options (RTO/RPO) and how high availability is built into AWS services.

Architecture Roles

  • Solutions architect: architects a technical solution using multiple systems via research, documentation, and experimentation 2:12:15
  • Cloud architect: a solutions architect focused solely on cloud services; in the job market "solutions architect" is often used for both 2:12:15
  • Beyond the core terms, architects always weigh two questions: how secure is the solution, and how much will it cost 2:13:11 2:13:41

Key Terminology

TermDefinition
AvailabilityAbility to ensure a service remains available 2:12:47
ScalabilityAbility to grow rapidly or unimpeded 2:13:11
ElasticityAbility to shrink AND grow to meet demand 2:13:11
Fault toleranceAbility to prevent a failure 2:13:11
Disaster recovery (durability)Ability to recover from a failure 2:13:11

High Availability

  • Service remains available by ensuring no single point of failure and/or a certain performance level 2:14:04
  • On AWS: run the workload across multiple AZs so it survives one or two AZs going down 2:14:04
  • Implemented with an Elastic Load Balancer: evenly distributes traffic to multiple servers in one or more data centers, routing only to healthy/available ones 2:14:32
  • Extra servers alone aren't enough — you may need a minimum threshold (e.g. at least 2 servers running) to meet traffic demand 2:14:32

High Scalability

  • Ability to increase capacity based on increasing demand of traffic, memory, and computing power 2:14:58
  • Vertical scaling (scaling up): upgrade to a bigger server 2:14:58
  • Horizontal scaling (scaling out): add more servers of the same size — bonus: it also gives you high availability 2:14:58

High Elasticity

  • Like scalability but automatic and bidirectional: automatically increase OR decrease capacity based on current demand 2:15:30
  • Horizontal terms: scaling out (add same-size servers) and scaling in (remove underutilized same-size servers); vertical scaling is hard for traditional architectures, so elasticity is usually described horizontally 2:16:00
  • Implemented with Auto Scaling Groups (ASGs): automatically add/remove servers based on scaling rules you define on metrics 2:16:00

High Fault Tolerance

  • No single point of failure — preventing the chance of failure 2:16:31
  • Achieved with failovers: a plan to shift traffic to a redundant system when the primary fails; e.g. a synced secondary database that becomes primary on failover 2:16:31
  • On AWS: RDS Multi-AZ — a duplicate standby database running in another AZ in case the primary fails 2:17:01

High Durability and Disaster Recovery

  • Durability = ability to recover from a disaster and prevent data loss; ask: do you have a backup, how fast can you restore it, does it still work, is live data uncorrupted? 2:17:24
  • AWS solution example: CloudEndure Disaster Recovery — continuously replicates machines to a low-cost staging area in your target account/region for fast, reliable recovery 2:17:24

BCP, RTO and RPO

  • Business Continuity Plan (BCP): document outlining how a business keeps operating during an unplanned disruption 2:18:10
  • RPO (Recovery Point Objective): maximum acceptable amount of data loss after an incident, expressed as time — "how much data are you willing to lose?" 2:18:10 2:18:39
  • RTO (Recovery Time Objective): maximum downtime the business can tolerate without significant financial loss — "how much time are you willing to go down?" 2:18:39
  • AWS white-paper phrasings: RTO = maximum acceptable delay between interruption and restoration of service; RPO = maximum acceptable time since the last data recovery point — both defined by the organization 2:21:47 2:23:22
  • In the white-paper charts, you plot cost/complexity vs service interruption (or data loss), find your acceptable recovery cost, and pick the DR option at that intersection 2:22:39 2:24:13

Disaster Recovery Options (cold → hot)

  • The choice is a tradeoff: cost vs time to recover (RTO/RPO); names use temperature words — cold to hot 2:19:09 2:19:34
OptionWhat it isRecovery timeCost / use case
Backup & restoreBack up data; restore to new infrastructure after the event 2:19:34Hours 2:20:28Very cost-effective; low-priority use cases 2:20:56
Pilot lightData replicated to another region with minimal core services running 2:20:04~10 minutes 2:20:28Less stringent RTO/RPO; start & scale resources after event 2:20:56
Warm standbyScaled-down copy of your full infrastructure; scale up on incident 2:20:04Minutes 2:20:28Business-critical services; costly but less than multi-site 2:21:20
Multi-site active-activeScaled-up identical copy of infrastructure in another region 2:20:28Real-time (zero downtime, near-zero loss) 2:21:20Mission-critical; roughly doubles infrastructure cost 2:21:20

Real-World Architecture Diagram Walkthrough

  • Instructor walks through the (previous-generation) ExamPro/TeacherSeat platform diagram, built in Adobe XD using AWS's free architectural icons (PowerPoint/SVG/PNG downloads); Lucidchart is a third-party alternative 2:24:38 2:25:09
  • AWS's icon deck includes diagram guidelines (group icons, layers, service/resource icons, dos and don'ts — e.g. diagonal arrows are a faux pas) 2:25:55 2:26:19
  • Components in the example architecture:
    • EC2 instances in blue/green environments inside an Auto Scaling Group for blue-green deploys 2:27:04 2:27:26
    • Parameter Store for environment/app configuration variables; Secrets Manager for database (Postgres) credentials 2:27:53 2:28:21
    • S3 buckets for user data, assets, artifacts, CloudFormation templates 2:28:21
    • CI/CD: GitHub triggers CodePipeline → CodeBuild → CodeDeploy, which creates a new environment and swaps it in 2:28:44 2:29:10
    • Traffic path: internet → Route 53 (domain names) → Application Load Balancer → instances across AZs 2:29:54
    • Launch templates (required for ASGs) define instance shape; a custom AMI is built nightly via SSM automation documents (launch instance, install Ruby/Postgres, download codebase, create AMI) 2:30:27 2:30:50 2:31:18

High Availability Across AWS Services (built-in vs manual)

  • S3: highly available by default — serverless storage that replicates data across multiple data centers/AZs in the chosen region (standard tier) 2:32:10
  • EC2: a single instance in a single AZ is NOT highly available; you must launch multiple instances across subnets/AZs and add a load balancer yourself 2:32:43
  • Elastic Beanstalk (PaaS): a checkbox choice — single instance (free-tier) vs high availability, which auto-provisions an ALB and Auto Scaling Group running 1–4 instances 2:33:46 2:34:07
  • RDS: choosing the "production" option sets up Multi-AZ — a replicated database in another AZ 2:34:41 2:35:06
  • Takeaway: some services abstract HA behind an option — you must understand what high availability means underneath 2:35:06