Skip to Content
Asterrr's Handbook
Service cheat sheets

Compute and containers

Lambda limits, ECS and EKS choices, Fargate, Beanstalk deployment policies and Batch with the numbers the exam asks about.

less to runEC2 and AutoScalingEKSECSFargateLambda
Pick the platform by how much of the stack you want to manage. Moving right hands more operations to AWS.

Lambda

FactValue
Timeout15 minutes
Memory128 MB to 10,240 MB. CPU scales with memory
Synchronous payload6 MB request and 6 MB response
Asynchronous payload1 MB
Ephemeral storage512 MB by default, up to 10,240 MB in /tmp
Package250 MB unzipped as a zip, or a 10 GB container image
Concurrency1,000 per Region by default. Reserved caps and guarantees, provisioned removes cold starts
In a VPCNeeds a NAT gateway for internet and endpoints for AWS services

Containers

TopicFact
ECS launch typesEC2 for control of hosts, Fargate for no servers to manage
ECS network modesawsvpc gives each task an ENI and security group. bridge, host and none are the others
EKSManaged Kubernetes control plane. Nodes as managed node groups, self-managed, or Fargate profiles
Choose EKS whenKubernetes tooling or portability is a stated requirement
Choose ECS whenAn AWS-native container service is enough
Task and service rolesTask role for the app's AWS calls. Execution role to pull images and write logs

Elastic Beanstalk deployment policies

PolicyCapacity during deployRollback
All at onceDrops, brief outageRedeploy
RollingReduced by a batchRedeploy
Rolling with additional batchFullRedeploy
ImmutableFull, new instances in a new groupTerminate the new group
Traffic splittingFull, canary share of trafficReroute
Blue/greenFull, separate environmentSwap URLs back

Beanstalk blue/green

Blue/green is not a built-in policy. You clone the environment and swap CNAMEs. A database inside the environment is lost with it, so keep the database outside.

On this page