AWS guides
Short, practical answers to the questions developers search for most, each linked to the lessons that explain the details.
Which one should I use?
Side-by-side comparisons of AWS services that look alike.
- Amazon Bedrock vs SageMaker AI: Which Should You Use?Use Bedrock to call ready-made foundation models through an API, and SageMaker AI to build, train, and host your own models.
- API Gateway vs ALB vs Lambda Function URLsFunction URLs are the simplest, API Gateway is the most feature-rich, and an ALB fits best alongside containers and servers.
- CloudFormation vs CDK vs Terraform: Which IaC Tool?CloudFormation is AWS's native engine, CDK writes CloudFormation in real code, and Terraform is a multi-cloud alternative.
- DynamoDB vs RDS: Which AWS Database Should You Use?Choose RDS or Aurora for relational data and flexible SQL queries, and DynamoDB for known access patterns at massive scale.
- Lambda vs Fargate vs EC2: How to Choose AWS ComputeUse Lambda for short event-driven tasks, Fargate for containers without servers, and EC2 when you need full control.
- SQS vs SNS vs EventBridge: Which One Should You Use?SQS queues work for one consumer, SNS broadcasts to many subscribers, and EventBridge routes events by their content.
Fix common errors
Step-by-step checklists for the errors everyone hits.
- Bedrock AccessDeniedException: How to Fix Model Access ErrorsBedrock access errors usually mean the model isn't enabled for your account, IAM lacks bedrock:InvokeModel, or the model needs an inference profile.
- DynamoDB Throttling (ProvisionedThroughputExceededException): FixesDynamoDB throttles when requests exceed table capacity or pile onto one hot partition key. Spread keys, adjust capacity, and retry with backoff.
- How to Fix CORS Errors with API GatewayYour API must return CORS headers on every response, including OPTIONS preflights and errors, for browsers to accept it.
- Lambda "Task timed out": Causes and FixesUsually the default 3-second timeout is too low, or a function in a VPC can't reach the internet or AWS APIs.
- RDS "Too Many Connections" with Lambda: How to Fix ItEach concurrent Lambda environment opens its own database connection, so traffic spikes exhaust the limit. RDS Proxy is the main fix.
- S3 403 Access Denied: A Step-by-Step ChecklistMost S3 403 errors come from a missing permission, a wrong resource ARN, an explicit deny, or a KMS key you can't use.