AWS EBS

  • An EBS(Elastic Block Store) volume is a network drive, we can attach to our instances while they run.
  • It allows our instances to persist data, even after termination.
  • They can be attached/mounted to one instance at a time. However, some EBS have multi attach feature.
  • It is bound to a specific availability zone.
  • They are a sort of network USB stick.
  • It is a network drive
    • It uses network to communicate with the instance, so there might be a bit of latency.
    • It can be detached from an EC2, instance and Attached to another one Quickly.
  • It is locked to an availability zone.
    • An EBS volume in us-east-la Cannot be attached to us-east-lb.
    • To move a volume across, We first need to snapshot it.
  • We have to provision capacity in Advance(Size in GB, and IOPS).
    • We get billed for all the provisioned capacity.
    • We can increase the capacity of drive overtime.
  • EBS – delete on termination attribute
    • We set this attribute during EBS creation.
    • Controls the EBS behaviour When our EC2 instance Is terminated.
    • By default, it is set for root volume and unset for any EBS volume attached to instance.
    • By default, the root EBS volume is deleted(attribute is enabled).
    • By default, any other attached, EBS volume is not deleted(Attribute is disabled)
    • We can control by enabling/disabling delete on termination for EBS volumes.
    • We can disable delete on termination for root volume thus When instance is terminated, volume will not be deleted.

Comments

Popular posts from this blog

VPC,Cloud Front,EC2,RDS in AWS

High Availability Architecture

High Level Diagrams(HLD's)