AWS – Main Resources

Short overview of six core AWS services: what they do, and their main bottlenecks and restrictions to keep in mind when designing systems.

Lambda

What it is: Serverless functions. You upload code; AWS runs it in response to events or HTTP requests. You pay per invocation and compute time. No servers to manage.

Bottlenecks & restrictions:

SQS (Simple Queue Service)

What it is: Managed message queue. Producers send messages; consumers poll or get messages. Decouples components and smooths load. Standard (at-least-once, best-effort ordering) and FIFO (exactly-once, ordered per group).

Bottlenecks & restrictions:

DynamoDB

What it is: Managed NoSQL key-value and document database. Single-digit ms latency, automatic scaling. You define partition key (and optional sort key); data is distributed by partition key.

Bottlenecks & restrictions:

API Gateway

What it is: Managed API layer. You create REST or WebSocket APIs that integrate with Lambda, HTTP endpoints, or other AWS services. Handles auth, throttling, and request/response mapping.

Bottlenecks & restrictions:

EventBridge

What it is: Serverless event bus. Producers publish events; rules route them to targets (Lambda, SQS, SNS, Step Functions, etc.). Used for decoupling, event-driven workflows, and SaaS integrations.

Bottlenecks & restrictions:

CloudWatch

What it is: Monitoring and observability: metrics, logs, alarms, dashboards. Lambda, API Gateway, and many other services send metrics and logs to CloudWatch by default.

Bottlenecks & restrictions:

Summary

Lambda: cold starts and 15 min timeout. SQS: 256 KB messages and visibility/throughput limits. DynamoDB: 400 KB items and partition throughput. API Gateway: 10 MB payload and 29 s timeout. EventBridge: 256 KB events and targets per rule. CloudWatch: retention, log size, and metric/alarm limits. Design with these in mind to avoid throttling and cost surprises.

← Back to concepts