Elastic Block Storage (EBS)
- EBS provides block level storage volumes for use with ec2 instances.
- Create a ubuntu EC2 instance
- Login into the EC2 instance and execute the following commands
sudo lsblk sudo df -h

- Create a windows ec2 instance
- Login into the windows server and open the windows explorer and select this pc

- Login into the windows server and open the windows explorer and select this pc
- Elastic Block Volumes and ec2 instances to which they are attached will be in Same AZ’s i.e. EBS volume created in one zone cannot be attached to EC2 instance in other zone in same region
- EBS volumes are loaded from different physical server from which ec2 instance is created in same zone. This gives the flexibility of EBS volume can have a life time different than ec2 instance.

- To an EC2 instance additional EBS volumes can be attached while creating ec2 instance or after

- Attaching an EBS Volume to a running ec2 instance

- Partition a new disk

- Mount the disk

- Ensure the disk remains mounted after restarts

- For instance volume limits Refer Here
EBS Volume Types
- EBS provides the following three characteristics for a volume
- SSD:
- General Purpose SSD
- Provisioned IOPS SSD
- HDD:
- Throughput optimized HDD
- Cold HDD
- Previous Generation
- SSD:
- Refer Here for the official documentation
Snapshots:
-
The backup of the EBS Volume is called as EBS Snapshot
-
First backup of EBS Volume is full backup and from there onwards the EBS Backup are incremental

-
Creating Snapshots

-
Using Snapshots we can create volumes in any AZ in same region
-
If we want an EBS volume to be created from snapshot in different region

