- launch the instance
- select the window os
- create private key
- add one additional volume 10 gb
- go to ebs volume and see the two volumes one is root volume and other one is disk d volume.
- go to the instances and select the instance
enter the password which copy from the RDP by uploading the private key and generate the password
- the virtual remote disktop is open
- go to the disk management there are two volume which are created at the time of launch instance
in disk d an text file created and add the text and save it
- its text saved file
- create the snapshot
from remote disktop its also vanished/deleted
- select the snapshot and click on action
- click on create volume from snapshot
- here you can increase the size of snapshot(backup) volume but can't be decrease of the original snapshot size
- click on create
- here the volume is created from the snapshot its size is 11gb and the old disk d was 10gb
- the time is to attach this volume to the instance you want but the AZ should be same both of instance and volume
- here there are disk d previous configure disk and 1 gb extra now we configure it and name it disk e
- from disk d the file is successfully restore
- also the text we added its save
- go to aws snapshots section
- click on recycle bin
- apply all and enter the days that how many days an snapshot should be in recycle bin and its auto delete after that
- there are two option lock which means recycle bin locked only root user access it
- and other one is unlock means other user also can access recycle bin
- click on create retention rule
- select the snapshot and delete it
- there are no snapshots
- but its also in recycle bin and we can restore it very easily
- snapshots successfully restored