Elastic Block Storage (EBS)

  1. Block level storage volumes that can be attached to EC2 instances as root/boot or secondary volumes
  2. HDD and SSD (root and secondary) are supported
    1. Bootable root volume or secondary volume
      1. General purpose SSD gp2(3 IOPS/GB burstable to 3000 IOPS)
      2. Provisioned IOPS io1 (10,000 and above IOPS)
      3. Magnetic Standard
    2. Secondary Volume only (can’t be used as root volume)
      1. Throughput optimized HDD (st1): Data warehousing, log processing
      2. COLD HDD sc1: infrequently accessed such as file server
  3. Replicated within the availability zone
  4. All volumes except standard HDD can be modified even while they are attached as root volumes to a running EC2
    1. Only increase size possible
    2. Can switch from gp2 to provisioned IOPS io1 and vice versa
  5. Snapshots
    1. Saved on S3
    2. Incremental
    3. Snapshots of encrypted volumes are encrypted automatically and vice versa
    4. Can be shared with other accounts only if unencrypted
    5. To encrypt an existing EC2
      1. Take a snapshot and choose encryption “on” and save snapshot
      2. Create AMI from resulting snapshot. This AMI will be encrypted
      3. Launch EC2 from this AMI and terminate the original EC2
  6. EBS and AZs and Regions
    1. EC2 and its volumes must be in the same AZ. Since latency is important.
    2. To move an existing volume from AZ1 to AZ2, you need to take a snapshot and restore volume from that snapshot in AZ2
    3. You can copy a snapshot from Region 1 to Region 2 and then create an image or volume from that snapshot
  7. AMIs
    1. AMI’s are region specific.
    2. AMIs can be created from snapshots or volumes
    3. You can copy AMI from one region to another and then launch instance from the copied AMI in the new region
    4. Marketplace AMIs are not encrypted at rest
  8. Instance Store (Ephemeral storage)
    1. Instance stores are saved on S3
    2. Only certain EC2 types such as m class support instance store
    3. EC2 instances having root instance store volume can’t be started/stopped. Only rebooted or terminated
    4. Instance store backed EC2 while terminated, no option to save the volume
  9. Stop/start of EBS backed EC2 instance will provision the new instance on a different hypervisor/host
<<< Security GroupsElastic Load Balancer (ELB) >>>
Copyright 2005-2016 KnowledgeHills. Privacy Policy. Contact .