Compute Family

Family Role

Compute services run application logic. The main architect question is where code should run and how much operational responsibility the team should keep.

Main Decision Dimensions

  • control vs abstraction
  • operational burden vs delivery speed
  • long-running vs event-driven execution
  • packaging model: VM, container, function
  • predictable vs bursty traffic
  • platform standardization vs simplicity

Family Comparison Table

ServiceModelManagementBest ForMain StrengthMain WeaknessTypical Architect Choice
EC2Virtual machineManaged infrastructure, self-managed OS and appMaximum control workloadsFull runtime and OS controlHighest ops burdenChoose when you need custom OS, agents, drivers, or legacy patterns
Auto ScalingCapacity control for EC2Managed scaling layerElastic EC2 fleetsHandles variable capacity better than static EC2Still requires instance/platform managementPair with EC2 for scalable VM-based platforms
LambdaFunctionServerlessEvent-driven and bursty workloadsMinimal ops and very fast elasticityRuntime, duration, and execution-model limitsChoose for short-lived event-based logic
ECSContainersManaged orchestratorContainerized apps without Kubernetes complexityGood balance of control and simplicityLess portable than Kubernetes-centric platformsChoose for AWS-native container platforms
EKSKubernetesManaged control planeTeams that need Kubernetes features or standardizationEcosystem compatibility and portabilityHighest platform complexity in this familyChoose only when Kubernetes is a real requirement
FargateServerless container runtimeServerless for ECS or EKS tasksContainers without host managementRemoves node managementLess host-level control and sometimes higher unit costChoose when container simplicity matters more than host tuning
Elastic BeanstalkManaged app platformManaged platformSimpler traditional web app hostingFast path for standard app stacksLess flexible and less strategic for modern platformsUse when team wants managed app hosting with basic customization
App RunnerManaged app runtimeManaged / serverless-likeSimple web services from source or containerVery low operational effortLimited control compared with ECS or EC2Choose for straightforward web apps and APIs
BatchBatch schedulerManaged scheduler over computeOffline jobs, scheduled processing, queue-based jobsStrong fit for non-interactive computeNot meant for serving trafficChoose for batch pipelines and large job queues

Quick Decision Guide

If You NeedUsually Start With
Full machine controlEC2
Event-driven code with minimal opsLambda
Containers with simpler AWS-native operationsECS with Fargate or EC2
Kubernetes platformEKS
Simple managed web service hostingApp Runner
Scheduled or queued jobsBatch

Common Scenarios

ScenarioUsually Good Starting PointWhy
Startup MVP APILambda or App RunnerFast delivery, low ops
Enterprise internal appECS or EC2Stronger control and integration flexibility
Multi-team platform standardizing on KubernetesEKSShared operating model
Legacy application needing OS-level agentsEC2Host-level control
Bursty background image processingLambda or BatchElastic execution
Long-running microservicesECS or EKSBetter fit than short-lived functions

What To Study Deeply Per Service

  • scaling model
  • packaging and deployment model
  • network attachment model
  • security boundary and IAM usage
  • execution limits and quotas
  • observability model
  • cost shape under steady vs bursty load

When Not To Start Here

  • Do not start with EC2 when the main goal is delivery speed and the team does not want to own patching, AMIs, and host operations.
  • Do not start with Lambda for long-running, heavily stateful, or host-dependent workloads.
  • Do not start with EKS unless Kubernetes is a real platform requirement, not just a resume-driven preference.
  • Do not start with Fargate when host-level tuning, daemon access, or specialized node controls are mandatory.

Practical Architect Checks

  • Confirm who owns the OS, runtime patching, and image lifecycle.
  • Check startup behavior, scaling latency, and deployment blast radius for the chosen model.
  • Validate quotas and hard limits early, especially concurrency, task counts, instance family availability, and regional capacity.
  • Tie the compute choice to network attachment, secret delivery, logging, and rollback patterns.
  • Compare unit economics under steady load and bursty load before committing to a default.

Expert-Level Coverage Additions

  • Document the redesign path from Lambda to containers or from simple containers to platform-managed Kubernetes.
  • Compare operational burden across team maturity levels, not just service features.
  • Include dependency bottlenecks such as database connection pressure, cold-start tradeoffs, and deployment blast radius.
  • Record account-boundary decisions for shared build systems, registries, and runtime isolation.

Per-Service Drill-Down

Use architect-study-template for:

  • EC2
  • Lambda
  • ECS
  • EKS
  • Fargate
  • App Runner
  • Batch

Flagship Service Plan

ServiceWhy It BelongsLinkStatus
LambdaBest starting point for event-driven, serverless, and elasticity-first compute decisionslambdadone
ECSBest default for modern AWS-native container platforms without Kubernetes overheadecsdone
EC2Still necessary for host-level control, legacy workloads, and understanding the lowest managed compute layerec2done
EKSInclude only when Kubernetes becomes a real operating model requirement rather than optional complexityconditionalconditional
Posts in 2026
  • ECS Service Deep Dive

    Thursday, July 16, 2026 in Compute Family

    Use this as a fast expert note. ECS is not just containers on AWS. It is often the practical default for long-running AWS-native services when teams want container flexibility without Kubernetes overhead. 1. Service Identity Field Notes Service name …

    Read more

  • EC2 Service Deep Dive

    Thursday, July 16, 2026 in Compute Family

    Use this as a fast expert note. EC2 is not the default for everything anymore, but it remains the clearest model of AWS compute control and is still the right answer when the workload needs host-level ownership. 1. Service Identity Field Notes …

    Read more

  • Lambda Service Deep Dive

    Thursday, July 16, 2026 in Compute Family

    Use this as a worked example of how to fill the study template. 1. Service Identity Field Notes Service name Lambda Family Compute Primary purpose Run event-driven code without managing servers Abstraction model Function Management model Serverless …

    Read more