Amazon Elastic Block Storage (EBS)provides a resilient block storage service tailored for
Amazon EC2 instances to address storage needs. EBS provides persistent storage volumes, allowing you to expand your instance’s storage capacity and optimize performance for specific use case. With EBS, you can easily manage, scale, and secure your storage volumes to meet the demands of your applications and workloads.
In this Cloud Lab, you’ll launch an EC2 instance using the Amazon Linux AMI, create and associate an EBS volume, and connect to the instance via SSH. Then you’ll generate a file system on the EBS volume, mount it, and read and write data using the instance. Next, you’ll create a snapshot, a point-in-time backup of the EBS volume, for durability and disaster recovery. Afterward, you’ll terminate the initial EC2 instance, remove the original EBS volume, and create a new volume using the snapshot. You’ll attach and mount this volume to a fresh EC2 instance to retrieve the stored data. Finally, you’ll clean up all resources to prevent unnecessary expenses.
By the end of this lab, you’ll have gained practical experience in managing EBS volumes and understanding their importance in ensuring reliable and persistent storage for your EC2 instances. This knowledge will be valuable when designing and deploying applications in the AWS cloud.
The following is the high-level architecture diagram of the infrastructure that we will create in this Cloud Lab: