Fundamentals Flashcards
aws Fundamentals
- a network drive you can attach to your instances while they run
- data persists even after termination
- Only mounted to one instances at a time
- Bound to a specific AZ
EBS Volume
an EBS volume is bound to one AZ but to be able to move it to another AZ you can ______.
Snapshot it (backup)
- a network drive (a virtual USB stick) can be detached from an EC2 instance and attached to another one quickly
- Or left unattached so it is ready to be used on demand to an AZ
EBS Volume
True or False one EBS volume cannot attached to multiple EC2 instances but one EC2 instance can have multiple EBS volumes?
True
Scenario: After an EC2 instance is terminated that has an EBS volume attached, how you can you preserve the root data stored on EBS?
By default the root EBS volume is deleted and by default the rest of EBS volume is not deleted, so you need to edit EBS in AWS console to change the default settings.
How do you transfer one EBS volume to another one in a different AZ?
take an EBS snapshot of the first EBS Volume and restore it onto your second EBS Volume in the other AZ.
Scenarios:
1. I want to cost effectively archive a snapshot but need it to be restored within 24-72 hours, what can I do?
2. I want to be able to store my snapshots from 1 day or maybe up to a year and retain them in case I accidentally delete them, what can I do?
3. I need to restore a delete snapshot and it needs to be ready to go and latency free asap even though it will cost me, what can i do?
- Use EBS Snapshot Archive
- Use Recycle Bin for EBS Snapshot
- Use Fast Snapshot Restore (FSR)
When launching an EC2 instance, you also need to select this customization _________ which can be built for specific regions and copied across multiple regions that you can add your own software and configurations to.
Amazon Machine Image (AMI)
Scenario: if I want to launch an EC2 instance with a high performing hardware disk but has ephemeral storage, what can i use?
EC2 Instance Store
3 ways you can launch EC2 instances from?
- Public AMI
- Your own custom AMI
- AWS Marketplace AMI
When you see very high performing attached hardware volumes to instances think of? in the read and write IOPS
Local EC2 Instance Store
Name the 6 EBS Volume Types
- GP2 SSD - General Purpose
- GP3 SSD
- IO 1 Block Express SSD
- IO 2 Block Express SSD
- ST 1 HDD
- SC 1 HDD
(GGIISS)
- Which EBS volume types can be used as boot volumes?
- Which 2 EBS volume types are cost effective low latency balances price and performance for a variety of workloads?
- Which 2 EBS volume types is highest performing for mission control low latency high output workloads?
- Which EBS volume is designed to be frequently accessed for intensive workloads?
- Which EBS volume is lowest cost hard disk drive designed for less frequently accessed workloads?
- Which EBS Volume type links size of the volume with IOPS?
- Which EBS Volume type you can independently set the IOPS and throughput?
- GP2/GP3 and IO 1/IO 2 Block Express
- GP2/GP3
- IO 1/IO 2 Block Express
- ST 1 HDD
- SC 1 HDD
- GP 2
- GP 3
- What if I have a database workload that is sensitive to storage perf and consistency?
- Use a Provisioned IOPS SSD (IO 1 IO2)
EBS volume cannot attach to multiple EC2 instances without which feature?
EBS Multi Attach with IO1 or IO2 volume type
What is the max amount of EC2 instances an EBS multi attach volume can be attached to at once?
16