EBS Volume
Does data get lost when EC2 instances associated to it get terminated ?
Can a single EBS unit be mounted on multiple EC2 instances?
Are they bound to specific Availability Zone?
Explain the concepts and usecase of snapshots.
Network USB stick, what is the default size
Multiple EBS can be attached to a single instance
30 GB of free EBS storage (either SSD or HDD)
What is the default configuration of an root EBS volume for when an instance is terminated?
Is the default configuration of the secondary EBS volume the same as root EBS volume?
By default, when an instance is terminated in AWS, the root EBS (Elastic Block Store) volume is deleted automatically, removing all data stored on it.
For secondary EBS volumes, the default behavior upon instance termination depends on how they were created. If you created additional EBS volumes (not the root volume) and attached them to your instance, the default action is that these additional volumes are not deleted. However, you can choose to enable or disable the “Delete on Termination” setting for these secondary volumes during creation or modification. If “Delete on Termination” is enabled for secondary volumes, they will be deleted upon instance termination; otherwise, they remain intact.
So, by default, the root EBS volume is deleted upon instance termination, but the behavior for secondary volumes depends on the “Delete on Termination” setting at the time of their creation or modification.
EBS Snaptshot
What is snapshoting?
What are the different snapshot features?
What are the use cases ?
Concept of making a backup of a EBS volume at a point in time.
Not necessary to detach volume to do snapshot, but recommended
You can copy a snapshot accross AZ or region.
- EBS snapshot Archive (Moves snapshot to archive tier), cheapest approach.
- Recycle Bin for EBS Snapshot (Setup rule for retaining deleted snapshot), data can be retained min 1 day upto 1 year.
- Fast Snapshot Restore (Forceful initialization of snapshot), most expensive
AMI
Full form ?
What does it do ?
What is the AWS scope of AMIs?
Are AMIs readily available ?
Booting is the process of installing foundational software
Booting is the first most process initiated whenever a new instance is sanctioned or switched on.
Instance Store
What makes instance stores better than EBS storage ?
Do they loose their data when EC2 instance is terminated ?
How do you deal with Risk of data loss if hardware fails
Risk of data loss can be dealt with replication by the user, aws isn’t responsible for data loss at EC2 instance store in the scenario the user terminates the instance
What is Amazon EFS?
How is Amazon EFS defined in the context of AWS?
Explain the concept of Amazon EFS.
How does Amazon EFS work for storing data?
Summarize the significance of using Amazon EFS in AWS.
Answer: Amazon EFS (Elastic File System) is a fully managed, scalable file storage service in AWS. It provides a simple and scalable file system for use with Amazon EC2 instances and other AWS services. Amazon EFS supports the Network File System (NFS) protocol, allowing multiple instances to access and share data concurrently.
Real world Use-Case: Imagine a scenario where multiple EC2 instances need to share files for a web application. Amazon EFS allows these instances to mount the same file system, ensuring consistent and shared access to files across all instances.
Amazon EFS is designed for scenarios where scalable and shared file storage is required. It is well-suited for applications and workloads that involve multiple instances requiring concurrent access to shared data.
Amazon EFS is a valuable storage solution that enables users to create scalable and shared file systems in the AWS cloud. It provides flexibility for applications with dynamic storage needs, allowing multiple instances to access and share data seamlessly through the NFS protocol.
What are the differences between EFS and EBS?
How do EFS and EBS differ in their functionalities?
How are EFS and EBS used differently for storing data?
=======================================
EFS is like a library where all your friends can borrow books together, while EBS is more like your personal notebook that only you can write in. EFS allows many computers to share files, like friends sharing books, whereas EBS is for one computer to keep its own stuff safe, like your own special notebook.
EFS is expensive compared to EBS
EFS is for sharing files among many computers, and EBS is for individual computers to store their own data separately.
Which Amazon Elastic Block Store (EBS) volume types can be used as boot volumes for EC2 instances?
Good Performance GPs and Pro IOPS for Boots