TExcelTAD
Home › AWS Cloud › AWS Intro

AWS Intro

Amazon Web Services (AWS) is a cloud platform: a catalogue of more than two hundred services that you rent over the internet instead of buying and running the hardware yourself. Virtual servers, file storage, databases, queues, machine-learning models, DNS, content delivery: each one is a service with an API, a web console and a price list.

Instead of ordering a server, waiting weeks for it to arrive and installing it in a rack, you make an API call and a virtual machine is running a minute later. When you no longer need it, you terminate it and stop paying.

What you will learn

Part Topics
Basics cloud concepts, service and deployment models, regions and Availability Zones, shared responsibility
Identity IAM users, groups, roles and the policy language
Compute EC2, load balancers, Auto Scaling, Lambda, Elastic Beanstalk, containers
Storage S3 and its storage classes, EBS, EFS, the Snow family
Databases RDS, Aurora, DynamoDB, ElastiCache, Redshift
Networking VPC, subnets, route tables, NAT, security groups, Route 53, CloudFront, API Gateway
Operations SQS/SNS/EventBridge, KMS and the security services, CloudWatch, CloudTrail, CloudFormation, the CLI and boto3
Strategy pricing, the Well-Architected Framework, migration, certifications

How the examples work

This site runs entirely in your browser and has no AWS account behind it, so it can't create real resources. Every lesson therefore has two kinds of code:

  1. Real AWS artifacts (CLI commands, boto3 scripts, JSON policies, CloudFormation templates). They are shown as plain highlighted code together with a realistic sample output. You can copy them into your own account later.
  2. Runnable Python models of the idea behind the service. A load balancer, an IAM policy evaluator, a cost calculator: small programs you can run, change and break, so the concept sticks.

Here is a real AWS CLI command that asks AWS "who am I?":

bash
aws sts get-caller-identity

Sample output:

text
{
    "UserId": "AIDAEXAMPLEUSERID1234",
    "Account": "123456789012",
    "Arn": "arn:aws:iam::123456789012:user/ada"
}

And here is a runnable model: it splits an ARN (Amazon Resource Name), the unique identifier that every AWS resource has, into its parts.

python · try it yourself
def parse_arn(arn):
    parts = arn.split(":", 5)
    keys = ["arn", "partition", "service", "region", "account", "resource"]
    return dict(zip(keys, parts))

examples = [
    "arn:aws:iam::123456789012:user/ada",
    "arn:aws:s3:::tad-reports/2026/q1.csv",
    "arn:aws:ec2:eu-west-1:123456789012:instance/i-0abc123def456",
]
for arn in examples:
    info = parse_arn(arn)
    print(f"{info['service']:<4} region={info['region'] or '(global)':<10} "
          f"account={info['account'] or '(none)':<13} resource={info['resource']}")
iam  region=(global)   account=123456789012  resource=user/ada
s3   region=(global)   account=(none)        resource=tad-reports/2026/q1.csv
ec2  region=eu-west-1  account=123456789012  resource=instance/i-0abc123def456

Notice that IAM and S3 ARNs have an empty region: IAM is a global service, and S3 bucket names are globally unique, so their ARNs don't need one.

Why companies use the cloud

python · try it yourself
# A toy comparison: buying servers up front vs paying per hour.
# Example numbers only, not real prices.
server_purchase = 6000        # one physical server, 3-year life
hosting_per_month = 120       # power, cooling, rack space
cloud_per_hour = 0.45         # a comparable virtual machine

months = 36
on_prem = server_purchase + hosting_per_month * months

for hours_per_day in (24, 12, 8):
    cloud = cloud_per_hour * hours_per_day * 30 * months
    cheaper = "cloud" if cloud < on_prem else "on-premises"
    print(f"{hours_per_day:>2} h/day: on-prem ${on_prem:,.0f} vs cloud ${cloud:,.0f} -> {cheaper}")
24 h/day: on-prem $10,320 vs cloud $11,664 -> on-premises
12 h/day: on-prem $10,320 vs cloud $5,832 -> cloud
 8 h/day: on-prem $10,320 vs cloud $3,888 -> cloud

The model shows the key idea: in the cloud you pay for what you use. Running around the clock for three years, the bought server wins in this toy example; a server that only needs to run during office hours costs a fraction of one that runs all the time, while a bought server costs the same whether it is busy or idle. Real decisions also involve staff, licences, discounts and data transfer, which later lessons cover.

Note: All prices in this course are example prices chosen to make the arithmetic easy to follow. AWS prices differ by region and change over time, so always check the AWS pricing pages before making a decision.

A tiny bit of history

AWS launched its first public services, SQS and S3, in 2006, followed by EC2 the same year. Amazon had built large internal infrastructure for its shop and started renting it out. Today AWS competes with Microsoft Azure and Google Cloud; the concepts in this course (regions, virtual machines, object storage, IAM) exist on all three under different names.

Test yourself

What is an ARN?

  1. A billing report
  2. A unique identifier for an AWS resource
  3. A type of EC2 instance
  4. An AWS region code

Why do the IAM and S3 ARNs above have an empty region field?

  1. They are invalid
  2. IAM is global and S3 bucket names are globally unique
  3. They belong to the root account
  4. The region is always hidden

What is the main cost idea behind cloud computing?

  1. You buy servers at a discount
  2. You pay for the resources you use, when you use them
  3. Everything is free
  4. You pay a fixed yearly fee