1. EBS Volume 개요
흔히 EC2는 메모리, 그래픽카드 등 하드디스크를 제외한 컴퓨터의 모든 부분(CPU, 메모리 등)이라고 한다면 EBS는 데이터를 저장하는 하드디스크라고 생각하면 된다.
- Block Store (뭔가 설치가 가능하다) <-> File(object storage, ex. S3, 설치할 수 없이 파일만 저장)
- An EBS(Elastic Block Store) Volume is a network drive you can attach to your instances while they run
- It allows your intances to persist data, even after their termination
- They can only be mounted to one instance at a time (at the CCP level)
- They are bound to a specific availability zone
- Analogy : Think of them as a “network USB stick”
- Free tier : 30GB of free EBS storage of type General Purpose (SSD) or Magnetic per month
2. EBS Volume 특징
- It’s a network drive (i.e. not a physical drive)
- It uses the network to communicate the instance, which means there might be a bit of latency
- It can be detached from an EC2 instance and attached to another one quickly
- It’s locked to an Availability Zone (AZ)
- An EBS Volume in us-east-1a cannot be attached to use-east-1b
- To move a volume across, you first need to snapshot it
- Have a provisioned capacity (size in GBs, and IOPS)
- You get billed for all the provisioned capacity
- You can increase the capacity of the drive over time