Chapter 1 of 2
Course Progress0 of 2 completed (0%)

AWS & Modern Cloud Architecture · Chapter 1 · ~15 min · Beginner

Cloud Fundamentals & Your First Virtual Server (EC2)

Demystify Amazon Web Services from the ground up: understand what the cloud actually is, how global Regions and Availability Zones work, and how to launch your first virtual server in minutes.

  • Understand why companies rent cloud servers instead of buying hardware
  • Learn the difference between AWS Regions and Availability Zones (AZs)
  • Launch and configure an Amazon EC2 virtual machine
  • Protect your server using Security Groups and firewall ports

1The Real Truth: What is 'The Cloud'?

There is a famous developer joke: "There is no cloud, it's just someone else's computer." And that joke is 100% accurate!

Historically, if you wanted to launch an app, you had to buy physical server computers, lease floor space in a specialized building with air conditioners and backup diesel generators, plug in cables, and pay thousands of dollars upfront.

With Amazon Web Services (AWS), Amazon has already built massive, secure data centers around the globe. Instead of buying hardware, you rent computing slices by the second. Need 1 server for an hour? Pay $0.02. Need 100 servers for Black Friday? Turn them on with one click and turn them off when sales finish.

On-Demand

Pay for What You Use

No contracts or hardware purchases. Billed per second of compute time.

Elasticity

Scale in Seconds

Automatically spin up more servers when traffic spikes and shut them down when quiet.

Global Reach

Deploy Near Users

Deploy apps across North America, Europe, Asia, and Australia in minutes.

Concept Check

What is the primary financial advantage of using AWS over traditional on-premise hardware?

2AWS Global Infrastructure: Regions & Availability Zones

When you log in to AWS, the first thing you choose in the top right corner is your Region.

1. AWS Region (e.g. us-east-1)

A physical geographical area in the world (such as N. Virginia, Frankfurt, Tokyo). You pick a Region close to your users to minimize network latency (lag).

2. Availability Zone (e.g. us-east-1a)

Inside every Region are 3 or more independent, physical data centers connected by ultra-fast fiber cables. If one data center experiences a power outage or flood, the other AZs keep running!

Concept Check

Why do engineers deploy their applications across multiple Availability Zones (AZs) in a Region?

3Amazon EC2: Your Virtual Server

EC2 stands for Elastic Compute Cloud. It allows you to launch a virtual machine (VM) in under 60 seconds.

When launching an EC2 server, you pick:

  • AMI (Amazon Machine Image): The operating system template (like Ubuntu Linux, Amazon Linux, or Windows Server).
  • Instance Type: The hardware specs. For example, t3.micro provides 2 virtual CPUs and 1 GB of RAM (perfect for learning and free tier!).
  • Storage (EBS): The virtual hard drive attached to the server.
Concept Check

What does 'AMI' stand for in Amazon EC2?

4Security Groups: The Virtual Firewall

When your server is running on the public internet, anyone can try to connect to it. A Security Group acts as a virtual firewall that controls what inbound and outbound network traffic is permitted.

Standard Ports to Know:

Port 22 (SSH)Used by engineers to securely log into the terminal.
Port 80 (HTTP)Standard unencrypted web browser traffic.
Port 443 (HTTPS)Encrypted secure web traffic (the padlock icon in your browser).

5Hands-On: Configure and Launch an EC2 Instance

Use the launch wizard below to choose your operating system and firewall rules, then click Launch to see your virtual machine boot up with a live Public IP address:

AWS EC2 Virtual Server Launch Simulator

Region: us-east-1 (N. Virginia)
Instance ID: Not yet provisionedStopped

Configure options and click "Launch EC2 Instance" to allocate a virtual machine in AWS!

6Chapter Knowledge Challenge

Test your cloud infrastructure, Regions, EC2, and Security Group knowledge before moving to Chapter 2:

Concept Check 1 of 2
1

Why does AWS provide multiple Availability Zones (AZs) inside each Region?

Concept Check 2 of 2
2

You launch an EC2 web server with a public IP, but users cannot load your website. What is the most likely cause?

7Recap

  • The Cloud is on-demand computing rented over the internet with pay-as-you-go pricing.
  • An AWS Region is a physical geographic location; an Availability Zone (AZ) is an isolated data center within a region.
  • Amazon EC2 provides scalable virtual machines where you choose an OS (AMI) and compute size.
  • Security Groups act as firewalls; open Port 80 for HTTP web traffic and Port 22 for SSH terminal access.

Ready for Chapter 2? Mark this chapter as complete to proceed:

Enjoying this free lesson? Your support helps us build more free animated chapters.

Support Us