In this lab, I will be creating an Elastic Block Store.
An EBS is a block-level storage that is used with AWS instances which are automatically replicated within its zone to protect from data loss.
Creating an Elastic Block Store Volume
For this, I need to be in the EC2 service and find the tab Volumes.
Now I click ‘Create Volume’ and set the following
Type: General Purpose SSD
Size (GiB): 1
Avalkibity Zone: ap-southeast-2a
This is now ready to be added to an instance.
Adding an EBS Volume to an Instance
I now need to add this EBS to an Instance, since I am not doing this in the lab I will have to create a server, but I do have a windows server so I will just add it to that.
During this, I found out that none of my instances were in the zone of my SSD so I had to create another instance in the ap-southeast-2a zone. I named this instance server just for this lab.
Now when I went to add the EBS to an instance my Server was found.
Snapshotting an EBS Volume and Increasing Performance
Creating a snapshot replicates the data in the volume.
First, we must detach the volume.
Now we can create our snapshot.
I now need to put some details in about the snapshot.
Now I am going to add this snapshot to another volume but this time with more storage.
Now, this volume is ready to be added back to the server.
I found this lab great, it allows me to adjust my storage in no time and to create snapshots maybe before a big update, so if something happens I can always revert back to my old snapshot. Or even just increasing storage size.