Db Flashcards
EBS Volume
Virtual harddrive or block storage volumes.
Even if you stop/terminate an Amazon EC2 instance, all the data on the attached EBS volume remains available.
How do you create an EBS volume?
You define the configuration such as volume size and type and provision it.
You need to create Amazon EBS snapshots (backups)
Amazon EBS do volumes scale?
No + they need to be in the same AZ to attach EC2 instances
to attach an EBS to an EC2, they must be on the same AZ
What is an instance store?
Provides temporary block-level storage for an amazon ec2 instance.
So if the instance is terminated, the data is also lost
What are Amazon EC2 instances?
Virtual Servers.
Object Storage
each object consists of data, metadata and key
Object data?
image, video, text document and any type of file
Metadata
info about what the data is, how its used, the object size and so on.
Object key
unique identifier
Amazon Simple Storage Service (Amazon S3)
it is a service that provides object-level storage. Amazon S3 stores data as objects in buckets.
Max size for amazon s3?
5 TB
Why do you use amazon s3?
to store backup files, media files or archieved documents.
What factors affects Amazon s3?
how often you plan to retrieve you data
how available you need your data to be.
Amazon S3 Standard
Designed for frequently accessed data
Stores data in a minimum of 3 AZ (Available zones)
High cost
Amazon S3 Standard Infrequent Access S3 standard IA
Ideal for infrequently accessed data
Stores data in a minimum of 3 AZ (Available zones)
Similar to Amazon S3 Standard but low storage price and higher retrieval price
Amazon S3 One Zone-Infrequent Access [S3 One Zone IA]
Stores data in a single Availability zone
Has a lower storage price than Amazon S3 Standard IA
Benefits save on cost
easily reproduce data in the event of Availability zone failure
Amazon S3 Intelligent Tiering
Ideal for data with unknown or changing access pattern
Requires a small monthly monitoring and automation fee per object
Amazon S3 Glacier Instant Retrieval
Immediate access to data within milliseconds
Performance is like Amazon S3 Standard
Amazon S3 Glacier Flexible Retrieval
Low cost storage designed for data archiving
Able to retrieve objects withing a few min to hours
For data archiving (insta)
Amazon S3 Glacier Deep Archive
Lowest-cost object storage class ideal for archiving
Able to retrieve objects within 12 hours
All objects from this storage class are replicated and stored across at least three geographically dispersed Availability Zones.
Amazon s3 outposts
Creates S3 buckets on Amazon S3 outposts
Makes it easier to retrieve, store and access data on AWS outposts
Amazon Elastic File System (Amazon EFS)
multiple instances read and write simultaneously
Linux file system
Regional resource
Automaically scales
Serverleas file system
Amazon Relational Database Service
a service that enables you to run relational databases in the AWS Cloud.
Name 6 db engines that amazon rds supports
Amazon Aurora
PostgreSQL
MySQL
MariaDB
Oracle Database
Microsoft SQL Server
Amazon Aurora?
5x faster than standard MySQL db and 3x faster than prostgres SQL
compatible with MySQL + prosgresSQL
1/10 cost of commercial
6 copies at any given time
15 read
conitinuous backup to s3
Non relational Db
In a nonrelational database, you create tables
NoSQL databases
Amazon DynamoDB
a key-value database service. It delivers single-digit millisecond performance at any scale.
It delivers single-digit millisecond performance at any scale.
serverless
scalability
purpose built
fully managed
Amazon Redshift
based on postgresql
use for analytics & data warehouse
OLAP (Online analytical processing) not OLTP (transaction)
Column-based, not row-based
Has SQL console
Not access every seconds
Amazon DocumentDB
Actually Mongo
Neptune
Graph database (like Neo4J)
Highly available
such as recommendation engines, fraud detection, and knowledge graphs.
QLDB
Quantum Ledger DB
For financial transaction
Like blockchain but not decentralized
Managed Blockchain
Hyperledger fabric
Ethereum
EC2
AZ
s3 bucket
regional