Module 4
Module 4
Module 4
Amazon Relational Database Service (RDS)
2
Key features of (RDS)
1. Multi-Engine Support
3
Key features of (RDS)
1.2. Automated Database Administration
4
Key features of (RDS)
1.3. Scalability
5
Key features of (RDS)
1.4. High Availability & Disaster Recovery
1. Multi-AZ Deployments (Automatic Failover)
1. Maintains a synchronous standby replica in another AZ.
2. Failover happens automatically if the primary instance fails.
2. Read Replicas (Scalability & Performance)
1. Asynchronous replication of the primary database.
2. Used to distribute read traffic and reduce the load on the primary
database.
3. Available for Aurora, MySQL, PostgreSQL, and MariaDB.
3. Aurora Global Database
1. Multi-region database replication for disaster recovery and low-
latency global access
6
Key features of (RDS)
1.5. Security & Compliance
• IAM Integration:
• Manages user access via AWS Identity and Access Management (IAM).
• Encryption:
• At rest: Uses AWS KMS to encrypt database storage and snapshots.
• In transit: Uses SSL/TLS for secure connections.
• Network Security:
• VPC (Amazon Virtual Private Cloud) support for database isolation.
• Security Groups & Network ACLs control access to the database.
• Audit Logging:
• Tracks database activity using AWS CloudTrail and RDS logs.
• Compliance:
• RDS meets industry standards such as PCI-DSS, HIPAA, and FedRAMP.
7
Key features of (RDS)
1.6. Cost-Effective Pricing
• On-Demand Instances:
• Pay for database usage on an hourly basis.
• Reserved Instances:
• Up to 75% savings for 1-year or 3-year commitments.
• Aurora Serverless:
• Automatically scales based on workload, reducing costs for
intermittent usage.
8
Amazon RDS Deployment Options
Amazon RDS provides different deployment strategies based on business
needs.
9
Amazon RDS Deployment Options
10
Amazon RDS Use cases
3.1. Web & Mobile Applications
• Powering dynamic content, user authentication, and transactional data.
3.2. E-commerce Platforms
• Handling product catalogs, shopping carts, and user orders.
3.3. Enterprise Applications (ERP & CRM)
• Storing and managing business-critical data securely.
3.4. Data Warehousing & Analytics
• Using Aurora or PostgreSQL for analytical workloads with parallel
queries.
3.5. Multi-Tenant SaaS Applications
• Isolating tenant data with separate databases or schemas.
11
DynamoDB
Data base Type
Unstructured data
Semi-Structured data
Structured data
12
DynamoDB: Table
Roll No : 01
Name :ABC
Class :B.Tech
Age : 19
Roll No :03
Name :XYZ
Items Branch :CSE
Favourite Colour:BLUE
Roll No :05
Hobby :BasketBall
Location :Bhopal
Position :Software Engineer
13
DynamoDB: Table
Table
A Table is a collection of data items
Dynamo DB stores data in Tables
Item
Each Table contains multiple items
An item is a group of attributes that is uniquely identifiable among all of
the other items
An item consists of a primary or composit key.
Items in DynamoDB are similar into Rows, Records in other DB
Attribute
Each item is composed of one or more attributes.
An attribute consists of the attribute name and value or a set of value
An attribute is a fundamental data element
Note: Aggregate size of an item cannot exceed 400KB including Key and
all Attributes
14
DynamoDB: Table
Dynamo DB allows low latency read/write access to items
ranging from 1 byte to 400 KB.
Dynamo DB can be used to store pointers to S3 stored
objects
Dynamo DB stores data indexed by a primary key
Each item has a unique identifier or primary key
15
DynamoDB: Read Capacity Unit
In dynamo DB, Read capacity unit (RCU) calculation differs
slightly depending on whether you are using strongly
consistent or eventually consistent.
16
DynamoDB: Write Capacity Unit
17
DynamoDB: Pricing
Reads are cheaper than Write
You pay for-
Each table’s provisioned read/write throughput (hourly rates)
You are charged for provisioned throughput regardless whether
you use it or not
Indexed data storage
Internet data transfer
18
Amazon Redshift
Amazon Redshift is a fully managed cloud data warehouse service
designed for analytical workloads.
19
Key features of Amazon Redshift
•High Performance with Query Optimization
•Uses advanced query planning, caching, and compression to speed up execution.
•Data Integration
•Supports data ingestion from S3, DynamoDB, RDS, Kinesis, and on-
premises databases.
•Can query data from Amazon S3 (via Redshift Spectrum) without loading
it into Redshift.
20
Key features of Amazon Redshift
•Cost Optimization
•Pay-as-you-go pricing for storage and compute.
•Uses compressed storage to reduce costs.
•Serverless option eliminates the need for provisioning clusters.
21
Amazon Redshift, Amazon RDS, Dynamo DB
22
AWS Development Tools
Introduction
• Overview of AWS Development Tools
• Importance of automation in cloud development
• How AWS tools enhance DevOps practices
23
AWS Development Tools
24
AWS Development Tools
25
AWS Development Tools
• StackSets: Allow managing multiple stacks across different AWS accounts and
regions.
26
AWS Development Tools
27
AWS Development Tools
• Supported languages: Java, .NET, PHP, Node.js, Python, Ruby, Go, and
Docker.
28
AWS Development Tools
• Integration with AWS services: Works seamlessly with RDS, S3, and IAM.
29
AWS Development Tools
3. Monitoring & Logs: Uses Amazon CloudWatch and health dashboards for
tracking performance.
30
AWS Development Tools
31
AWS Development Tools
32
AWS Development Tools
Introduction to CI/CD Pipelines
• Continuous Integration (CI): Automates code integration and testing.
• Continuous Deployment (CD): Ensures smooth and automated
deployment to production.
• Importance: Reduces manual effort, increases development speed, and
improves reliability.
36
AWS Development Tools
Best Practices for Using AWS Development Tools
• Define clear IaC templates: Standardize infrastructure deployments.
• Automate testing in CI/CD: Prevent bugs from reaching production.
• Monitor application performance: Use AWS CloudWatch and X-Ray.
• Enable security best practices: Use IAM roles, encryption, and logging.
• Final Thought: Choosing the right tool depends on specific use cases and
requirements.
38