☁️ Cloud

AWS

Amazon Web Services

The world's number one cloud service. Offers 200+ services including EC2, S3, and Lambda. Launched in 2006.

📖 Detailed Explanation

AWS (Amazon Web Services) is the world's largest cloud computing platform, provided by Amazon. It offers more than 200 services, including compute (EC2), storage (S3), databases (RDS, DynamoDB), networking (VPC), machine learning (SageMaker, Bedrock), and serverless (Lambda), across 34 Regions and more than 100 Availability Zones worldwide.

It pioneered the cloud computing industry, starting in 2006 with S3 (Simple Storage Service) and EC2 (Elastic Compute Cloud). It popularized the IaC (Infrastructure as Code) culture of handling "infrastructure like code," and changed the IT operations paradigm from the era of purchasing on-premises servers directly to a model in which resources are used immediately when needed and paid for only as much as is used.

Through the "Well-Architected Framework," AWS established best practices for cloud architecture around six pillars: operational excellence, security, reliability, performance efficiency, cost optimization, and sustainability. Its strengths are its global infrastructure, broad service portfolio, and active partner/community ecosystem.

In practice, AWS is the most widely adopted cloud, from startups to enterprises. As of 2024, it ranks first with a global cloud market share of about 31%, and AWS certifications (SAA, SAP, DVA, etc.) are regarded as essential competencies for cloud engineers. Every year at the re:Invent conference, it announces many new services and features.

💻 Code Example

# AWS CLI 설치 확인
aws --version

# 현재 계정 정보 확인
aws sts get-caller-identity

# S3 버킷 목록 조회
aws s3 ls

# EC2 인스턴스 목록 조회
aws ec2 describe-instances \
  --query 'Reservations[*].Instances[*].[InstanceId,State.Name,InstanceType]' \
  --output table

# 특정 리전의 리소스 조회
aws ec2 describe-vpcs --region ap-northeast-2

# IAM 사용자 목록
aws iam list-users --query 'Users[*].[UserName,CreateDate]' --output table

# CloudWatch 로그 그룹 목록
aws logs describe-log-groups --query 'logGroups[*].logGroupName'

# 비용 조회 (최근 30일)
aws ce get-cost-and-usage \
  --time-period Start=$(date -d '30 days ago' +%Y-%m-%d),End=$(date +%Y-%m-%d) \
  --granularity MONTHLY \
  --metrics "UnblendedCost" \
  --group-by Type=DIMENSION,Key=SERVICE

# 모든 리전에서 EC2 인스턴스 찾기
for region in $(aws ec2 describe-regions --query 'Regions[*].RegionName' --output text); do
  echo "=== $region ==="
  aws ec2 describe-instances --region $region --query 'Reservations[*].Instances[*].InstanceId' --output text
done

🗣️ Say It Like This in Practice

💬 In a Cloud Adoption Meeting
"If we move to AWS, we can start without any upfront investment cost, and it scales automatically as traffic grows. If we get a Well-Architected Review, the architecture review is also done for free, and if we're a startup, we can get credits through the Activate program."
💬 In an Interview
"We operated our service on AWS for 3 years. We built the entire architecture, from VPC design to ECS Fargate-based container deployment, RDS Multi-AZ, and CloudFront CDN, and managed the development/staging/production environments consistently by codifying them as IaC with Terraform. We kept costs at around $5,000 per month while reducing them by 30% with Reserved Instances and Savings Plans."
💬 In a Cost Review
"This month's AWS cost increased by 20%, and looking at Cost Explorer, the NAT Gateway traffic cost has surged. If we set up an S3 Gateway Endpoint, S3 traffic won't go through the NAT, so we can reduce costs significantly. And let's have the development environment EC2 instances shut down automatically at night with Instance Scheduler."

Take a mock interview on this topic → WIA SOOM AI Interview · Start for free

⚠️ Common Mistakes & Cautions

❌
Using the Root Account Daily

You should not use the AWS root account (the account you log in to with an email address) for day-to-day work. Set up MFA on the root account, and work with least privilege through IAM users or AWS SSO. Use the root account only for special cases such as billing settings or account closure.

❌
Hardcoding Access Keys in Code

If you put an AWS Access Key directly into source code, it will be pushed to GitHub and hacked within minutes. Use environment variables, IAM Roles (EC2/ECS/Lambda), or Secrets Manager. Use git-secrets or pre-commit hooks to prevent accidental commits.

✅
Correct AWS Security Basics

Require MFA for all IAM users, log API calls with CloudTrail, and enable threat detection with GuardDuty. Set up Billing Alarms to detect unexpected cost spikes, and configure a multi-account structure with AWS Organizations to make both security and cost management easier.

🔗 Related Terms

📚 Learn More