TechWriterDev
  • Cloud
    • AWS
      • 00_Doubts
      • CloudPractitioner
        • Cloud Computing
        • AWS Global Infrastructure
        • Introduction to AWS EC2
        • Elastic load balancer(ELB)
        • 04_Messaging_Queuing
        • Aditional Computing Service
        • Accessing AWS resources
        • AWS Networking
        • Storage
        • Amazon Database Solutions
        • Monitoring Tools
        • AWS Security
        • Distributed Denial Of Service Attacks
      • DeveloperAssociate
        • References
        • AWS DVA-C02 Services Index
        • Services
          • 00_IAM
            • Identity and Access Management (IAM)
            • Account Protection Mechanisms
            • Access Mechanism of AWS Resources
            • Security Tools
            • Responsibility Model
            • Advanced Concepts
          • 01_EC2
            • Elastic Compute Cloud (EC2)
            • EC2 Volume Types
            • Amazon Machine Image (AMI)
            • AWS charges for IPv4 address
          • 02_SecurityGroups
            • Security Groups
          • 03_Elastic_LoadBalancing
            • Terminology
            • Elastic load balancer
            • Features
            • Basics
          • 04_AutoScaling
            • Auto Scaling
          • 05_RDS
            • Relational Database Service (RDS)
            • Aurora
            • Security
            • RDS Proxy
          • 06_ElastiCache
            • Cache
            • Cache Offerings
          • 07_Route53
            • Basics of DNS
            • Route 53
          • 08_VPC
            • Virtual Private Cloud (VPC)
          • 09_S3
            • Simple Storage Service (S3)
            • S3 Features
            • S3 Encryption
            • S3 Features
            • S3 Bucket Policy and IAM Policy
          • 10_ECS
            • Elastic Container Service (ECS)
            • Elastic Container Registry (ECR)
            • AWS Copilot
          • 11_EKS
            • Elastic Kubernetes Service (EKS)
          • 12_SDK_CLI_Tips
            • Access AWS Resources
          • 13_CloudFront
            • Cloud Front
          • 14_Messaging
            • Simple Queue Service (SQS)
            • Simple Notification Service (SNS)
            • Fan Out Pattern
            • Kinesis
            • Compare and Contrast
          • 15_ElasticBeanStalk
            • Elastic Beanstalk
          • 16_CloudFormation
            • CloudFormation
            • Dynamic References
          • 17_Monitoring
            • AWS Monitoring
            • AWS CloudWatch
            • CloudWatch Alarms
            • Synthetics Canary
            • Amazon EventBridge (formerly CloudWatch Events)
            • X-Ray
            • OpenTelemetry
            • CloudTrail
          • 18_Lambda
            • Lambda
            • Lambda Integrations
            • Configuring Lambda
            • Lambda Layers
          • 19_API_Gateway
            • API Gateway
            • API Gateway Integrations
          • 20_DynamoDB
            • DynamoDB
            • Operations
            • Indexes
            • DynamoDB Accelerator (DAX)
            • DynamoDB Streams
            • Transactions
            • Integrations
          • 21_CICD
            • CICD
            • CodeCommit
            • CodePipeline
            • CodeBuild
            • CodeDeploy
            • CodeArtifact
            • CloudGuru
          • 22_SAM
            • Serverless Application Model (SAM)
          • 23_CDK
            • Cloud Development Kit (CDK)
          • 24_StepFunctions
            • Step Functions
            • Types of step function
          • 25_AppSync
            • AppSync
          • 26_Amplify
            • Amplify
          • 27_STS
            • Security Token Service (STS)
          • 28_DirectoryService
            • Active Directory
          • 29_KMS
            • Encryption
            • KMS API
            • Features
            • Cloud Hardware Security Module (HSM)
          • 30_SSM_Store
            • SSM Parameter Store
          • 31_SecretsManager
            • Secrets Manager
          • 32_Cognito
            • Cognito
      • Questions
        • AWS_Region
        • EC2
        • IAM
  • Database
    • MongoDb
      • Mongo db Basics
      • Mongo DB Atlas
      • Document
      • Import-Export based on Data Format
      • Mongo Shell Commands
      • Query Operators
      • Indexes
      • Upsert
      • MongoDB Aggregation Framework
      • Aggregation Framework Operators
    • PostgreSQL
      • POSTGRE SQL DataTypes
      • About table
      • Constraints
  • Technologies
    • RabbitMQ
      • RabbitMQ Concepts
      • Introduction to Exchanges
      • Introduction to Queues
    • Terraform
      • 00_Introduction
      • Configuration blocks
      • Commands
      • Variables
      • Terraform Cloud
      • Modules
  • Languages
    • Java
      • Logging
        • Getting Started
      • 00_Core
        • 00_Basics
          • Java Vs C++
          • Object oriented principles
          • Steps to compile a java program
          • JVM Internals
          • Understanding Java Development Kit
          • What is JIT Compiler?
          • Java data types
          • 07_identifiers_type_conversion
          • 08_references_and_packages
          • Steps for attaching scanner
        • Concurrency
          • 00_Threads
            • Threads
          • 01_ExecutorFramework
            • Executor Framework
            • Asynchronous Computation
      • 01_Backend
        • 01_HttpAndWebServerBasics
          • HTTP
          • Content Type
          • Web Server
        • 02_J2EE_Basics
          • J2EE_Basics
          • Why HttpServlet classs is declared as abstract class BUT with 100 % concrete functionality ?
        • 03_TomCatAndSession
          • What is a Session?
          • WebContainer
        • 04_PageNavigation
          • Cookies Additional Information
          • Page Navigation Techniques
        • 05_AboutServlet
          • CGI v/s Servlet
          • Executor Framework
          • Servlet Life cycle
          • SERVLET CONFIG
          • Servlet Context
          • Servlet Listener (web application listener)
        • 08_SpringBoot
          • Spring Boot
          • Some common annotations used in spring eco system
        • 09_SpringDataJPA
          • Spring Data JPA
        • Java_Language_Changes
          • JDK enhancement tracking reference
        • 06_ORM_Hibernate
          • readmes
            • Hibernate
            • Advantages of Hibernate
            • Hibernate Caching
            • Hibernate API
            • Hibernate Query API
            • Hibernate Annotations and JPQL
            • Entity and Value Type
        • 07_SpringFramework
          • bean_validation
            • Bean Validation
          • core
            • readme
              • Spring
              • Spring Framework Modules
              • Spring MVC Request flow
              • Dependency Injection
              • Spring Beans
              • 06_Spring_Framework_Annotations
      • 03_Tools
        • Maven
          • Maven
  • SoftwareEngineering
    • DesignPatterns
      • Notes
        • Basics
        • OOP
        • SOLID Principles
        • 03_Creational
          • Abstract Factory (aka Kit)
          • Builder
          • Factory Method (aka Virtual constructor)
          • Prototype
          • Singleton
        • 04_Structural
          • Adapter (aka Wrapper)
          • Bridge (aka Handle | Body)
          • Composite
          • Decorator (aka Wrapper)
          • Facade
          • Flyweight
          • Proxy (aka Surrogate)
        • 05_Behavioral
          • Chain of Responsibility
          • Command (aka Action | Transaction)
          • Iterator (aka Cursor)
          • Observer (aka Publish-Subscribe | Dependents)
          • Strategy (aka Policy)
    • Principles
      • REST
        • REST
  • Tools
    • Containers
      • Docker
        • Docker
        • Docker Image
        • Commands
        • Compose
        • Best Practices
      • Kubernetes
        • Kubernetes
    • VCS
      • Git
        • Quick reference of useful Git commands
Powered by GitBook
On this page
  • Relational Database Solutions
  • Amazon Relational Database Service (Amazon RDS)
  • Amazon Aurora
  • Non-Relational Database Solutions
  • Amazon DynamoDB
  • Comparison between Amazon RDS and Amazon DynamoDB
  • Data Warehouses
  • Amazon RedShift
  • AWS Database Migration Service (Amazon DMS)
  • Aditional AWS Database service
  1. Cloud
  2. AWS
  3. CloudPractitioner

Amazon Database Solutions

Relational Database Solutions

  • NOTE: To move the on-premise database to cloud, AWS provides lift-and-shift migration, which helps to run the database in Amazon EC2.

Amazon Relational Database Service (Amazon RDS)

  • Amazon Relational Database Service (Amazon RDS) is a service that enables you to run relational databases in the AWS Cloud.

  • Amazon RDS is a managed service that automates tasks such as,

    • Hardware provisioning

    • Database setup

    • OS patching

    • Failover

    • Disaster recovery

    • Redundancy with replication

    • Backups and restore with point-in-time restore

    • Monitoring dashboard

    • Scalability

  • Amazon RDS provides a number of different security options. Many Amazon RDS database engines offer encryption at rest (protecting data while it is stored) and encryption in transit (protecting data while it is being sent and received).

Amazon RDS database engines

  • Amazon RDS is available on six database engines, which optimize for memory, performance, or input/output (I/O). Supported database engines include:

    • Aurora

    • Postgres

    • MySQL

    • MariaDB

    • Oracle

    • Microsoft SQL Server

    • IBM DB2

Amazon Aurora

  • It is up to five times faster than standard MySQL databases and up to three times faster than standard PostgreSQL databases.

  • Only costs 1/10th of commercial databases.

  • Amazon Aurora helps to reduce your database costs by reducing unnecessary input/output (I/O) operations, while ensuring that your database resources remain reliable and available.

  • Consider Amazon Aurora if your workloads require high availability. It replicates six copies of your data across three Availability Zones and continuously backs up your data to Amazon S3.

  • Can deploy up to 15 read replicas, in order to off-load the reads and scale.

  • Provides point-in-time recovery, to recover data from specific period.

Non-Relational Database Solutions

Amazon DynamoDB

  • It is a serverless database, which means you do not have to provision, patch, or manage servers. Also, you do not have to install, maintain, or operate software.

  • As the size of your database shrinks or grows, it automatically scales to adjust for changes in capacity while maintaining consistent performance.

  • This makes it a suitable choice for use cases that require high performance while scaling.

Comparison between Amazon RDS and Amazon DynamoDB

Feature
Amazon RDS
Amazon DynamoDB

Relational DBS

Yes, Schema based

No

Non Relational DBS

No

Yes, Schemaless i.e., key-value pair

Serverless

No

Yes

Data Warehouses

  • A solution for historical analytics of business data for Business Intelligence (BI) workloads.

Amazon RedShift

  • Redshift nodes with multiple petabytes of data is common, and so you can imagine how scalable it is.

AWS Database Migration Service (Amazon DMS)

  • AWS Database Migration Service (AWS DMS) enables you to migrate existing relational databases, nonrelational databases, and other types of data stores. These databases can be on-premises or within the Amazon cloud such as AWS RDS or running on EC2 instances.

  • With AWS DMS, you move data between a source database and a target database. The source and target databases can be of the same type or different types. During the migration, your source database remains operational, reducing downtime for any applications that rely on the database.

  • If source and target databases are of same type i.e., Homogeneous type then, as schema structures, data types and database code is compatible amongst them, you just need to create a migration task with connections to source and target databases.

  • If source and target databases are not of same type i.e., Heterogeneous type then, we need a two step process.

    1. Convert schemas to target type using AWS Schema conversion tools. This will convert source schema and database code to target database type.

    2. Use DMS to migrate data from source database to target database.

  • DMS also allows you to do development and test database migrations, database consolidation, continuous database replication.

    • Development and test database migrations is used when developers wants to test against production data but without affecting production users. In this case we use DMS to migrate a copy of our production database to any development environment such DEV or QA, either once off or continuously.

    • Database consolidation is used when you have several databases and want to consolidate them to a single database.

    • Continuous database replication is used when we want to do continuous data replication in order to have a copy for disaster recovery or geographic separation.

Aditional AWS Database service

  • Amazon DocumentDB

    • Supports Mongodb service workloads.

    • Great at Content management, catalogue, user profiles

  • Amazon Neptune

    • Graph database

    • Great for social networking, fraud detection, recommendation engines

  • Amazon Quantum Ledger Database

    • An immutable ledger

  • Amazon Managed Blockchain

    • A service that you can use to create and manage blockchain networks with open-source frameworks.

    • Blockchain is a distributed ledger system that lets multiple parties run transactions and share data without a central authority.

  • Amazon ElastiCache

    • Database accelerators that adds caching layers on top of your database to help improve read times of common requests.

    • Supports both memcached and redis flavors.

  • Amazon DynamoDB Accelerator (DAX)

    • In-memmory cache, for non relational database.

    • It helps improve response times from single-digit milliseconds to microseconds.

PreviousStorageNextMonitoring Tools

Last updated 4 months ago

is an enterprise-class relational database. It is compatible with MySQL and PostgreSQL relational databases.

is a key-value based, fully managed database service (NoSQL database). It delivers single-digit millisecond performance at any scale.

is a data warehousing service that you can use for big data analytics. It offers the ability to collect data from many sources and helps you to understand relationships and trends across your data i.e., BI.

Read more about aws databases . Read more about aws DMS .

Amazon Aurora
Amazon DynamoDB
Amazon Redshift
here
here