Select a compute model from the unit of work
Compare VMs, functions, containers and orchestrators, then distinguish scaling from traffic distribution.
A function, a task and a fleet
A web API, a short image-transform handler and a licensed driver need compute. Which constraint makes each deployment decision different?
Control of the guest
Choose an instance when the application requires guest OS control, custom drivers or a long-running process. Select the family for the bottleneck, balance traffic across healthy targets and let an Auto Scaling group adjust fleet size.
Event handlers
A function runs in response to an event. Keep state outside the invocation and design for retries. The managed runtime removes the need to provision servers, but the function still needs permissions, configuration and a suitable execution duration.
Managed container compute
Fargate supplies compute for container tasks or pods without requiring the team to operate worker instances. ECS and EKS provide orchestration. Specify the image, resource requirements, networking and task permissions.
Work through the decision
Compare your reasoning
For the handler, consider event-driven Lambda. For an already containerized API, choose ECS or Kubernetes through EKS, then decide who operates the workers. Fargate removes worker host management for supported tasks. Use EC2 for the licensed driver if it needs control of the guest.
Change one constraint
A CPU-bound EC2 fleet keeps failing health checks at peak. Is a load balancer enough?
Check your answer
A load balancer routes requests to healthy instances. Check whether enough healthy capacity exists. Select a compute-optimized family for measured CPU demand or a storage-optimized family for local I/O, and use Auto Scaling to adjust capacity as demand changes.
Revisit the demonstration
The compute tour places functions and container tasks alongside specialized infrastructure. Start from the runtime contract and whether a host must be administered. Compute · 4:20:29.
The instance launch, load balancer and scaling examples have separate jobs. Keep a healthy target, a routing decision and a capacity decision distinct. EC2 · 6:50:19.
Container tooling moves packaged applications between runtimes. Distinguish the image, the orchestrator and the compute that runs a task. Containers · 9:03:03.
Sources and further practice
AWS exam guide for this objective · AWS documentation for this case
Compare the decision in the other cloud. Connect a workload to the right hosting platform (AZ-900).
Select a compute model from the unit of work quiz
Answer 5 questions. Check each answer for an explanation.