EBS-Elastic Block Store:
- EBS volume, one EBS can be attached to one instance only, multi attach for some EBS only
- An EBS volume is a network drive u can attach to ur instances while they run
- it allows ur instances to persist data even after termination
- they can only be mounted to one instance at a time
- and are bound to specific availibility zone only
- think of them as USB stick
- its a network drive not a physical drive, hence uses network to communicate with an isntance, hence there might be a bit of latency, it can be attached or detached from an EC2 isntance vv easily
- its locked to an AZ, but if we take snapshots we can move across the volume
- laslty, we need to define a provisioned capacity, we have to define the size in GiBs and IOPS and u get charged for the provisioned capaicty, and u can change capcity of it over time
we can also keep EBS volumes deattached, like kepe them reserved and not use

Delete on termination attribute:
controls the EBS behaviour when an EC2 isntance terminates
by default the root EBS is deleted
by default any other EBS volume is not deleted
use case: preserve data on root EBS when instance is temrinated, disbale dlete on termination for root instnace
on isntnace, we go on storage: