AWS Backbone Flashcards
How do you create an EC2 volume copy in different Availability Zone?
6 Steps:
From AWS Console > Elastic Block Store > Volumes
1. Create a Snapshot of existing volume (Actions > Create Snapshot)
2. After Snapshot finishes creating go to Snapshots (left sidebar) and select the Snapshot you created
4. Actions > Create Volume
5. In the Create Volume dialog, select the desired AZ
6. Click the Create Volume button at the bottom.
How do you move an EC2 volume to another Region?
5 Steps:
From AWS Console > Elastic Block Store > Snapshots
1. Copy Snapshot (Actions > Copy)
2. Specify new Region
3. Create Image of new Snapshot (Actions > Create Image)
4. After Image creates, go to Images > AMIs (left sidebar) and select the newly created image.
5. Click Launch and proceed as though launching any EC2 instance.
How do you mount an EBS volume to an EC2 instance in a different AZ?
Trick question. You can only mount EC2 instances to EBS volumes in the same AZ.
How many ways can you create an AMI?
2 ways:
- From a snapshot of an EC2 instance
- From the EC2 instance itself
True or False: EBS volumes and snapshots are deleted when an EC2 instance is terminated.
False. You must go back after instance termination and delete any remaining EBS Volumes and/or snapshots.
True or False: You can change EBS volume sizes on the fly
True.
What does AMI stand for?
Amazon Machine Image
True or False: You can share encrypted snapshots
False. snapshots can only be shared if unencrypted
What is RAID?
Redundant Array of Independent Disks
Define RAID 0
Striped, No redundancy, Good Performance
Define RAID 1
Mirrored, Redundancy. An exact copy to another disk.
Define RAID 5
Striped, with parity. Good for reads, bad for writes.
True or False: AWS recommends RAID 5 as the best database configuration on EBS
False. AWS does not recommend putting RAID 5’s on EBS
Define RAID 10
Striped and mirrored. Good Redundancy. Good Performance.
What are the two most recommended RAID configurations for AWS?
RAID 0 or RAID 10