AWS-RDS - Notes By ShariqSP

Amazon RDS Overview

Amazon RDS Overview

What is Amazon RDS?

Amazon RDS (Relational Database Service) is a fully managed database service provided by Amazon Web Services (AWS). It simplifies the process of setting up, operating, and scaling relational databases in the cloud. RDS supports popular database engines such as MySQL, PostgreSQL, MariaDB, Oracle, SQL Server, and Amazon Aurora.

Why do we need Amazon RDS?

Amazon RDS offers several advantages:

Creating MySQL Database on Amazon RDS

To create a MySQL database on Amazon RDS, follow these steps:

  1. Log in to AWS Management Console
  2. Navigate to RDS Dashboard
  3. Click on "Create Database"
  4. Choose "MySQL" as the database engine
  5. Select appropriate DB instance class, storage, and other settings
  6. Configure advanced settings such as VPC, security groups, and database options
  7. Review and launch the database instance

Creating MongoDB Database on Amazon RDS

To create a MongoDB database on Amazon RDS, follow these steps:

  1. Log in to AWS Management Console
  2. Navigate to RDS Dashboard
  3. Click on "Create Database"
  4. Choose "MongoDB" as the database engine
  5. Select appropriate DB instance class, storage, and other settings
  6. Configure advanced settings such as VPC, security groups, and database options
  7. Review and launch the database instance

Interview-Based Questions

Here are some common interview questions related to Amazon RDS:

  1. What is Amazon RDS, and how does it differ from traditional database hosting?
  2. What are the benefits of using Amazon RDS?
  3. How do you choose the appropriate database engine and instance class for your application on Amazon RDS?
  4. What is Multi-AZ deployment, and why is it important for high availability?
  5. Explain the concept of read replicas in Amazon RDS.
  6. What security features does Amazon RDS provide?
  7. Can you perform backups and restores on Amazon RDS databases? If yes, how?
  8. What are the cost factors to consider when using Amazon RDS?