Module 5: Storage and Databases Flashcards
What are the 3 AWS storage types?
Block
Object
File
What is block storage and what is it used for?
Files are separated into equal sized pieces (blocks) or data
Used for applications that run on amazon EC2 instances
What are the two types of block storage and how are they different?
Instance stores - stores data temporarily but when the EC2 instance is stopped, the data is deleted.
EBS volumes - is attached to an instance and stored data even when the instance is stopped or terminated. Better for data retention.
What are the components of an object that is stored?
Data, metadata and a key
Data is the information. Metadata is the information about the data (type, size etc). Key is what’s used to identify the object.
What are the key features of object storage? (3) and what is the service callled?
Store objects in buckets
Set permissions control to access objects
Choose from a range of storage classes for different use cases
S3 - Simple storage service
What are the 6 storage classes? What are their key features?
S3 standard - Designed for frequently accessed data. Stored in 3 AZs
S3 standard IA - Ideal for infrequently accessed data. Like standard but has a lower storage price and higher access price.
S3 one-zone IA - Stored data in 1 AZ. Lower storage price than standard IA.
S3 intelligent tiering - Ideal for data with unknown or changing access patterns. Requires a small monthly monitoring and automation fee
S3 glacier - Low cost storage for archiving. Can retrieve data in minutes-hours
S3 glacier deep archive - Lowest cost storage. Able to retrieve in 12 hours.
What is file storage?
Multiple clients can access data that is stored in shared file folders
What is a relational database service (RDS)?
Data that is stored such that they relate to other pieces of data. Typically use SQL to store and query data. Can use rows and columns.
What is a nonrelational database service (NDS)?
Data is stored under a value with a key to identify it. Uses key-value pairs.
What is the flagship AWS RDS? What are the benefits?
Amazon Aurora - Store data in an enterprise class relational database, reduce databse costs by elimination unnecessary input/output operations, replicate six copies of data across three AZs for redundancy
What is AWS’s flagship NDS?
Amazon DynamoDB - the serverless, no SQL-type database means you can store petabytes of data and scale up or down seamlessly. Amazon’s ecom store uses DynamoDB.