Skip to main content

Introduction to AWS

A beginner introduction to AWS: how AWS works (accounts, regions, APIs), then IAM, EC2, S3, VPC, RDS, load balancing, Lambda and cost control.

Amazon Web Services (AWS) rents you computers, storage, databases and networks by the second or by the request, in data centers around the world. You do not buy hardware. You call an API, and a few seconds later you have a server, a bucket for files or a managed database.

AWS has more than 200 services, and the console can feel like a shop where every shelf looks important. This introduction to AWS starts with how AWS works, then teaches the dozen or so services that almost every application uses. You build one small web application step by step, so each service has a clear job.

How AWS Works

Four ideas explain most of what you see in AWS.

1. Everything is an API call. The web console, the aws command line tool, the SDKs in your code, and tools such as Terraform and CloudFormation all call the same AWS APIs. Each request is signed with credentials (public content such as a public S3 object is the exception), IAM checks whether the caller may do it, and CloudTrail keeps a record of management calls such as creating or deleting resources. Anything you can click in the console, you can also script.

2. Resources live in Regions and Availability Zones. A Region is a geographic area, such as us-east-1 (US East, N. Virginia) or eu-west-1 (Europe, Ireland). Each Region contains several Availability Zones (AZs): one or more data centers with their own power and networking, many kilometers apart but close enough (within about 100 km) for fast private links between them. Most resources belong to one Region, and many (a server, a database, a subnet) belong to one AZ. If you spread your application across two or more AZs, it survives the loss of one data center.

3. Your account is the boundary. An AWS account holds your resources and receives the bill. IAM users, roles and policies decide who can do what inside it. A few services are global (IAM, Route 53, CloudFront), but most are regional, which is why a resource "disappears" when the console is set to another Region.

4. You pay for what you use. Prices are per second, per hour, per GB stored, per request or per GB transferred out. Nothing costs money until you create it, and most things keep costing money until you delete them. Part 10 shows how to keep this predictable.

AWS also follows a shared responsibility model: AWS secures the data centers, hardware and the software that runs its services; you secure what you put on top, such as your IAM permissions, the operating system on your servers, your security group rules and your data.

What You'll Build

Across the ten parts you build the infrastructure for a small photo-sharing web application, and grow it from one server to a load-balanced, self-healing setup across two Availability Zones:

The application itself stays minimal (a static page and a small function), so the focus stays on the AWS services. Each part explains why the service exists, what it replaces in traditional hosting, the commands or console steps to set it up, and what it costs.

The Learning Path

  1. Getting Started with Your AWS Account: create the account, pick the free or paid plan, protect the root user, set a budget, and install the AWS CLI.
  2. IAM: Users, Roles and Policies: sign in without long-lived access keys, read and write policies, and give servers roles instead of passwords.
  3. EC2: Launch Your First Virtual Server: choose an instance type and AMI, launch a web server, connect to it and understand the public IPv4 charge.
  4. S3: Cloud Object Storage: buckets and objects, the secure defaults, storage classes, lifecycle rules and presigned URLs.
  5. VPC: Build Your Private Network: subnets, route tables, internet and NAT gateways, security groups and VPC endpoints.
  6. RDS: Managed Databases: run PostgreSQL or MySQL with backups, patching and Multi-AZ failover handled for you.
  7. Load Balancing and Auto Scaling: put an Application Load Balancer in front of an Auto Scaling group and add HTTPS.
  8. CloudWatch: Monitoring Your Applications: metrics, logs, alarms and dashboards, and the agent for memory and log files.
  9. Lambda: Serverless Functions: run code on events without servers, and know when not to.
  10. Managing Your AWS Costs: budgets, Cost Explorer, the common surprise charges, and how to clean up.

Each part builds on the previous ones, but you can jump to the topic you need.

Prerequisites

  • A computer with a terminal (Linux, macOS or Windows).
  • A credit or debit card and a phone number for the AWS sign-up.
  • Basic web knowledge: what a server, a database and a domain name are.

You do not need to be a programmer. The few code samples are short, and each one is explained.

About AWS Costs and the Free Tier

AWS changed its Free Tier for accounts created on or after 15 July 2025. A new account receives USD 100 in credits at sign-up and can earn up to USD 100 more by completing activities in the console. You choose one of two plans:

  • Free plan: you are never charged. The plan ends after six months or when the credits run out, whichever comes first. Then the account closes unless you upgrade to the paid plan within 90 days. Some services that could use up the credits quickly are not available.
  • Paid plan: all services are available. Credits pay for usage first, and you pay normal prices after that.

Accounts created before 15 July 2025 had the older 12-month Free Tier (for example 750 hours a month of t2.micro or t3.micro), which has now ended for all of them. Every account still gets the "always free" monthly allowances of some services, such as 1 million AWS Lambda requests a month. See the AWS Free Tier documentation for the current details.

Each part says which resources cost money. Part 1 sets up a budget alert before you create anything, and Part 10 shows how to clean up at the end.

Tip

Delete what you create when you finish a part, or at least stop it. A forgotten load balancer, NAT gateway or database is the most common source of a surprise bill for learners.

Practice Hands-On

Ready? Start with Getting Started with Your AWS Account.

Last updated:

Tags

AWSCloud ComputingInfrastructureBeginner

Found an issue?