codingstuff.io
ExploreTutorialsProblemsCS Subjects
Get Started
ExploreTutorialsProblemsCS Subjects
Get Started
codingstuff.io

Master the art of building software through interactive tutorials, real-world problems, and guided projects.

Pune, Maharashtra, India

codingstuffmail@gmail.com

Product

  • Explore
  • Tutorials
  • Problems
  • CS Subjects

Company

  • About
  • Contact
  • Privacy Policy
  • Terms & Conditions
  • Sitemap

© 2026 codingstuff.io. All rights reserved.

Built with ❤️ for developers everywhere

/
/
All Tutorials
☁️

AWS Cloud

14 / 60 topics
12Introduction to Amazon RDS13Launching an RDS Instance14RDS Instance Types
Tutorials/AWS Cloud/RDS Instance Types
☁️AWS Cloud

RDS Instance Types

Updated 2026-05-15
10 min read

RDS Instance Types

Introduction

Amazon Relational Database Service (RDS) is a managed database service that makes it easy to set up, operate, and scale a relational database in the cloud. RDS supports several types of databases including MySQL, PostgreSQL, Oracle, Microsoft SQL Server, and MariaDB. Each type of RDS instance is designed to meet different performance and cost requirements.

In this tutorial, we will explore various RDS instance types available on AWS, their characteristics, and use cases. Understanding these instance types will help you choose the right configuration for your database workloads.

Concept

RDS instances can be broadly categorized into two main types:

  1. General Purpose (Burstable) Instances: These instances are cost-effective and ideal for workloads that have variable or unpredictable traffic patterns.
  2. Memory Optimized Instances: Designed for applications that require large amounts of memory, such as in-memory databases, distributed caches, and high-performance web applications.

General Purpose (Burstable) Instances

General purpose instances are further divided into two classes:

  • db.t3: The latest generation of general-purpose instances.
  • db.t2: The previous generation of general-purpose instances.

db.t3 Instances

db.t3 instances provide a balance of compute and memory, making them suitable for workloads that have sporadic traffic or require moderate performance. They are cost-effective because they offer a baseline level of CPU performance with the ability to burst above this baseline when needed.

Use Cases:

  • Development and testing environments
  • Low-traffic websites
  • Background tasks

db.t2 Instances

db.t2 instances are similar to db.t3 but are based on older hardware. They offer a baseline level of CPU performance with the ability to burst above this baseline when needed.

Use Cases:

  • Development and testing environments
  • Low-traffic websites
  • Background tasks

Memory Optimized Instances

Memory optimized instances are designed for workloads that require large amounts of memory, such as in-memory databases, distributed caches, and high-performance web applications. They provide a high amount of RAM relative to their CPU cores.

db.r5 Instances

db.r5 instances are the latest generation of memory-optimized instances. They offer up to 8 TB of RAM and are built on AWS Nitro Systems for enhanced performance and scalability.

Use Cases:

  • In-memory databases
  • Large-scale web applications
  • Distributed caches

db.r4 Instances

db.r4 instances are the previous generation of memory-optimized instances. They offer up to 244 GB of RAM and are suitable for workloads that require a large amount of memory.

Use Cases:

  • In-memory databases
  • Large-scale web applications
  • Distributed caches

Examples

Let's look at how you can create an RDS instance using the AWS CLI. We'll start with creating a db.t3.medium instance and then move on to a db.r5.large instance.

Creating a db.t3.medium Instance

  1. Launch the Instance:

    Use the following command to launch a db.t3.medium instance:

    Terminal
    aws rds create-db-instance --db-instance-identifier my-t3-medium-db --db-instance-class db.t3.medium --engine mysql --allocated-storage 20 --master-username admin --master-user-password password123 --vpc-security-group-ids sg-xxxxxxxx --publicly-accessible

    Info

    Make sure to replace sg-xxxxxxxx with your actual security group ID and choose a strong password for the master user.
  2. Verify the Instance:

    After launching, you can verify the instance status using:

    Terminal
    aws rds describe-db-instances --db-instance-identifier my-t3-medium-db

Creating a db.r5.large Instance

  1. Launch the Instance:

    Use the following command to launch a db.r5.large instance:

    Terminal
    aws rds create-db-instance --db-instance-identifier my-r5-large-db --db-instance-class db.r5.large --engine mysql --allocated-storage 20 --master-username admin --master-user-password password123 --vpc-security-group-ids sg-xxxxxxxx --publicly-accessible

    Info

    Again, replace sg-xxxxxxxx with your actual security group ID and choose a strong password for the master user.
  2. Verify the Instance:

    After launching, you can verify the instance status using:

    Terminal
    aws rds describe-db-instances --db-instance-identifier my-r5-large-db

What's Next?

Now that you have a good understanding of RDS instance types and how to create them, the next step is to learn about Amazon Virtual Private Cloud (VPC). VPC allows you to launch AWS resources into a virtual network that you define. This provides greater control over your networking environment.

You can find more information on Amazon VPC in our upcoming tutorial: Introduction to Amazon VPC.


PreviousLaunching an RDS InstanceNext Introduction to Amazon VPC

Recommended Gear

Launching an RDS InstanceIntroduction to Amazon VPC