JAVA SCRIPT

AWS CLOUD PRACTIONER EXAM NOTES - 16

1. Amazon DynamoDB
2. Aurora
3. Elastic cache
4. RDS



Amazon DynamoDB (schema-less.)
Amazon DynamoDB is a fully managed NoSQL database service that provides 
fast and  predictable performance with seamless scalability.

NoSQL type of database (non-relational).Fast, highly available fully managed.
Used when data is fluid and can change. used in social networks and web analytics.

"Push button scaling" means that you can scale the DB at any 
time without incurring downtime.

DynamoDB supports cross-region replication which 
in its latest implementation is now known as Global Tables.
"A Global table" gives you the capability to replicate a single table across 
1 or many alternate regions and in doing so protects your table from regional outages

All of your data is stored on solid-state disks (SSDs) and is automatically
replicated across multiple Availability Zones in an AWS Region, providing 
built-in high availability and data durability
 

Amazon DynamoDB global tables provides a fully managed solution for 
deploying a multi-region, multi-master database.

_________________________________________________________________________________________

Amazon ElastiCache
ElastiCache is a web service that makes it easy to deploy and run 
Memcached or Redis protocol-compliant server nodes in the cloud.

The in-memory caching provided by ElastiCache can be used to significantly 
"improve latency" and throughput for many read-heavy application workloads or 
compute-intensive workloads. 

ElastiCache can be used for storing session state.

There are two types of ElastiCache engine:

Memcached - simple model. use to cache frequent queries in front of RDS.
 
Redis     - complex model. use to cache  with load-balanced web servers, store web                    session information in Redis so if a server is lost, the session info  
            is not lost, and another web server can pick it up   

_________________________________________________________________________________________

Amazon Aurora

Amazon Aurora (Aurora) is a fully managed relational database engine 
that's compatible with MySQL and PostgreSQL. 

Amazon Aurora is designed to offer 99.99% availability, replicating 6 copies 
of your data across 3 Availability Zones and backing up your data continuously
to Amazon S3.

Aurora can deliver up to 5 times the throughput of MySQL and up to 3 times 
the throughput of PostgreSQL without requiring changes to most of your 
existing applications. 

Amazon Aurora is fully managed by Amazon Relational Database Service (RDS), 
which automates time-consuming administration tasks like hardware
provisioning, database setup, patching, and backups.

Aurora management operations typically involve entire clusters of database servers 
that are synchronized through replication, instead of individual database instances.

Aurora also automates and standardizes database clustering and replication.

_________________________________________________________________________________________

Amazon RDS
is a managed service that makes it easy to set up, operate, and scale a                   "relational database"(sql) in the cloud.
   
RDS is an Online Transaction Processing (OLTP) type of database.

RDS features and benefits:

SQL type of database , Can be used to perform complex queries and joins.
Easy to setup, highly available, fault tolerant, and scalable.
Used when data is clearly defined. used in online stores and banking systems.

Amazon RDS supports the following database engines:
SQL Server. Oracle. MySQL Server. PostgreSQL. Aurora. MariaDB.

RDS is a fully managed service and you do not have access to the
underlying EC2  instance (no root access).

The RDS service includes the following:

You can use the database products you are already familiar with: 
MySQL, MariaDB, PostgreSQL, Oracle, Microsoft SQL Server.

Amazon RDS manages backups, software patching, automatic failure detection, and recovery.

You can turn on automated backups, or manually create your own backup snapshots. 
You can use these backups to restore a database. 

You can get high availability with a primary instance and a synchronous 
secondary instance that you can fail over to when problems occur. 

You can also use read replicas to increase read scaling.

In addition to the security in your database package, you can help control who 
can access your RDS databases by using AWS Identity and Access Management (IAM)
to define users and permissions. 

You can also help protect your databases by putting them in a virtual private cloud (VPC)
____________________________________________________________________________________

No comments:

Post a Comment