EBS Volume
EBS (Elastic Block Store) Voltume is a network drive you cna attach to your instances while they run.
EBS(Elastic Block Store) Volume은 AWS(Amazon Web Services)에서 제공하는 블록 스토리지 서비스입니다. EC2 인스턴스에 사용할 수 있는 저장 장치로, 가상 디스크와 유사하게 동작합니다.
It allows Instance ti persist data, even after their termination
They can only be mounted to one instance at a time (at the CCP level)
( CCP - Certified Cloud Practitioner - one EBS can be only mounted to one EC2 instance )
They are bound to a specific availbility zone.
Analogy : they are like a network USB Stick !!!!!!
Free tier : 30 GB of EBS storage of type General Purpose (SSD) or magentic per month.
----------------------------------------------------
Its a Network Drive ( not a physical drive )
- - use network to communicate the EC2 , which means there might be a bit go latency
- - can be detached from an EC2 , and attached to another one quickly (기존 ec2 에 제거 후 다른 ec2 에 부착이 가능)
Locked to an Availablity Zone ( AZ )
- EBS Volume in us-east-1a -> us-east-1b ( X ) // not possible !
- to move a volume across, yopu first need to snapshot it.
Has 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
EBS - Delete on Termination attribute.
Default :
Root Volum - on (attribute enabled)
new created Volume - off
It controls the EBS behavour when EC2 terminates.
Can be controlled by the AWS console / CLI
Use case : preserve root volume when instance is terminated.