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.
Lambda
| Fact | Value |
|---|---|
| Timeout | 15 minutes |
| Memory | 128 MB to 10,240 MB. CPU scales with memory |
| Synchronous payload | 6 MB request and 6 MB response |
| Asynchronous payload | 1 MB |
| Ephemeral storage | 512 MB by default, up to 10,240 MB in /tmp |
| Package | 250 MB unzipped as a zip, or a 10 GB container image |
| Concurrency | 1,000 per Region by default. Reserved caps and guarantees, provisioned removes cold starts |
| In a VPC | Needs a NAT gateway for internet and endpoints for AWS services |
Containers
| Topic | Fact |
|---|---|
| ECS launch types | EC2 for control of hosts, Fargate for no servers to manage |
| ECS network modes | awsvpc gives each task an ENI and security group. bridge, host and none are the others |
| EKS | Managed Kubernetes control plane. Nodes as managed node groups, self-managed, or Fargate profiles |
| Choose EKS when | Kubernetes tooling or portability is a stated requirement |
| Choose ECS when | An AWS-native container service is enough |
| Task and service roles | Task role for the app's AWS calls. Execution role to pull images and write logs |
Elastic Beanstalk deployment policies
| Policy | Capacity during deploy | Rollback |
|---|---|---|
| All at once | Drops, brief outage | Redeploy |
| Rolling | Reduced by a batch | Redeploy |
| Rolling with additional batch | Full | Redeploy |
| Immutable | Full, new instances in a new group | Terminate the new group |
| Traffic splitting | Full, canary share of traffic | Reroute |
| Blue/green | Full, separate environment | Swap 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.
Related
- Compute and containers: the decision tree and Lambda in depth.
- Deployment strategies: CodeDeploy and CloudFormation.
- Hybrid and edge compute: the same services on Outposts.
Identity, governance and encryption
Organizations, SCPs and RCPs, IAM, Identity Center, KMS, Directory Service and logging with the facts the exam asks about.
Databases, caching and storage
DynamoDB capacity math, ElastiCache engines, Aurora and RDS, S3 limits and Storage Gateway types with the numbers the exam asks about.