Lesson 6 Databases
Lesson 6 Databases
Databases
A Day in the Life of a Cloud Consultant
You are working as a cloud consultant for one of the Fortune 500 companies.
One of your clients is looking for a few database solutions as they are planning to
move to the cloud. Their requirements are as follows:
You've been given the task of finding relevant solutions to the above
requirements.
To achieve all of the above, along with some additional features, you will be
learning a few concepts in this lesson that will help you find a solution to the
above scenario.
Learning Objectives
AWS offers a comprehensive and diverse range of databases, supporting various data formats and
empowering users to build data-driven, highly scalable, and distributed applications.
DynamoDB is a fully managed NoSQL database service that provides effortless scaling and
offers consistent performance.
Amazon Neptune is a graph database service, that simplifies the creation and deployment of applications
that utilize interconnected datasets.
Amazon Neptune
ElastiCache is a comprehensive, fully managed solution for in-memory caching, that offers seamless
integration with a wide range of customizable and real-time use cases.
Amazon ElastiCache
Amazon DocumentDB is a fully managed service specifically tailored for efficiently managing critical
MongoDB workloads.
Developers find it convenient to store query data within the database using document databases, as they
adopt the same document-model format as their application code.
Amazon DocumentDB
Some of the common AWS database service categories and their use cases are:
It offers features such as referential integrity, ACID It provides benefits such as high throughput, low-
transactions, and schema-on-write. latency reads and writes, and limitless scalability.
Some of the common AWS database service categories and their use cases are:
Some of the common AWS database service categories and their use cases are:
It enables rapid and effortless creation and It efficiently collects, stores, and processes
navigation of relationships between data. chronologically arranged data.
5
1
Relational Graph
2 4
Key-value Document
3
In-memory
Relational Database
• Finance data
• Data warehousing
AWS Database Service: Relational Databases
Relational databases
• Gaming applications
AWS Database Service: Key-Value and Document Databases
• Is resilient to failure
• Provides high throughput, low-latency read, and write
speed
• Offers a consistent performance at scale
In-Memory Database
• Session management
• Real-time bidding
• Gaming leaderboards
AWS Database Service: In-Memory Databases
In-memory databases
• Recommendation engines
• Social networking
AWS Database Service: Graph Databases
Graph databases
Amazon RDS simplifies the process of setting up, operating, and scaling a
relational database in the cloud.
E-commerce applications
Amazon Redshift is a data warehouse service that employs SQL and AWS-designed hardware to analyze
structured and semi-structured data from data warehouses, databases, and data lakes.
Amazon Redshift
Amazon Athena is a user-friendly interactive query service that allows seamless data evaluation in
Amazon S3 using regular SQL.
Amazon Athena
Amazon Athena operates in a serverless manner, ensuring that a user is charged solely for the
executed queries.
Amazon Kinesis is an Amazon Web Service for real-time processing of massive amounts of data.
Amazon Kinesis
Amazon QuickSight is a cloud-based business intelligence service that enables users to provide
straightforward and actionable insights to their team members.
Amazon QuickSight
Amazon EMR is a cloud-based big data platform that facilitates the utilization of open-source analytics
frameworks, such as Apache Hadoop, Apache Hive, and Presto, for processing vast volumes of data on
the AWS infrastructure.
Amazon Simple Notification Service (Amazon SNS)
Amazon Simple Notification Service (Amazon SNS) serves as a messaging platform for both
application-to-application and application-to-person communication.
As a web service, it effectively oversees and orchestrates the delivery of messages to clients or
subscribed endpoints.
Amazon Simple Notification Service (Amazon SNS)
Publishers Consumers
Amazon Simple Notification Service (Amazon SNS)
Publishers
Subscribers
They receive the message or notification over one of the supported protocols when they
are subscribed to the topic.
Amazon Simple Queue Service (Amazon SQS)
Amazon Simple Queue Service (SQS) functions as a message queuing service, allowing the
decoupling and scalability of microservices and serverless applications.
Problem Statement:
You have been assigned a task to demonstrate the process of creating a database using the Amazon
RDS (Relational Database Service) console.
Assisted Practice: Guidelines
Steps to be followed:
The user uses AWS Data Pipeline to move clickstream data from Amazon S3 to
Amazon Redshift.
Benefits of Amazon Data Pipeline
Microservices represent an organizational method for software development, where the software
comprises self-contained services that interact through APIs.
Each application is composed of a set of services where each service operates its own processes, and
communication occurs through APIs.
Features of Microservices
Loosely coupled
Changes in one module will not affect the entire system because it is loosely linked.
Independently deployable
Services that are independently deployable can be built, debugged, and deployed by
a single development team.
Language neutral
Language Neutral means that one microservice may run faster in one language
while another may run faster in another.
Key Takeaways
Amazon RDS makes it simple to set up, operate, and scale a relational
database in the cloud.
AWS Data Pipeline is a web service that enables you to process and
move data between AWS computing and storage services.
Create a Basic VPC and Deploy a DB Instance
Duration: 30 Minutes.
Project Agenda: To create a VPC with public and private subnets on Amazon
VPC. A web server will be hosted in the public subnet, and a DB instance will
be set up in the private subnet, ensuring secure data exchange without
exposing the DB to public internet access
Description:
This project involves setting up a VPC on AWS with distinct public and private
subnets, placing a web server in the public subnet and a DB instance in the
private subnet, and establishing a secure data exchange process.
Perform the following:
1. Allocate an Elastic IP address
2. Create a VPC
3. Create a public subnet in the VPC
4. Create a private subnet in the VPC
5. Create a VPC security group
6. Create a DB instance in the private subnet
Thank you