AWS for DevOps — Frequently Asked Questions

7 minute read

General Questions

Q: Do I need prior AWS experience for this tutorial?

A: No. This tutorial starts from the basics and builds up to advanced topics. You should be comfortable with the Linux command line and have basic understanding of networking concepts (IP addresses, ports, HTTP).


Q: How much does it cost to follow along with this tutorial?

A: Most exercises use AWS Free Tier services. Some services like NAT Gateways and ALBs have small hourly charges. Budget approximately $5-20 if you follow all practice projects and clean up resources promptly after each exercise.

Tip: Set up a Billing Alarm (covered in Chapter 13) before starting any hands-on work.


Q: Which AWS region should I use?

A: Use us-east-1 (N. Virginia) for learning. It has the widest service availability and most Free Tier resources. Once you’re comfortable, practice deploying to other regions.


Q: AWS CLI or Console — which should I learn first?

A: Both. This tutorial uses the AWS CLI because it’s repeatable, scriptable, and closer to real-world DevOps work. But use the Console to visualize what the CLI creates — it helps build mental models.

Approach Best For
Console Learning, exploring, debugging
CLI Automation, scripting, daily work
IaC (CloudFormation) Production infrastructure

Career Questions

Q: What salary can I expect as an AWS DevOps Engineer?

A: Salaries vary by location and experience:

Level US (Annual) Remote (Annual)
Junior (0-2 years) $70,000-100,000 $50,000-80,000
Mid (2-5 years) $100,000-140,000 $80,000-120,000
Senior (5+ years) $140,000-200,000+ $120,000-170,000+
Principal/Staff $180,000-300,000+ $150,000-250,000+

Note: These are approximate ranges. Certifications, specific skills (Kubernetes, Terraform), and company size significantly affect compensation.


Q: Which certification should I get first?

A: Follow this path:

1. AWS Solutions Architect Associate (SAA-C03)  ← Broadest coverage
2. AWS DevOps Engineer Professional (DOP-C02)   ← Your specialty
3. AWS Security Specialty (optional)             ← If security-focused

See the Certification Path for detailed guidance.


Q: Is AWS certification worth it?

A: Yes, for most career situations:

Situation Worth It? Why
Job hunting ✅ Yes Gets past resume filters
Asking for a raise ✅ Yes Demonstrates commitment to learning
Already senior ⚠️ Maybe Experience matters more at senior levels
Freelancing ✅ Yes Builds client confidence
Just starting out ✅ Yes Structured learning path

Q: AWS vs Azure vs GCP — which should I learn?

A: Learn AWS first — it has the largest market share (~32%) and the most job listings. The concepts transfer across clouds.

Cloud Market Share Job Listings Best For
AWS ~32% Most General cloud / startups
Azure ~23% Growing fast Enterprise / Microsoft shops
GCP ~11% Fewer but high-paying Data/ML, Kubernetes

Technical Questions

Q: CloudFormation vs Terraform — which should I use?

A:

Factor CloudFormation Terraform
Multi-cloud AWS only Multi-cloud
Language YAML/JSON HCL
State management AWS handles it You manage state
AWS integration Deep, native Good, sometimes delayed
Community modules Limited Extensive (Registry)
Cost Free Free (HCP paid)
Best for AWS-only shops Multi-cloud, flexibility

Recommendation: Learn CloudFormation first (it’s in this tutorial), then Terraform. Many companies use Terraform, so knowing both is valuable.


Q: ECS vs EKS — when should I use each?

A:

Factor ECS (Fargate) EKS
Complexity Simpler More complex
Kubernetes knowledge Not needed Required
Portability AWS lock-in Run anywhere
Cost (small workloads) Lower Higher (control plane: $73/mo)
Community ecosystem Smaller Huge (CNCF)
Best for AWS-native, small teams Multi-cloud, large teams

Rule of thumb: Start with ECS Fargate. Move to EKS when you need Kubernetes-specific features or multi-cloud portability.


Q: When should I use Lambda vs EC2 vs Fargate?

A:

Criteria Lambda Fargate EC2
Request duration <15 min Any Any
Startup time tolerance <10 sec OK 30-60 sec OK Minutes OK
Predictable traffic ❌ ✅ ✅
Bursty traffic ✅ ⚠️ ❌
Cost at low traffic 💰 Cheapest 💰💰 💰💰💰
Cost at high traffic 💰💰💰 💰💰 💰 Cheapest
Server management None None You manage

Q: How do I handle secrets in my applications?

A: Use AWS Secrets Manager for database credentials and API keys. Use Parameter Store for configuration values.

Secret Type Service Why
DB passwords Secrets Manager Auto-rotation support
API keys Secrets Manager Encrypted, audited access
Config values Parameter Store (free) Simple, free for standard parameters
Encryption keys KMS Hardware-backed key management

Never store secrets in:

  • Source code
  • Environment variables in task definitions (visible in console)
  • S3 without encryption
  • CloudFormation parameters without NoEcho

Q: How do I estimate my AWS bill?

A: Use the AWS Pricing Calculator (calculator.aws) to estimate costs before deploying. Key cost drivers:

Service What You Pay For Surprise Cost Trap
EC2 Per-hour (running) Forgotten instances left running
NAT Gateway Per-hour + per-GB $32/month minimum even when idle
ALB Per-hour + LCU $16/month minimum
RDS Per-hour + storage Multi-AZ doubles the cost
Data Transfer Per-GB outbound Can be the biggest surprise
CloudWatch Per-metric, per-query Custom metrics add up

Troubleshooting Questions

Q: I’m getting “Access Denied” errors — how do I debug?

A: Follow this checklist:

1. Check who you are:
   $ aws sts get-caller-identity

2. Check IAM policy:
   - Use IAM Policy Simulator
   - Check for explicit Deny statements
   - Verify the resource ARN matches

3. Check for SCPs (if using Organizations):
   - SCPs can deny even if IAM allows

4. Check resource-based policies:
   - S3 bucket policy, KMS key policy, etc.

5. Check service-linked conditions:
   - VPC endpoints may restrict access
   - Region restrictions

Q: My EC2 instance can’t access the internet — what’s wrong?

A: Walk through this checklist:

Check How Fix
Subnet has route to IGW/NAT Check route table Add 0.0.0.0/0 route
Security group allows outbound Check outbound rules Add All Traffic outbound
NACL allows traffic Check both inbound AND outbound Add allow rules
Public IP assigned (public subnet) Check instance details Enable auto-assign public IP
NAT Gateway exists (private subnet) Check NAT in public subnet Create NAT Gateway
IGW attached to VPC Check VPC details Attach Internet Gateway

Q: My CloudFormation stack is stuck in CREATE_IN_PROGRESS — what do I do?

A:

# Check stack events for details
$ aws cloudformation describe-stack-events \
    --stack-name my-stack \
    --query 'StackEvents[?ResourceStatus==`CREATE_FAILED`].{Resource:LogicalResourceId,Reason:ResourceStatusReason}'

# Common causes:
# - Resource limit exceeded
# - IAM permissions missing
# - Dependent resource not ready
# - Invalid parameter value

# If stuck for >30 minutes, cancel:
$ aws cloudformation cancel-update-stack --stack-name my-stack

Q: How do I keep my AWS account secure?

A: Follow these minimum security practices:

Priority Action How
1 Enable MFA on root Console → IAM → Root → MFA
2 Don’t use root for daily work Create IAM users/roles
3 Enable CloudTrail All regions, all events
4 Set billing alarm CloudWatch → $10 threshold
5 Enable GuardDuty One click in console
6 Review IAM Access Advisor Remove unused permissions monthly

Tutorial-Specific Questions

Q: I found an error in the tutorial — how do I report it?

A: We appreciate error reports! You can:

  • Leave a comment on the specific page
  • Open an issue on the blog’s GitHub repository
  • Send an email to the address in the About page

Q: Can I use this tutorial content for training at my company?

A: This tutorial is freely available for personal and educational use. For commercial training use, please contact us through the About page.


Q: What’s the best way to go through this tutorial?

A: Follow this approach:

Step Action Time
1 Read the chapter hub page 5 min
2 Read each sub-topic 15-20 min each
3 Run the CLI commands yourself 30-60 min
4 Complete the exercises 30-60 min
5 Clean up resources 10 min
6 Move to next chapter —

Don’t skip the exercises — they’re where real learning happens.


🎉 Congratulations!

You’ve completed the AWS for DevOps tutorial — all 16 chapters covering everything from IAM basics to production-grade practice projects.

What You’ve Accomplished

✅ Understand AWS core services for DevOps
✅ Can build production VPCs from scratch
✅ Know how to set up CI/CD pipelines
✅ Can deploy containers with ECS/Fargate
✅ Understand Infrastructure as Code
✅ Can build serverless applications
✅ Know how to monitor and alert
✅ Can manage secrets and configuration
✅ Understand security best practices
✅ Can optimize AWS costs
✅ Completed 5 real-world projects
✅ Have a clear learning path forward

Your Next Steps

  1. Complete the Practice Projects if you haven’t already
  2. Start your certification journey with SAA-C03
  3. Join the AWS community — attend a meetup this month
  4. Build something real — the best learning is applied learning

Remember: Every AWS expert started exactly where you are now. The difference between a beginner and an expert is simply persistence and practice. Keep building, keep learning, and keep shipping.

Happy cloud engineering! ☁️

Updated: