AWS

Amazon EC2 – Instance Storage

Cập nhật 23/06/2026

  • #aws
  • #ec2
  • #ebs

Amazon EC2 – Instance Storage

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

Key content

  • 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
  • Price Comparison
  • Example – m4.large – us-east-1
  • Price Type Price (per hour)
  • On-Demand $0.10
  • Spot Instance (Spot Price) $0.038 - $0.039 (up to 61% off)
  • Reserved Instance (1 year) $0.062 (No Upfront) - $0.058 (All Upfront)
  • Reserved Instance (3 years) $0.043 (No Upfront) - $0.037 (All Upfront)
  • EC2 Savings Plan (1 year) $0.062 (No Upfront) - $0.058 (All Upfront)
  • Reserved Convertible Instance (1 year) $0.071 (No Upfront) - $0.066 (All Upfront)
  • Dedicated Host On-Demand Price
  • Dedicated Host Reservation Up to 70% off
  • Capacity Reservations On-Demand Price
  • EC2 Spot Instance Requests
  • with a 2 minutes grace period.
  • EC2 Spot Instances Pricing
  • User-defined max price
  • How to terminate Spot Instances?
  • You can only cancel Spot Instance requests that are open, active, or disabled.
  • Cancelling a Spot Request does not terminate instances
  • You must first cancel a Spot Request, and then terminate the associated Spot Instances
  • Spot Fleets
  • the pool with the lowest price (best choice for most workloads)
  • Amazon EC2 – Associate
  • Private vs Public IP (IPv4)
  • Company B
  • Private Network
  • 192.168.0.1/22
  • Company A
  • Private Network
  • 192.168.0.1/22
  • Private vs Public IP (IPv4)
  • Example
  • Internet Gateway (public):
  • 149.140.72.10
  • Web Server (public):
  • 79.216.59.75
  • Server (public):
  • 211.139.37.43
  • Internet Gateway (public):
  • 253.144.139.205
  • WWW
  • Private vs Public IP (IPv4)
  • Fundamental Differences
  • Elastic IPs
  • IP.
  • Elastic IP
  • Elastic IP
  • by rapidly remapping the address to another instance in your account.
  • that).
  • Private vs Public IP (IPv4)
  • In AWS EC2 – Hands On
  • the public IP can change
  • Placement Groups
  • strategies for the group:
  • group per AZ)
  • different sets of racks) within an AZ. Scales to 100s of EC2 instances per group
  • (Hadoop, Cassandra, Kafka)
  • Same AZ
  • Placement Groups
  • Cluster
  • Networking enabled - recommended)
  • EC2 EC2
  • EC2 EC2 EC2
  • EC2 Placement group
  • Cluster
  • Low latency
  • 10 Gbps network
  • Us-east-1a
  • Hardware 1
  • Placement Groups
  • Spread • Pros:
  • Zones (AZ)
  • failure
  • physical hardware
  • per placement group
  • maximize high availability
  • each instance must be isolated
  • from failure from each other
  • EC2
  • Hardware 2
  • EC2
  • Us-east-1b
  • Hardware 3
  • EC2
  • Hardware 4
  • EC2
  • Us-east-1c

…180 more lines in source.

Study checklist