BeSA

AWS Foundations

Become a
Solutions Architect

A volunteer-driven learning journey to help you master AWS cloud architecture โ€” one week at a time.

Scroll

Leader Board

๐Ÿฅˆ
Player 2
0 pts
2
๐Ÿฅ‡
Player 1
0 pts
1
๐Ÿฅ‰
Player 3
0 pts
3
Rank Player Week Points Badge
1 โ€” โ€” โ€” Awaiting
2 โ€” โ€” โ€” Awaiting
3 โ€” โ€” โ€” Awaiting
4 โ€” โ€” โ€” Awaiting
5 โ€” โ€” โ€” Awaiting
6 โ€” โ€” โ€” Awaiting
7 โ€” โ€” โ€” Awaiting
8 โ€” โ€” โ€” Awaiting
9 โ€” โ€” โ€” Awaiting
10 โ€” โ€” โ€” Awaiting
๐Ÿš€ Rankings will populate as participants complete weekly challenges. Be the first!

Learn AWS

โ˜๏ธ
Week 1 ยท AWS Foundations
Amazon EC2 โ€” Elastic Compute Cloud
Compute IaaS Instances AMI Security Groups Pricing

๐Ÿ–ฅ๏ธ What is Amazon EC2?

Amazon Elastic Compute Cloud (EC2) is a web service that provides resizable compute capacity in the cloud. It is one of AWS's core services and forms the backbone of most cloud-based architectures.


EC2 is an Infrastructure as a Service (IaaS) offering โ€” you rent virtual machines (called instances) and only pay for the compute time you use. No upfront hardware investment required.

โšก Why EC2 Matters

  • Launch a server in minutes, not weeks
  • Scale up or down based on demand
  • Choose from hundreds of hardware configurations
  • Run any OS: Linux, Windows, macOS
  • Pay only for what you use (per-second billing)
  • Available across all AWS Regions globally
  • Foundation for dozens of other AWS services

๐Ÿ”‘ Core Concepts

๐Ÿ–ผ๏ธ Amazon Machine Images (AMIs)

An AMI is a template that defines your instance: operating system, pre-installed software, storage configuration. Think of it as a recipe โ€” the EC2 instance is the "baked cake."

Example: Select the Amazon Linux 2023 AMI to get a ready-to-use Linux environment with AWS tools pre-installed.

๐Ÿ”’ Security Groups

Security Groups act as a virtual firewall at the instance level. They control inbound and outbound traffic using rules based on protocol, port, and source/destination IP.

Tip: If your application times out โ†’ likely a Security Group issue. If you see "connection refused" โ†’ likely an application-level issue.

๐Ÿ“Š Instance Types & Families

Instance types follow the naming pattern: <family><generation><attribute>.<size> โ€” for example c5n.xlarge means Compute-optimised (c), 5th generation, high-network (n), extra-large.

Family Optimised For Example Types Use Cases
General Purpose Balanced CPU, memory, networking t3, m6i, m7g Web servers, dev environments, small databases
Compute Optimised High-performance processors c5, c6g, c7g Batch processing, HPC, gaming servers
Memory Optimised Fast in-memory data processing r6i, x2idn, z1d In-memory databases, big data analytics, SAP
Storage Optimised High sequential read/write I/O i3, i4i, d3 Data warehousing, distributed filesystems
Accelerated Computing Hardware co-processors (GPU/FPGA) p4, g5, inf2 ML training, deep learning, video rendering
The T Family (Burstable): T-type instances (t3.micro, t3.small) are the most common for beginners. They run at a baseline CPU and can burst to higher performance when needed. The t3.micro is available in the AWS Free Tier โ€” perfect for starting out.

๐Ÿ’ฐ Pricing Models

AWS offers multiple purchasing options to match different workload patterns and cost objectives:

๐Ÿ†“

On-Demand

Pay by the second with no commitment. Ideal for unpredictable workloads or getting started.

๐Ÿ“…

Reserved Instances

1 or 3-year commitment for up to 72% savings. Best for steady-state, predictable workloads.

๐Ÿ’ก

Savings Plans

Flexible pricing with a commitment to a consistent usage amount ($/hr). Applies across instance families.

๐ŸŽฏ

Spot Instances

Up to 90% discount using unused AWS capacity. Can be interrupted โ€” use for fault-tolerant workloads.

๐Ÿข

Dedicated Hosts

Physical server dedicated to your use. Required for compliance or existing per-socket software licenses.

๐Ÿš€ Launching Your First EC2 Instance

01

Open EC2 Console

Navigate to the EC2 Dashboard in the AWS Management Console and click Launch Instance.

02

Choose an AMI

Select Amazon Linux 2023 for the Free Tier. The AMI defines your OS and base software environment.

03

Select Instance Type

Choose t3.micro (Free Tier eligible) โ€” 2 vCPUs, 1 GB RAM, burstable performance.

04

Configure Security Group

Create a Security Group allowing SSH (port 22) from your IP. Add HTTP (80) if hosting a web server.

05

Add User Data (Optional)

User Data is a startup script that runs on first boot โ€” this is called bootstrapping. Use it to install software automatically.

06

Launch & Connect

Create or select a key pair (.pem file), launch the instance, and connect via SSH or EC2 Instance Connect in the console.

๐Ÿ›ก๏ธ Shared Responsibility Model

Security in AWS is a shared responsibility between AWS and you:

  • AWS secures the physical infrastructure, hypervisor, and networking of the cloud
  • You secure the OS, applications, data, and access controls inside the cloud
  • For EC2: you manage OS patching, Security Group rules, and IAM permissions

๐Ÿ—‚๏ธ Key Storage Concepts

  • EBS (Elastic Block Store): Persistent block storage volumes attached to instances โ€” survives instance stop/start
  • Instance Store: Ephemeral storage โ€” data is lost when the instance stops or terminates
  • EBS-backed AMIs are the most common type โ€” the root volume persists independently
  • Snapshots: Point-in-time backups of EBS volumes stored in S3
Week 1 Key Takeaway: EC2 is the fundamental building block of AWS compute. Master instance types, AMIs, Security Groups, and pricing models and you'll have a solid foundation for everything else in your Solutions Architect journey. Next week we'll explore how EC2 connects with VPC networking and auto-scaling.
๐Ÿšง

More Weeks Coming Soon

Our volunteer team is preparing new content every week. Topics ahead include VPC, S3, IAM, RDS, Lambda, and much more.

About Us

Built by Volunteers

BeSA โ€” Become a Solutions Architect is a community platform created entirely by volunteers passionate about cloud technology and education. Our mission is to make AWS learning accessible, structured, and engaging for everyone โ€” from beginners to those preparing for their Solutions Architect certification.


We believe knowledge should be free and shared. Each week our volunteer contributors craft hands-on content, challenges, and resources to guide you through your AWS journey.

Reynaldo Luevano
Reynaldo Luevano
Cloud Solutions Architect
LinkedIn
Athira GP
Athira GP
Cloud Solutions Architect
LinkedIn