Quantcast
Channel: Cloud Training Program
Viewing all articles
Browse latest Browse all 1891

AWS Database Service – Amazon RDS, Aurora, DynamoDB, ElastiCache

$
0
0

AWS Database Service is Amazon’s fully managed and scalable database solution for your applications.  Amazon provides a wide range of database options such as Amazon RDS, Aurora, DynamoDB, ElasticCache, and Redshift.

In this blog, I will be covering various AWS database services including Amazon RDS; the first AWS database offering. We will also cover basic features, overview, and use cases for each of these services.

AWS Database Service

AWS offers a wide range of database options that you can choose for your applications. AWS database service mainly falls into two categories: Relational and non-relational.

  • Amazon RDS – Aurora, Oracle, PostgreSQL, MySQL, MariaDB, SQL Server
  • DynamoDB
  • ElasticCache – Memcached, Redis
  • Redshift

aws database options

Amazon Relational Database Service (Amazon RDS)

Relational databases store data in a table form with rows and columns and use SQL query language to query the data. In these databases, columns represent attributes and rows represent records. Each field in the table represents a data value.

Amazon Relational Database Service (Amazon RDS) makes it easy to spin up a database in the AWS cloud in just a few minutes. Amazon RDS is the most commonly used and a managed database service that automates all the time-consuming administration tasks such as provisioning, setup, patching, and backups.

Amazon RDS provides six different relational database options:

  • Amazon Aurora
  • Oracle Database
  • PostgreSQL
  • MySQL
  • MariaDB
  • Microsoft SQL Server

AmazonRDS options

Amazon RDS Use Cases

  • Web and mobile applications
  • E-Commerce applications
  • Mobile and online games

Amazon RDS has two main features:

1. Multi-AZ Deployments

Amazon RDS Multi-Az deployments provide high availability and failover support. Amazon RDS  allows you to have multiple copies of your database in multiple availability zones. Amazon RDS creates a synchronous standby replica of your DB instance in another Availability Zone and automatically switches or failover to a standby replica in another Availability Zone in case of a planned or unplanned outage if you have enabled Multi-AZ.

aws multiAZ

Multi-AZ is available for the following databases:

  • SQL Server
  • Oracle
  • MySQL Server
  • Postgre SQL
  • MariaDB

2. Read Replicas

AWS RDS Read replicas provides the benefit that allows you to have a read-only copy of your database in the same or a different region thereby reducing latency. Whenever there is a change to the source database instance, the updates are asynchronously copied to the read replica. Read replicas are primarily used for read-heavy database workloads.

aws read replicas

Read Replicas are available for the following databases:

  • MySQL Server
  • PostgreSQL
  • MariaDB
  • Oracle
  • Aurora

Amazon DynamoDB

DynamoDB is Amazon’s long-running NoSQL database solution since 2012. NoSQL databases originally refer to as “non-SQL” or “not only SQL” or “non-relational” databases. NoSQL is commonly used to handle big data – large volumes of unstructured or semi-structured data.

Amazon DynamoDB is a fast, fully managed NoSQL database service that supports flexible data models such as both document and key-value data models. It is used for all applications that need consistent, single-digit millisecond performance latency at any scale.

Amazon DynamoDB Use Cases

  • Ad tech
  • Gaming
  • Retail
  • Banking and finance
  • Media and entertainment
  • Software as a service (SaaS)

Amazon ElastiCache

ElastiCache is AWS in-memory database solution that makes it easy to deploy, operate, and scale an in-memory cache in the cloud. It provides faster retrieval of information from fast, managed, in-memory caches instead of relying entirely on slower disk-based databases, thereby improving the performance of web applications.

Elasticache

Amazon ElastiCache offers two open-source in-memory cache database engines:

  1. Memcached: Simple and easy solution to start with, ideal for small and static data.
  2. Redis: It provides support for Multi-AZ, backup & restore, and persistence. It is ideal for more dense and complex data.

Let’s take a look at some basic differences between Memcached and Redis.

memcached vs redis

Amazon ElastiCache Use Cases

  • Session stores
  • Gaming
  • Geospatial services
  • Real-time analytics

Amazon Redshift

Amazon Redshift is a data warehousing solution used for business intelligence applications. It is a fast and powerful, fully managed, petabyte-scale data warehouse service in the cloud. This service manages all the work of setting up, operating and scaling a data warehouse. It also manages all administrative tasks including provisioning capacity, monitoring and backing up the cluster, and applying patches and upgrades to the Amazon Redshift engine.

amazon redshift cluster architecture

An Amazon Redshift cluster is a set of nodes, which has one leader node and one or more compute nodes. Each cluster contains one or more databases and runs an Amazon Redshift engine. The type and number of compute nodes that you need depend on the size of your data, the number of queries you will execute, and the query execution performance that you need.

Amazon Aurora

Amazon Aurora is the managed relational database solution of AWS. It is a MySQL and PostgreSQL-compatible relational database engine that improves the speed and high-availability of databases. Recently, AWS also launched the serverless and multi-master versions of Aurora, and any of these features can alone be the reason to choose it.

Amazon Aurora delivers up to five times the performance of  MySQL and three times the performance of PostgreSQL databases at a much lower price. It also supports cross-region read replicas.

aurora-storage

Aurora provides more reliability in terms of storage. Its database storage is separate from the instances. Aurora allows your data to be replicated in 6 storage nodes, each of 10GB chunks, distributed in 3 Availability Zones. For each Aurora database instance, you will have 6 copies of your data, two in each Availability Zone.

Amazon Aurora Use Cases

  • Enterprise applications
  • Software as a Service (SaaS) offerings
  • Web and mobile gaming applications

Related/References

Next Task For You

We cover AWS Database Services in our AWS Certified Solutions Architect Associate [SAA-C02] training along with Amazon RDS, read replicas, SQL and NoSQL databases, DynamoDB, ElastiCache, Memcached, and Redis, and much more including the hands-on labs you must perform to clear the certification.

Begin your journey towards becoming a Certified AWS Solution Architect Associate by joining our FREE Class.

Click on the below image to Register for the FREE Class Now!
Free Masterclass

The post AWS Database Service – Amazon RDS, Aurora, DynamoDB, ElastiCache appeared first on Cloud Training Program.


Viewing all articles
Browse latest Browse all 1891

Trending Articles