AWS
Amazon Web Services (AWS) is a cloud platform for running applications, storing files, and using databases without owning or maintaining the physical servers.
Also known as: Amazon Web Services
What AWS provides
AWS lets teams create infrastructure on demand instead of buying hardware. The services offer different levels of control. Amazon EC2 gives you a virtual machine: you choose the operating system and manage its patches. Amazon RDS handles much of the infrastructure work for a relational database, while you still manage your schema, queries, and application access. Amazon S3 stores objects such as images and backups, and AWS Lambda runs code in response to requests or events without requiring you to manage a fleet of servers.
How resources are organized
Most workloads run in an AWS Region, a geographic area that contains multiple Availability Zones (AZs). Each AZ consists of one or more data centers and is designed to be isolated from failures in other zones. Running in two zones can keep an application online during a zonal outage, provided the surviving zone can handle the traffic and the application's dependencies can also tolerate the failure.
A Virtual Private Cloud (VPC) gives you an isolated network where you can define subnets and traffic rules. AWS Identity and Access Management (IAM) controls who or what can perform actions on AWS resources. Engineers can create resources through the console, CLI, or API. For repeatable environments, teams often use infrastructure as code so changes to networks, permissions, and compute resources can be reviewed before deployment.
Example: a photo upload API
An Application Load Balancer accepts HTTPS requests and routes them to healthy EC2 instances across two Availability Zones. The instances run the API and store image files in S3. An IAM role gives the API permission to write to the relevant bucket rather than relying on credentials embedded in the app. The API stores photo metadata in an RDS database. If that database runs in only one zone, it remains a single point of failure even though the API itself spans two zones.
Common pitfalls
- Assuming managed means fully handled. AWS operates the underlying infrastructure, but you still control who can read your data and how the application uses it. The exact split depends on the service.
- Budgeting for compute alone. Storage, requests, and data transfer can all contribute to the bill. Stopping an EC2 instance, for example, does not stop charges for its retained EBS volumes.
How it comes up in interviews
Expect to explain trade-offs rather than recite service names. If you propose a design that spans two zones, walk through what happens when one zone goes down. If you choose Lambda over EC2, explain how invocation frequency, execution time, and the need for OS control affect the choice.