CC Assignment 3
CC Assignment 3
3
Name: Anish Joshirao
PRN No:121B1D054
Sub: Cloud Computing Lab
Title of Assignment:
Database Configuration: Configure and using various databases available on Amazon AWS
(RDS)
Theory:
AWS provides several managed database services that cater to different data management
needs. Here’s an overview of some key database services available:
1. Amazon RDS (Relational Database Service):
Amazon RDS is a fully managed relational database service that supports popular
databases like MySQL, PostgreSQL, MariaDB, Oracle, and SQL Server. It simplifies
database setup, scaling, and maintenance. RDS handles backups, patching, and
replication, allowing users to focus on their applications while AWS manages the
database infrastructure.
2. Amazon Aurora:
Amazon Aurora is a high-performance, fully managed relational database compatible
with MySQL and PostgreSQL. Aurora is designed for cloud-native applications and
offers improved speed and reliability compared to traditional MySQL and
PostgreSQL databases, with automatic backups, replication, and scaling.
3. Amazon DynamoDB:
Amazon DynamoDB is a fully managed, fast, and flexible NoSQL database service
designed for applications requiring low-latency data access at scale. It supports both
document and key-value store models, making it ideal for applications that need to
store large amounts of unstructured data or need high availability with minimal
operational overhead.
4. Amazon ElastiCache:
Amazon ElastiCache is an in-memory data store that supports Redis and Memcached.
It is used for caching data to improve the performance of web applications by
reducing the load on primary databases. ElastiCache helps achieve low-latency access
to frequently accessed data.
Amazon Relational Database Service (RDS) is a fully managed database service provided by
AWS that allows users to set up, operate, and scale relational databases in the cloud. It
supports multiple popular database engines, including MySQL, PostgreSQL, MariaDB,
Oracle, and Microsoft SQL Server, providing flexibility for different application
requirements. RDS automates administrative tasks such as hardware provisioning, database
setup, patching, and backups, freeing developers from managing the database infrastructure.
RDS allows users to deploy databases with high availability using the Multi-AZ (Availability
Zone) feature, which automatically replicates data across multiple data centers. It also
provides automated backups, database snapshots, and the ability to scale resources (CPU,
memory, and storage) up or down based on demand. The service supports read replicas to
improve read performance and distribute traffic, as well as automatic failover in case of
database instance failure.
● In to AWS Console and open RDS from the Services menu.
● Click Create database and choose the database engine (e.g., MySQL, PostgreSQL).
● Select Standard Create, and configure the DB instance identifier, Master
username, and password.
● Choose the instance class and storage options based on your needs.
● Enable Multi-AZ deployment for high availability (optional).
● Set Backup retention, Maintenance window, and automated backups.
● Configure VPC, subnet group, and security groups for network access.
● Set additional database options (e.g., database name, port).
● Review settings and click Create database.
● Once created, use the Endpoint to connect to the database.
Implementation/ Snapshot: