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
| Service | Model | Management | Best For | Main Strength | Main Weakness | Typical Architect Choice |
|---|---|---|---|---|---|---|
EC2 | Virtual machine | Managed infrastructure, self-managed OS and app | Maximum control workloads | Full runtime and OS control | Highest ops burden | Choose when you need custom OS, agents, drivers, or legacy patterns |
Auto Scaling | Capacity control for EC2 | Managed scaling layer | Elastic EC2 fleets | Handles variable capacity better than static EC2 | Still requires instance/platform management | Pair with EC2 for scalable VM-based platforms |
Lambda | Function | Serverless | Event-driven and bursty workloads | Minimal ops and very fast elasticity | Runtime, duration, and execution-model limits | Choose for short-lived event-based logic |
ECS | Containers | Managed orchestrator | Containerized apps without Kubernetes complexity | Good balance of control and simplicity | Less portable than Kubernetes-centric platforms | Choose for AWS-native container platforms |
EKS | Kubernetes | Managed control plane | Teams that need Kubernetes features or standardization | Ecosystem compatibility and portability | Highest platform complexity in this family | Choose only when Kubernetes is a real requirement |
Fargate | Serverless container runtime | Serverless for ECS or EKS tasks | Containers without host management | Removes node management | Less host-level control and sometimes higher unit cost | Choose when container simplicity matters more than host tuning |
Elastic Beanstalk | Managed app platform | Managed platform | Simpler traditional web app hosting | Fast path for standard app stacks | Less flexible and less strategic for modern platforms | Use when team wants managed app hosting with basic customization |
App Runner | Managed app runtime | Managed / serverless-like | Simple web services from source or container | Very low operational effort | Limited control compared with ECS or EC2 | Choose for straightforward web apps and APIs |
Batch | Batch scheduler | Managed scheduler over compute | Offline jobs, scheduled processing, queue-based jobs | Strong fit for non-interactive compute | Not meant for serving traffic | Choose for batch pipelines and large job queues |
Quick Decision Guide
| If You Need | Usually Start With |
|---|---|
| Full machine control | EC2 |
| Event-driven code with minimal ops | Lambda |
| Containers with simpler AWS-native operations | ECS with Fargate or EC2 |
| Kubernetes platform | EKS |
| Simple managed web service hosting | App Runner |
| Scheduled or queued jobs | Batch |
Common Scenarios
| Scenario | Usually Good Starting Point | Why |
|---|---|---|
| Startup MVP API | Lambda or App Runner | Fast delivery, low ops |
| Enterprise internal app | ECS or EC2 | Stronger control and integration flexibility |
| Multi-team platform standardizing on Kubernetes | EKS | Shared operating model |
| Legacy application needing OS-level agents | EC2 | Host-level control |
| Bursty background image processing | Lambda or Batch | Elastic execution |
| Long-running microservices | ECS or EKS | Better 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
EC2when the main goal is delivery speed and the team does not want to own patching, AMIs, and host operations. - Do not start with
Lambdafor long-running, heavily stateful, or host-dependent workloads. - Do not start with
EKSunless Kubernetes is a real platform requirement, not just a resume-driven preference. - Do not start with
Fargatewhen 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
Lambdato 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:
EC2LambdaECSEKSFargateApp RunnerBatch
Flagship Service Plan
| Service | Why It Belongs | Link | Status |
|---|---|---|---|
Lambda | Best starting point for event-driven, serverless, and elasticity-first compute decisions | lambda | done |
ECS | Best default for modern AWS-native container platforms without Kubernetes overhead | ecs | done |
EC2 | Still necessary for host-level control, legacy workloads, and understanding the lowest managed compute layer | ec2 | done |
EKS | Include only when Kubernetes becomes a real operating model requirement rather than optional complexity | conditional | conditional |
ECS Service Deep Dive
Thursday, July 16, 2026 in Compute Family
Categories:
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 …
EC2 Service Deep Dive
Thursday, July 16, 2026 in Compute Family
Categories:
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 …
Lambda Service Deep Dive
Thursday, July 16, 2026 in Compute Family
Categories:
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 …