Module 2: AWS Foundation Services
Amazon Elastic Compute Cloud (EC2)
Amazon Virtual Private Cloud (VPC)
Amazon Storage Services
Amazon Simple Storage Service (S3)
Amazon Elastic Blockstore Service (EBS)
Concepts
Instances vs. Servers
Types and Families
Ephemeral vs Persistent Storage (root instance volumes)
Amazon Machine Image (AMIs)
Bootstrapping/user data
Đặc điểm
Resizable compute capacity.
Complete control of your computing resources
Reduce of time required to obtain and boot new server instances.
Facts
Scale capacity: Tùy theo yêu cầu tính toán của bạn.
Pay only for actual capacity used.
OS: Linux/Windows
Có thể triển khai trên toàn AWS Region và Availability Zones để đảm bảo tính tin cậy.
Sử dụng tags để quản lý EC2 resource.
Khởi chạy EC2 từ Management Console
Xác định AWS Region
Chạy EC2 instance từ pre-configured AMI.
Lựa chọn Instance type
Cấu hình
CPU
Memory
Storage
Network requirements
Network
IP
Security group
Storage volume
Tags
Keypair
Amazon Machine Images (AMIs)
AMI
Launch permission
Nhóm các device mapping mà chỉ định volume to attach khi nó được khởi chạy.
Root volume cho các instance
AMI là một template mà nó bao gồm các cấu hình software
Khởi chạy instance từ AMI
Một AMI có thể xài cho nhiều instance, hoặc một instance cũng có thẻ chạy từ nhiều AMI.
Lựa chọn một AMI dựa trên các yếu tố
Region
Launch permission
OS
Kiến trúc: 32/64 bit
Storage for the root device
Public
Explicit
Implicit
Amazon EC2 Instance
Khi chạy EC2 instance, có thể chạy instance của các type khác nhau từ 1 AMI.
Instance Type
Determines hardware of the host compute used for your instance.
Mỗi instance type có một dung lượng bộ nhớ và CPU khác nhau.
Instance sẽ chạy cho đến khi nào nó bị stop hoặc có lỗi.