Skip to main content

Storage

หมวดหมู่ Storage ครอบคลุมบริการเก็บข้อมูลทุกรูปแบบบน AWS ตั้งแต่ object storage, block storage, file storage ไปจนถึง archival storage


Amazon S3 (Simple Storage Service)

คืออะไร: Object storage ที่ scalable ไม่จำกัด เก็บได้ทุกอย่างตั้งแต่ไฟล์เล็กๆ ไปจนถึง data lake ขนาด petabyte

ราคา:

  • Standard: $0.023/GB/เดือน
  • Infrequent Access: $0.0125/GB/เดือน
  • Glacier: $0.004/GB/เดือน
  • Free Tier: 5 GB/เดือน (1 ปีแรก)

เหมาะสำหรับ:

  • เก็บ static files (รูปภาพ, วิดีโอ, documents)
  • Host static website
  • Backup และ archive data
  • Data lake สำหรับ analytics

Use Case ตัวอย่าง:

Platform วิดีโอ streaming เก็บ video files ทั้งหมดใน S3 ใช้ S3 Intelligent-Tiering ย้าย files ที่ไม่ได้ดูนานเกิน 30 วันไป Glacier อัตโนมัติ ลด storage cost ได้ 60%


Amazon EBS (Elastic Block Store)

คืออะไร: Block storage สำหรับ EC2 เหมือน hard drive ที่ต่อพ่วงกับ virtual machine ใช้เก็บ OS, database files, application data

ราคา:

  • gp3 (General Purpose SSD): $0.08/GB/เดือน
  • io2 (Provisioned IOPS): $0.125/GB/เดือน + $0.065/IOPS
  • sc1 (Cold HDD): $0.015/GB/เดือน
  • Free Tier: 30 GB/เดือน (1 ปีแรก)

เหมาะสำหรับ:

  • Boot volume ของ EC2
  • Database storage (MySQL, PostgreSQL)
  • Application ที่ต้องการ low-latency I/O

Use Case ตัวอย่าง:

MySQL database รันบน EC2 ใช้ EBS gp3 ขนาด 500 GB พร้อมตั้ง snapshot รายวันอัตโนมัติไปเก็บใน S3 เพื่อ disaster recovery


Amazon EFS (Elastic File System)

คืออะไร: NFS file system ที่ shared ได้พร้อมกันหลาย EC2 instances scale อัตโนมัติ

ราคา:

  • Standard: $0.30/GB/เดือน
  • Infrequent Access: $0.025/GB/เดือน
  • Provisioned Throughput: $6.00/MB/s/เดือน

เหมาะสำหรับ:

  • Content management systems (WordPress multi-server)
  • Shared configuration files
  • Home directories สำหรับ Linux servers
  • Container storage

Use Case ตัวอย่าง:

WordPress ที่รันบน 5 EC2 instances share EFS เดียวกันสำหรับ /wp-content/uploads ทำให้รูปภาพที่ upload จาก server ไหนก็ปรากฏบนทุก server


Amazon S3 Glacier

คืออะไร: Cold storage ราคาถูกมากสำหรับ data archive ที่แทบไม่ได้ใช้ แต่ต้องการเก็บระยะยาว

ราคา:

  • Glacier Instant Retrieval: $0.004/GB/เดือน
  • Glacier Flexible Retrieval: $0.0036/GB/เดือน (ดึงข้อมูล 3-5 ชั่วโมง)
  • Glacier Deep Archive: $0.00099/GB/เดือน (ดึงข้อมูล 12 ชั่วโมง)

เหมาะสำหรับ:

  • Compliance archival (ต้องเก็บ 7-10 ปี)
  • Backup ระยะยาว
  • Digital preservation

Use Case ตัวอย่าง:

ธนาคารเก็บ transaction logs ย้อนหลัง 10 ปีใน Glacier Deep Archive ค่าใช้จ่าย ~$1/TB/เดือน เทียบกับ tape storage ที่แพงกว่ามาก


AWS Storage Gateway

คืออะไร: Hybrid cloud storage ที่เชื่อมต่อ on-premise storage กับ AWS cloud

ราคา:

  • File Gateway: $0.016/GB stored
  • Tape Gateway: $0.025/GB stored
  • Volume Gateway: $0.025/GB stored

เหมาะสำหรับ:

  • Organization ที่กำลัง migrate มา cloud แบบค่อยเป็นค่อยไป
  • Backup on-premise data ขึ้น cloud
  • Disaster recovery

Use Case ตัวอย่าง:

บริษัท migrate ไปยัง AWS แบบ phased: ติดตั้ง Storage Gateway บน on-premise server ให้ backup อัตโนมัติขึ้น S3 ทุกคืน ก่อนจะย้าย workload จริงในภายหลัง


AWS Backup

คืออะไร: Central backup service ที่จัดการ backup ของ AWS services ต่างๆ (EC2, RDS, EFS, DynamoDB) จากที่เดียว

ราคา:

  • $0.05/GB/เดือน สำหรับ backup storage
  • ราคาแตกต่างตาม service ที่ backup

เหมาะสำหรับ:

  • จัดการ backup policy ทั้ง organization จากที่เดียว
  • Compliance requirement ด้าน data protection
  • Disaster recovery planning

Use Case ตัวอย่าง:

Enterprise ตั้ง AWS Backup policy ให้ backup RDS + EFS + DynamoDB ทุกวัน เก็บ 30 วัน และ monthly backup เก็บ 1 ปี โดยจัดการ policy เดียวครอบคลุมทุก service