Module 5 Instance Stores and Amazon Elastic Block Store (Amazon Store)
Module 5 Instance Stores and Amazon Elastic Block Store (Amazon Store)
Module 5 Instance Stores and Amazon Elastic Block Store (Amazon Store)
Learning objectives
Instance stores
To review an example of how instance stores work, choose the arrow buttons to
display each step.
1.
All data on the attached instance store is deleted.
1.
Amazon Elastic Block Store (Amazon EBS)(opens in a new tab) is a service that
provides block-level storage volumes that you can use with Amazon EC2
instances. If you stop or terminate an Amazon EC2 instance, all the data on the
attached EBS volume remains available.
To create an EBS volume, you define the configuration (such as volume size and
type) and provision it. After you create an EBS volume, it can attach to an Amazon
EC2 instance.
Because EBS volumes are for data that needs to persist, it’s important to back up
the data. You can take incremental backups of EBS volumes by creating Amazon
EBS snapshots.
Incremental backups are different from full backups, in which all the data in a
storage volume copies each time a backup occurs. The full backup includes data
that has not changed since the most recent backup.
Knowledge check
For guidance on navigating this question using the keyboard, expand the following
keyboard instructions.
Object storage
The data might be an image, video, text document, or any other type of file.
Metadata contains information about what the data is, how it is used, the object
size, and so on. An object’s key is its unique identifier.
Recall that when you modify a file in block storage, only the pieces that are
changed are updated. When a file in object storage is modified, the entire object is
updated.
When you upload a file to Amazon S3, you can set permissions to control visibility
and access to it. You can also use the Amazon S3 versioning feature to track
changes to your objects over time.
With Amazon S3, you pay only for what you use. You can choose from a range of
storage classes(opens in a new tab) to select a fit for your business and cost
needs. When selecting an Amazon S3 storage class, consider these two factors:
To learn more about Amazon S3 storage classes, expand each of the following
eight categories.
Knowledge check
For guidance on navigating this question using the keyboard, expand the following
keyboard instructions.
You want to store data that is infrequently accessed but must be immediately
available when needed. Which Amazon S3 storage class should you use?
S3 Intelligent-Tiering
S3 Standard-IA
Incorrect
The S3 Standard-IA storage class is ideal for data that is infrequently accessed but
requires high availability when needed. Both S3 Standard and S3 Standard-IA store
data in a minimum of three Availability Zones. S3 Standard-IA provides the same
level of availability as S3 Standard but at a lower storage price.
The other response options are incorrect because:
To start the video on comparing Amazon EBS and Amazon S3, choose the play
button.
S3 Standard
• Designed for frequently accessed data
• Similar to Amazon S3 Standard but has a lower storage price and higher
retrieval Price
Amazon S3 Standard-IA is ideal for data infrequently accessed but requires high
availability when needed. Both Amazon S3 Standard and Amazon S3 Standard-IA
store data in a minimum of three Availability Zones. Amazon S3 Standard-IA
provides the same level of availability as Amazon S3 Standard but with a lower
storage price and a higher retrieval price.
• You can easily reproduce your data in the event of an Availability Zone
failure.
S3 Intelligent – Tiering
S3 Glacier Flexible Retrieval is a low-cost storage class that is ideal for data
archiving. For example, you might use this storage class to store archived
customer records or older photos and video files. You can retrieve your data from
S3 Glacier Flexible Retrieval from 1 minute to 12 hours.
S3 Deep Archive supports long-term retention and digital preservation for data that
might be accessed once or twice in a year. This storage class is the lowest-cost
storage in the AWS Cloud, with data retrieval from 12 to 48 hours. All objects from
this storage class are replicated and stored across at least three geographically
dispersed Availability Zones.
S3 Outposts
The S3 Standard-IA storage class is ideal for data that is infrequently accessed but
requires high availability when needed. Both S3 Standard and S3 Standard-IA store
data in a minimum of three Availability Zones. S3 Standard-IA provides the same
level of availability as S3 Standard but at a lower storage price.
File storage
In file storage, multiple clients (such as users, applications, servers, and so on)
can access data that is stored in shared file folders. In this approach, a storage
server uses block storage with a local file system to organize files. Clients access
data through file paths.
Compared to block storage and object storage, file storage is ideal for use cases in
which a large number of services and resources need to access the same data at
the same time.
Amazon Elastic File System (Amazon EFS)(opens in a new tab) is a scalable file
system used with AWS Cloud services and on-premises resources. As you add and
remove files, Amazon EFS grows and shrinks automatically. It can scale on
demand to petabytes without disrupting applications.
Select each of the cards below to review a comparison of Amazon EBS and
Amazon EFS.
Amazon EBS
To attach an Amazon EC2 instance to an EBS volume, both the Amazon EC2
instance and the EBS volume must reside within the same Availability Zone.
Amazon EFS
Amazon EFS is a regional service. It stores data in and across multiple Availability
Zones.
The duplicate storage enables you to access data concurrently from all the
Availability Zones in the Region where a file system is located. Additionally, on-
premises servers can access Amazon EFS using AWS Direct Connect.
Relational databases
Relational databases use structured query language (SQL) to store and query
data. This approach allows data to be stored in an easily understandable,
consistent, and scalable way. For example, the coffee shop owners can write a
SQL query to identify all the customers whose most frequently purchased drink is
a medium latte.
Amazon RDS provides a number of different security options. Many Amazon RDS
database engines offer encryption at rest (protecting data while it is stored) and
encryption in transit (protecting data while it is being sent and received).
Amazon RDS is available on six database engines, which optimize for memory,
performance, or input/output (I/O). Supported database engines include:
• Amazon Aurora
• PostgreSQL
• MySQL
• MariaDB
• Oracle Database
• Microsoft SQL Server
Amazon Aurora
Consider Amazon Aurora if your workloads require high availability. It replicates six
copies of your data across three Availability Zones and continuously backs up your
data to Amazon S3.
Amazon DynamoDB
Nonrelational databases
In a nonrelational database, you create tables. A table is a place where you can
store and query data.
In a key-value database, you can add or remove attributes from items in the table
at any time. Additionally, not every item in the table has to have the same
attributes.
Key Value
Amazon DynamoDB
Serverless
DynamoDB is serverless, which means that you do not have to provision, patch, or
manage servers.
Automatic scaling
The other three response options are scenarios in which you should use Amazon
DynamoDB.
Amazon Redshift
Amazon Redshift(opens in a new tab) is a data warehousing service that you can
use for big data analytics. It offers the ability to collect data from many sources
and helps you to understand relationships and trends across your data.
AWS Database Migration Service (AWS DMS)(opens in a new tab) enables you to
migrate relational databases, nonrelational databases, and other types of data
stores.
With AWS DMS, you move data between a source database and a target database.
The source and target databases(opens in a new tab) can be of the same type or
different types. During the migration, your source database remains operational,
reducing downtime for any applications that rely on the database.
For example, suppose that you have a MySQL database that is stored on premises
in an Amazon EC2 instance or in Amazon RDS. Consider the MySQL database to be
your source database. Using AWS DMS, you could migrate your data to a target
database, such as an Amazon Aurora database.
To review other use cases for AWS DMS, select each of the following flashcards.
Continuous replication
Sending ongoing copies of your data to other target sources instead of doing a one-
time migration
To learn more about additional database services, expand each of the following six
categories.
You can use Amazon Neptune to build and run applications that work with highly
connected datasets, such as recommendation engines, fraud detection, and
knowledge graphs.
You can use Amazon QLDB to review a complete history of all the changes that
have been made to your application data.
Amazon Managed Blockchain(opens in a new tab) is a service that you can use to
create and manage blockchain networks with open-source frameworks.
• Amazon S3
• Amazon EFS
• Amazon Redshift
• AWS DMS