CCL Exp 8
CCL Exp 8
BATCH - C24
ROLL NO - 2103134
EXPERIMENT NO. 8
SQL Databases:
Amazon Aurora (MySQL and PostgreSQL compatible)
Amazon RDS (MySQL, PostgreSQL, MariaDB, Oracle, SQL Server)
NoSQL Databases:
Amazon DynamoDB
1. General Purpose SSD (gp2): This is the default storage type for Amazon
RDS. It provides a balance of price and performance for a wide variety of
workloads. It is suitable for most database workloads that require good
performance.
2. Provisioned IOPS SSD (io1): This storage type is designed for I/O-
intensive workloads, such as large relational databases. It allows you to
provision a specific level of I/O operations per second (IOPS), providing
predictable performance for your database.
Endpoint:
A read replica is a copy of your database instance that is used for read-only
operations. Read replicas can improve the performance of read-heavy
workloads by offloading read traffic from the primary database instance. Read
replicas can also be promoted to become standalone database instances in the
event of a failure of the primary instance.
Single AZ and Multi-AZ instances:
IMPLEMENTATION:
Step1 : Login to aws console and search RDS
Step 20: First select Click on to Edit inbound rule add rule select ipv4 --all traffic
(add 0.0.0.0./0) and save
Rules (important step to add inbound rule)
Step 21: Goto workbench (after giving details click on to Test Connection) Click
on Ok button Go to workbench double click on connection(databaseshilpa) It
will get opened
Step 22: Write query and execute
Create database tsec;
Use tsec;
Show tables;
Create table
for eg: create table student( roll int, name varchar(10), city varchar(10));
Describe student;
insert into student values(1,'shilpa','thane');
(Perform all CURD) operations)
Step 23: Now delete the instance (once you have done with it)
Select instance go to action stop instance and then delete instance Uncheck
create final shapshot
Step 24: Check the rds dashboard if there are any
instances running.
Conclusion: thus we have successfully implemented creating a
database and connecting it using aws services- RDS.