AWS Databases & Storage Flashcards
What is the purpose of an instance store in Amazon EC2?
An instance store provides temporary block-level storage for an EC2 instance, but the data is lost when the instance is terminated.
What happens to the data on an attached instance store when an EC2 instance is stopped or terminated?
All data on the attached instance store is deleted.
How does Amazon Elastic Block Store (EBS) differ from an instance store?
EBS provides block-level storage volumes that persist even when an EC2 instance is stopped or terminated, while an instance store provides temporary storage that is tied to the lifespan of the instance.
How can you back up data stored in EBS volumes?
You can create EBS snapshots, which are incremental backups capturing only the changed blocks of data since the most recent snapshot.
What is the difference between incremental backups and full backups in relation to EBS snapshots?
Incremental backups only capture the changed blocks of data since the most recent snapshot, while full backups copy all the data in the volume each time a backup occurs.
What happens to the data on an EBS volume when an EC2 instance is stopped or terminated?
The data on the attached EBS volume remains available and persists even when the instance is stopped or terminated.
What should be done to ensure the persistence of data stored in EBS volumes?
It is important to back up the data by creating EBS snapshots.
How are instance store and EBS volumes different in terms of data persistence?
Instance store data is temporary and tied to the lifespan of the instance, while data on EBS volumes persists even when the instance is stopped or terminated.
What is an instance store?
An instance store is a temporary block-level storage volume that is attached to an Amazon EC2 instance.
Instance stores are physically attached to the host computer for an EC2 instance, and therefore have the same lifespan as the instance.
When the instance is terminated, you lose any data in the instance store.
What are the benefits of using instance stores?
Instance stores are fast and can provide high throughput.
Instance stores are easy to use and can be provisioned quickly.
What are the benefits of using instance stores?
Instance stores are fast and can provide high throughput.
Instance stores are easy to use and can be provisioned quickly.
What are the limitations of using instance stores?
Instance store data is not persistent.
Instance store capacity is limited.
What is Amazon EBS?
Amazon EBS is a service that provides block-level storage volumes that you can use with Amazon EC2 instances.
EBS volumes are persistent, so your data is not lost if you stop or terminate an Amazon EC2 instance.
EBS volumes are available in a variety of sizes and types, so you can choose the right one for your needs.
What are the benefits of using Amazon EBS?
EBS volumes are persistent.
EBS volumes are available in a variety of sizes and types.
EBS volumes are highly reliable
What are the limitations of using Amazon EBS?
EBS volumes can be more expensive than instance stores.
EBS volumes can take longer to provision than instance stores.
What is an EBS snapshot?
An EBS snapshot is an incremental backup of an EBS volume.
Incremental backups only copy the blocks of data that have changed since the most recent snapshot.
EBS snapshots can be used to restore an EBS volume to a previous point in time.
What are the benefits of using EBS snapshots?
EBS snapshots can be used to protect your data from accidental deletion or corruption.
EBS snapshots can be used to restore an EBS volume to a previous point in time.
What are the limitations of using EBS snapshots?
EBS snapshots can take up storage space.
EBS snapshots can be slow to create
What are the best practices for using instance stores and EBS?
Use instance stores for temporary data that does not need to be persistent.
Use EBS for data that needs to be persistent, such as databases, application logs, and user files.
Optimize your EBS volumes for your specific workload. For example, if you are running a database, you might want to use a provisioned IOPS volume.
Back up your EBS volumes regularly.
Use EBS snapshots to protect your data from accidental deletion or corruption.
When should I use instance stores and when should I use EBS?
Use instance stores when you need temporary storage that is fast and easy to use.
Use EBS when you need persistent storage that is reliable and scalable.
If you are not sure whether to use instance stores or EBS, you can start with instance stores and then switch to EBS if you need more storage or if your data needs to be persistent.
How do I manage the costs of using instance stores and EBS?
Monitor your usage of instance stores and EBS to make sure that you are not overpaying.
Use the right size EBS volumes for your needs.
Use EBS snapshots to reduce the amount of storage space that you need.
Delete EBS volumes that you no longer need
What is Amazon S3?
Amazon S3 is a service that provides object-level storage.
Amazon S3 stores data as objects in buckets.
You can upload any type of file to Amazon S3, such as images, videos, text files, and so on.
Amazon S3 offers unlimited storage space.
The maximum file size for an object in Amazon S3 is 5 TB.
What are the limitations of using instance stores?
Instance store data is not persistent.
Instance store capacity is limited.
Amazon S3 Storage Classes
Amazon S3 Standard
Amazon S3 Standard-Infrequent Access (S3 Standard-IA)
Amazon S3 One Zone-Infrequent Access (S3 One Zone-IA)
Amazon S3 Intelligent-Tiering
Amazon S3 Glacier Instant Retrieval
Amazon S3 Glacier Deep Archive