AWS

Amazon EC2 – Basics

Cập nhật 23/06/2026

  • #aws
  • #ec2

Amazon EC2 – Basics

Maarek SAA-C03 Slides v45 — Chapter 3. Personal study extract.

Key content

  • Amazon EC2 – Basics
  • Amazon EC2
  • EC2 sizing & configuration options
  • EC2 User Data
  • Hands-On:
  • Launching an EC2 Instance running Linux
  • EC2 Instance Types - Overview
  • different use cases (
  • m5.2xlarge
  • EC2 Instance Types – General Purpose
  • instance
    • this list will evolve over time, please check the AWS website for the latest information
  • EC2 Instance Types – Compute Optimized
  • processors:
    • this list will evolve over time, please check the AWS website for the latest information
  • EC2 Instance Types – Memory Optimized
    • this list will evolve over time, please check the AWS website for the latest information
  • EC2 Instance Types – Storage Optimized
  • access to large data sets on local storage
    • this list will evolve over time, please check the AWS website for the latest information
  • EC2 Instance Types: example
  • Instance vCPU Mem (GiB) Storage Network
  • Performance
  • EBS Bandwidth
  • (Mbps)
  • t2.micro 1 1 EBS-Only Low to Moderate
  • t2.xlarge 4 16 EBS-Only Moderate
  • c5d.4xlarge 16 32 1 x 400 NVMe SSD Up to 10 Gbps 4,750
  • r5.16xlarge 64 512 EBS Only 20 Gbps 13,600
  • m5.8xlarge 32 128 EBS Only 10 Gbps 6,800
  • Great website:
  • Introduction to Security Groups
  • Inbound traffic
  • Outbound traffic
  • Security
  • Group
  • WWW EC2 Instance
  • Security Groups
  • Deeper Dive
  • Security Groups
  • Diagram
  • EC2 Instance
  • IP XX.XX.XX.XX
  • Port 22
  • Port 22 Security Group 1
  • Inbound
  • Filter IP / Port with Rules
  • Any Port
  • Security Group 1
  • Outbound
  • Filter IP / Port with Rules
  • Your Computer - IP XX.XX.XX.XX
  • (authorised port 22)
  • Other computer
  • (not authorised port 22)
  • WWW
  • Any IP – Any Port
  • Security Groups
  • Good to know
  • error or it's not launched
  • Referencing other security groups
  • Diagram
  • EC2 Instance
  • IP XX.XX.XX.XX
  • Port 123
  • Port 123
  • Port 123
  • Security Group 1
  • Inbound
  • Authorising Security Group 1
  • Authorising Security Group 2
  • EC2 Instance
  • IP XX.XX.XX.XX
  • Security
  • Group 2
  • (attached)
  • EC2 Instance
  • IP XX.XX.XX.XX
  • Security
  • Group 1
  • (attached)
  • EC2 Instance
  • IP XX.XX.XX.XX
  • Security
  • Group 3
  • (attached)
  • Classic Ports to know
  • SSH Summary Table
  • Mac
  • Linux
  • Windows < 10
  • Windows >= 10
  • SSH Putty EC2 Instance
  • Connect
  • Which Lectures to watch
  • SSH troubleshooting
    1. Re-watch the lecture. You may have missed something
    1. Read the troubleshooting guide
    1. Try EC2 Instance Connect
  • good
  • How to SSH into your EC2 Instance
  • Linux / Mac OS X
  • remote machine, all using the command line.
  • the SSH into our EC2 instances
  • EC2 Instance
  • Linux
  • Public IP
  • SSH
  • – Port 22
  • WWW
  • How to SSH into your EC2 Instance
  • Windows
  • remote machine, all using the command line.
  • on Windows using the free tool Putty.
  • EC2 Instance
  • Linux
  • Public IP
  • SSH
  • – Port 22
  • WWW
  • EC2 Instance Connect
  • EC2 Instances Purchasing Options
  • EC2 On Demand
  • you can't predict how the application will behave
  • EC2 Reserved Instances
  • change them over time – the exact numbers are not needed
  • for the exam. This is just for illustrative purposes J
  • EC2 Savings Plans
  • EC2 Spot Instances
  • current spot price
  • EC2 Dedicated Hosts
  • bound software licenses (per-socket, per-core, pe—VM software licenses)
  • Own License)
  • EC2 Dedicated Instances
  • dedicated to you
  • instances in same account
  • (can move hardware after Stop / Start)
  • EC2 Capacity Reservations
  • duration
  • from billing discounts
  • specific AZ
  • Which purchasing option is right for me?
  • whenever we like, we pay the full price
  • stay for a long time, we may get a good discount.
  • certain period and stay in any room type (e.g.,
  • King, Suite, Sea View, …)
  • the empty rooms and the highest bidder keeps the
  • rooms. You can get kicked out at any time
  • the resort
  • period with full price even you don't stay in it

…22 more lines in source.

Study checklist