EBS Practical

Create an EBS volume and perform operations like resizing, creating snapshots, and launching EC2 instances.

We'll cover the following


In the widget below, we’ll take the following steps to showcase the functions and features of EBS:

  • Create an EBS volume.
  • Resize the volume.
  • Launch a new instance with an 8 GB root volume and an additional EBS volume of 2 GB using the block device mapping option in the run-instances command.
  • Attach the previously launched EBS volume to this instance.
  • Display all the EBS volumes attached to this instance. Notice here that the DeleteOnTermination flag is true for 8 and 2 GB volumes because they’re created as a part of the run-instances command.
  • Terminate the instance, thereby deleting the other two EBS volumes.
  • Create a snapshot of the remaining volume.
  • Copy the snapshot to the Singapore region while encrypting the snapshot in the process.
  • Create a new EBS from this snapshot in the Singapore region. Note here that the EBS created in the Singapore region is encrypted. This is because while copying the snapshot to the Singapore region, we encrypted it.


We’ll execute the widget below by using our AWS credentials to explore and observe the features and functions of EBS volumes. Please pay attention to how we encrypt the volume and transfer it between AWS Regions.

Get hands-on with 1200+ tech skills courses.