AWS Storage Services Overview
ภาพรวม
AWS มีบริการ Storage หลากหลายรูปแบบเพื่อรองรับ use case ที่แตกต่างกัน ตั้งแต่ Object Storage, Block Storage, File Storage ไปจนถึง Archival Storage
ประเภทของ Storage บน AWS
Object Storage
- Amazon S3 — เก็บข้อมูลแบบ Object ไม่จำกัดขนาด, durability 11 nines
- S3 Glacier — Archive storage ราคาถูก สำหรับข้อมูลที่เข้าถึงไม่บ่อย
Block Storage
- Amazon EBS — Block storage สำหรับ EC2 instances, รองรับ snapshot
- EC2 Instance Store — Ephemeral storage ที่ติดมากับ hardware, IOPS สูงมาก
File Storage
- Amazon EFS — Managed NFS สำหรับ Linux workloads, auto-scaling
- Amazon FSx — Managed file systems (Windows File Server, Lustre, NetApp ONTAP, OpenZFS)
Hybrid & Edge
- AWS Storage Gateway — เชื่อม on-premises กับ AWS storage (S3 File, Volume, Tape)
- AWS Snow Family — ย้ายข้อมูลขนาดใหญ่ทางกายภาพ + edge computing
- AWS DataSync — ย้ายข้อมูลผ่านเครือข่ายความเร็วสูง (10 Gbps)
Backup & DR
- AWS Backup — Centralized backup management, Vault Lock (WORM)
- AWS Elastic Disaster Recovery (DRS) — Continuous replication สำหรับ DR
การเลือก Storage ที่เหมาะสม
| Use Case | บริการที่แนะนำ |
|---|---|
| Static website hosting | S3 |
| Database storage | EBS (gp3/io2) |
| Shared file system (Linux) | EFS |
| Shared file system (Windows) | FSx for Windows |
| HPC / ML training data | FSx for Lustre |
| Archive / Compliance | S3 Glacier + Vault Lock |
| Hybrid cloud storage | Storage Gateway |
| Large-scale data migration | Snow Family / DataSync |
| Backup & compliance | AWS Backup |
S3 Storage Classes
- S3 Standard — General purpose, frequently accessed
- S3 Standard-IA — Infrequent access, lower cost
- S3 One Zone-IA — Single AZ, ถูกกว่า Standard-IA 20%
- S3 Intelligent-Tiering — ย้าย tier อัตโนมัติตามการเข้าถึง
- S3 Glacier Instant Retrieval — Archive ดึงข้อมูลได้ทันที (milliseconds)
- S3 Glacier Flexible Retrieval — ดึงภายใน 1-5 นาที ถึง 12 ชั่วโมง
- S3 Glacier Deep Archive — ราคาถูกที่สุด, ดึงภายใน 12-48 ชั่วโมง
EBS Volume Types
- gp3/gp2 — General Purpose SSD (default)
- io2/io1 — Provisioned IOPS SSD สำหรับ database workloads
- st1 — Throughput Optimized HDD สำหรับ big data
- sc1 — Cold HDD ราคาถูกที่สุด
สรุป
- เลือก Storage ตาม access pattern, performance requirement, และ cost
- S3 เหมาะกับ object/file storage ทั่วไป
- EBS เหมาะกับ block storage ที่ต้องการ low latency
- EFS/FSx เหมาะกับ shared file system
- Snow Family/DataSync เหมาะกับ data migration
- AWS Backup จัดการ backup แบบรวมศูนย์