ComparEdge Blog
Home Playbooks ComparEdge → Compare Pricing
λ execute AWS POWER USER PLAYBOOK
Playbook

The AWS Power User Playbook

By ComparEdge Research· April 8, 2026· 22 min read·
Updated April 24, 2026

📋 Contents

  1. Getting Started: First Account Setup
  2. Core Services: EC2, S3, Lambda, RDS
  3. Cost Optimization
  4. Security Best Practices
  5. Serverless Architecture
  6. vs Google Cloud vs Azure
  7. Pricing Traps to Avoid
  8. FAQ

AWS has over 200 services. The good news: most real-world applications use 5-10 of them. The overwhelming feeling you get navigating the AWS console for the first time is normal — the console is genuinely poorly organized, the naming is cryptic, and the pricing documentation is a maze. This guide cuts through to what actually matters for the majority of use cases, from a solo developer deploying their first app to an engineering team scaling a production system.

Getting Started: First Account Setup

Don't just sign up and start clicking. The first 30 minutes you spend on account configuration will save you from expensive surprises and security incidents.

The 5-Minute Security Checklist Before Anything Else

1. ENABLE MFA ON ROOT ACCOUNT (mandatory)
   → AWS Console → Your account → Security credentials
   → Never use root credentials for day-to-day work
   → Use root ONLY for account-level tasks (billing, closing account)

2. CREATE AN IAM USER for your work
   → Attach policies: AdministratorAccess (for now, tighten later)
   → Generate access keys ONLY if programmatic access is needed
   → Never store access keys in code or commit to git

3. SET UP AWS BUDGETS (do this before anything else)
   → Billing → Budgets → Create budget
   → Set alerts at $10, $50, $100/month
   → Email alert to your billing email
   → This is the single most important "no surprises" step

4. ENABLE CLOUDTRAIL
   → Creates an audit log of all API calls
   → Free tier: 90 days of management event history
   → Critical for debugging "who deleted that resource" incidents

5. CHECK DEFAULT VPC SETTINGS
   → EC2 → Security Groups → Default security group
   → Ensure inbound rules don't allow 0.0.0.0/0 on all ports
⚠️ Root account horror stories are real: Exposed root credentials have led to $50,000+ surprise AWS bills from cryptomining within hours. MFA on root + Budget Alerts are non-negotiable first steps. AWS will negotiate some fraudulent charges but not all.

Core Services: EC2, S3, Lambda, RDS

These four services handle 80% of what most applications need. Understanding their strengths and limitations is foundational.

EC2: Virtual Machines in the Cloud

EC2 is AWS's virtual machine service. You choose the instance type (CPU/RAM), operating system, and storage. Pay by the hour (or second for Linux).

Instance type quick guide:

💡 Sizing advice: Start smaller than you think you need. EC2 is easy to resize. The temptation to "get a big instance to be safe" doubles or triples your bill unnecessarily. Start with t3.medium for most web apps, monitor CPU/memory for 2 weeks, then right-size.

S3: Object Storage

S3 is one of AWS's most reliable and most misunderstood services. It's not a filesystem — it's an object store. Objects are stored with unique keys; there's no real directory structure (the "/" in key names is cosmetic).

KEY S3 CONCEPTS:
Bucket: Container for objects (one bucket per project/environment is common)
Object: File + metadata, identified by key
Prefix: Simulated "folder" using "/" in key names
Storage class: Standard, Intelligent-Tiering, Glacier, etc.

CRITICAL BUCKET SETTINGS:
✓ Block all public access (unless you're hosting a static website)
✓ Enable versioning for important buckets (recovers deleted objects)
✓ Enable server-side encryption (SSE-S3 or SSE-KMS)
✓ Set lifecycle policies to move old objects to cheaper storage
✓ Enable access logging for security auditing

S3 STORAGE CLASSES (when to use each):
Standard: $0.023/GB — active, frequently accessed data
Intelligent-Tiering: ~$0.023/GB — automatic tier shifting, good for unpredictable access
Standard-IA: $0.0125/GB — accessed monthly, retrieval fee applies
Glacier Instant: $0.004/GB — accessed quarterly
Glacier Deep Archive: $0.00099/GB — rarely accessed, 12-48hr retrieval

Lambda: Serverless Functions

Lambda runs code without managing servers. You write a function, deploy it, and AWS handles scaling, availability, and infrastructure. You pay only when code runs — idle functions cost nothing.

LAMBDA LIMITS TO KNOW:
Max execution time: 15 minutes per invocation
Max memory: 10GB
Max package size: 50MB (250MB unzipped)
Concurrency: 1,000 concurrent executions by default (can be increased)

WHEN LAMBDA WINS:
- Event-driven tasks (S3 file processing, DynamoDB streams)
- API backends with variable traffic
- Scheduled jobs (replace cron servers)
- Webhooks and real-time data processing
- Tasks that run infrequently (cold start is acceptable)

WHEN LAMBDA LOSES:
- Long-running processes (over 15 min)
- Very latency-sensitive requests (cold starts add 100ms-1s)
- Workloads requiring persistent connections (WebSockets, streaming)
- GPU workloads

RDS: Managed Relational Databases

RDS manages PostgreSQL, MySQL, MariaDB, Oracle, SQL Server, and Amazon Aurora. AWS handles backups, patches, failover, and replication. You pay more than self-managed but save significant operational overhead.

Aurora specifically deserves attention: it's AWS's MySQL/PostgreSQL-compatible database with up to 3x MySQL performance and built-in clustering. For new projects choosing between RDS PostgreSQL and Aurora PostgreSQL, Aurora wins for production workloads — the performance and HA advantages outweigh the slightly higher cost.

Cost Optimization

AWS cost optimization is a discipline. Left unmanaged, AWS bills grow continuously as teams add resources and forget to clean up. Here are the highest-leverage optimizations:

Savings Plans and Reserved Instances

OptionCommitmentDiscountFlexibility
On-DemandNone0%Maximum — no commitment
Compute Savings Plan1 or 3 year spend commitmentUp to 66%Applies to any EC2, Lambda, Fargate
EC2 Instance Savings Plan1 or 3 year, specific instance familyUp to 72%Same instance family, any size, any AZ
Reserved Instances (EC2)1 or 3 year, specific instanceUp to 75%Least flexible — specific instance type and region
Spot InstancesNone (can be interrupted)Up to 90%High — but workload must tolerate interruption

The practical strategy: run Spot Instances for batch workloads and dev/test environments. Use Compute Savings Plans for baseline production load you know will exist. Use On-Demand for the variable portion. Never over-reserve — Savings Plans are more flexible than Reserved Instances and usually the right choice for most teams.

The Quick-Win Cost Cuts

Security Best Practices

IAM: Least Privilege Is Not Optional

GOLDEN RULES FOR IAM:
1. No root credentials for applications or scripts
2. Each service/application gets its own IAM role with minimal permissions
3. Use IAM roles for EC2 instances (not access keys stored on the instance)
4. Rotate access keys every 90 days (or better, eliminate them via roles)
5. Use AWS Organizations + Service Control Policies for multi-account setups
6. Enable AWS Config to detect IAM policy drift

PERMISSION BOUNDARY PATTERN:
Application needs to read from S3 bucket "my-app-data":
→ Create IAM policy: Allow s3:GetObject on arn:aws:s3:::my-app-data/*
→ Attach to IAM role (not user)
→ Assign role to EC2 instance profile or Lambda execution role
→ Application code uses the role automatically — no keys needed

Network Security

Serverless Architecture

Serverless on AWS isn't just Lambda — it's a pattern. The full serverless stack for a typical web API:

SERVERLESS API PATTERN:
Client → API Gateway → Lambda → DynamoDB

Benefits:
- Zero servers to manage
- Automatic scaling (Lambda scales to thousands of concurrent requests)
- Pay only for actual usage ($0 when idle)
- No patching, no capacity planning

REAL COST EXAMPLE (medium traffic API, 1M requests/month):
API Gateway: 1M × $3.50/million = $3.50
Lambda: 1M invocations × 200ms × 512MB = ~$0.83
DynamoDB (on-demand): depends on read/write volume, ~$5-20
Total: ~$10-25/month vs $50-150+/month for equivalent EC2 setup

WHEN SERVERLESS FALLS SHORT:
- Latency requirements under 50ms (cold starts)
- Long-running processes (ETL jobs, video processing)
- Stateful connections (use ECS/EC2 instead)
- Complex in-process caching needs

AWS SAM and CDK: Infrastructure as Code

If you're doing anything beyond a single Lambda function, use Infrastructure as Code (IaC). Two options:

IaC isn't optional for production — it's the difference between reproducible deployments and "I don't remember why I changed that setting six months ago."

vs Google Cloud vs Azure

DimensionAWSGoogle CloudAzure
Service breadth⭐⭐⭐⭐⭐ Most services⭐⭐⭐⭐ Strong⭐⭐⭐⭐ Strong
ML/AI services⭐⭐⭐⭐ SageMaker, Bedrock⭐⭐⭐⭐⭐ Vertex AI, TPUs⭐⭐⭐⭐ Azure OpenAI
Data/Analytics⭐⭐⭐⭐ Redshift, Athena⭐⭐⭐⭐⭐ BigQuery is best⭐⭐⭐⭐ Synapse
Microsoft integration⭐⭐⭐⭐⭐⭐⭐⭐⭐ Native AD, Office 365
Sustained use discountsRequires reservationsAutomatic after 25%+ month useRequires reservations
Global infrastructure⭐⭐⭐⭐⭐ Most regions⭐⭐⭐⭐ Strong⭐⭐⭐⭐ Strong
Talent pool⭐⭐⭐⭐⭐ Largest⭐⭐⭐⭐⭐⭐⭐
Startup creditsAWS Activate: up to $100KGoogle for Startups: up to $200KAzure for Startups: up to $150K

Pricing Traps to Avoid

These are the charges that surprise people most often:

🎯 Key Takeaway

AWS's power comes from its service breadth and reliability. The learning curve is real but manageable if you start with five core services (EC2, S3, Lambda, RDS, IAM) and only expand as you need to. Cost and security are not optional concerns — set up Budget Alerts on day one, enable MFA on root, and use IAM roles instead of access keys. The serverless pattern (API Gateway + Lambda + DynamoDB) delivers remarkable economics for most API workloads and eliminates server management entirely.

Frequently Asked Questions

What are the biggest AWS pricing traps to avoid?
The most expensive AWS surprises: data transfer OUT costs ($0.09/GB — a 1TB egress costs $90), NAT Gateway charges ($0.045/hr plus $0.045/GB), EC2 instances left running in dev environments, S3 request fees on high-frequency patterns, and CloudWatch detailed monitoring on many instances. Set Budget Alerts at $50 and $100 before your first month — this is non-negotiable.
When should I use Lambda vs EC2?
Use Lambda for event-driven workloads, sporadic tasks, and anything running under 15 minutes. Lambda bills per invocation (first 1M free), scales automatically, and requires zero server management. Use EC2 for always-on applications, workloads needing specific hardware, persistent processes, or full OS access. The cost crossover is roughly 1M-5M invocations per month — above that, reserved EC2 becomes cheaper.
Is AWS more expensive than Google Cloud or Azure?
AWS compute is typically 5-15% more expensive than equivalent GCP and Azure instances. However, AWS's breadth, ecosystem maturity, and talent availability often justify the premium. GCP has strong advantages for data workloads (BigQuery) and automatic sustained use discounts. Azure wins on Microsoft integration. For most startups, talent availability and ecosystem richness matter more than the per-instance price difference.
What is the AWS Free Tier and what are its gotchas?
AWS Free Tier provides 12 months of free access to core services: 750 hours/month t2.micro EC2, 5GB S3, 25GB DynamoDB, 1M Lambda invocations. Gotchas: Free Tier only applies to specific resource types (t2.micro, not t3.small), combining resources can exceed limits, data transfer costs aren't covered, and after 12 months everything charges at normal rates. Set Budget Alerts before you start — it's the most important first step.
View AWS on ComparEdge →

Get the Weekly Cloud Cost & Architecture Update

AWS pricing changes, new services, and architecture tips for builders.