The official name is Amazon Relational Database Service
, abbreviated as RDS
.
It’s basically Amazon’s version of a relational database. You can use MySQL and PostgreSQL, but personally, I’m also interested in trying Amazon Aurora
. I guess Amazon provides all sorts of convenient database services, though I don’t know all the details yet.
RDS uses EBS
for data storage. The available EBS storage types are:
You can expand storage online, but performance may drop.
When creating a DB instance in RDS, you can simply select Multi-AZ configuration, and AWS will automatically set up the environment needed for DB redundancy.
AZ
stands for Availability Zone
. There are two or more availability zones in a single region.
The reason for having multiple availability zones is to design for failure. Even if one availability zone goes down due to a disaster, another can take over, making the system highly resilient.
So, having multiple availability zones = being in multiple zones = Multi-AZ configuration. Just remember it that way.
However, there are some drawbacks to this convenient Multi-AZ configuration in RDS:
A Read Replica
is a service that allows you to create a DB instance dedicated to read operations, separate from the main RDS instance. The name in English is Read Replica
, which is easy to remember.
Data synchronization between the master and read replica is asynchronous, so depending on timing, updates to the master may not be immediately reflected in the read replica. However, unlike Multi-AZ, it doesn’t affect the performance of the master DB.
When creating an Aurora instance, three types of endpoints (FQDN) are created: cluster endpoint, reader endpoint, and instance endpoint.
Amazon Redshift is a data service for data warehousing provided by AWS. A data warehouse
is essentially a warehouse for data
. It allows you to store data chronologically and enables you to utilize that data.
Consists of Redshift cluster, leader node, and compute node. The key to mastering Redshift is how to create a distribution structure that allows processing to be completed without spanning multiple compute nodes.
A highly scalable Key-Value type database. Personally, I’m also paying attention to it, and the fact that it requires less operational overhead is attractive.
I haven’t designed DynamoDB yet, but this is the most important part.
DynamoDB also has local secondary indexes and global secondary indexes, but these are not the essence of how to use a Key-Value type database, so in some cases, it might be better to consider switching to an RDB.
An in-memory database service provided by AWS. If you’re at the level of AWS Architect certification, you can probably get by just remembering that ElastiCache
is an in-memory database service
.
What is an in-memory database service?
An in-memory database is a type of specialized database. Unlike databases that store data on disks or SSDs, they primarily rely on memory for data storage. In-memory databases are designed to achieve minimal response times by eliminating the need to access disks. Since all data is stored and managed only in the main memory, there is a risk of data loss due to processing or server failures. However, in-memory databases can persist data by logging all operations or taking snapshots.
In-memory databases are ideal for applications that require microsecond response times and may experience traffic spikes at any time, such as game leaderboards, session stores, and real-time analytics.
What is an in-memory database?
As always, it’s full of technical terms and hard to understand, but the bottom line is that it’s faster because it relies on memory instead of SSDs or other storage.
A managed cluster platform for processing and analyzing large amounts of data using big data frameworks like Apache Hadoop and Apache Spark.
When you see the term big data, just think of Amazon EMR
.
Amazon Athena is an interactive query service that makes it easy to analyze data in Amazon S3 using standard SQL.
Athena
is serverless, so you don’t have to manage any infrastructure.
When you see words like s3
, sql
, or query
, just think of Amazon Athena
.
AWS provides ample documentation, so you might not need books. However, when it comes to exam preparation, paper books that you can open anywhere are convenient, so it’s worth buying some reference books.