EC2 - RAID, Volumes & Snapshots Flashcards
What does RAID stand for?
Redundant Array of Independent Disks (putting together a bunch of disks as one disk)
RAID types
RAID 0, RAID 1, RAID 5, RAID 10
RAID 0
Striped, No Redundancy (if one disk fails, the entire volume fails), Good Performance (use: gaming)
RAID 1
Mirrored (take one disk, mirror a copy to another disk), Redundancy
RAID 5
at least 3 disks, good for reads, bad for writes, AWS does not recommend ever putting RAID 5’s on EBS
RAID 10
Striped & Mirrored, good redundancy, good performance
Where are RAID volumes used on AWS?
If you do not get disk I/O you require, add multiple volumes and create RAID array (usually RAID 0 or RAID 10 on AWS)
Best practice when launching Windows instances
Create a new keypair for Windows instances, separate from Linux instances
Username, password for Windows instances
User = Administrator Password = upload private key file into "Retrieve Password" window to obtain password
To manage disks…
Right-click, Disk Management. Right-click on an unallocated volume and choose volume type you want to create, select drive you want the RAID volume assigned to
How can I take a Snapshot of a RAID array - background?
Problem - Take a snapshot, the snapshot excludes data held in the cache by apps and the OS. This tends not to matter on a single volume; however, using multiple volumes in a RAID array, this can be a problem due to interdependencies of the array.
Solution - Take an application consistent snapshot
How can I take a Snapshot of a RAID array - continued
Stop the application from writing to disk. Flush all caches to the disk.
How can we do this? Freeze the file system, unmount the RAID array, shut down the associated EC2 instance (easiest)