10X Sale
kh logo
All Courses
  1. Tutorials
  2. Cloud Computing

How to Create AWS Relational Database

Updated on Sep 2, 2025
 
35,473 Views

Amazon RDS (Relational Database Service) is a web service which helps in setting-up, operating and scaling the relational database in the cloud. The service is cost-efficient and can be used by industries for database administration tasks.

In this post, we will look at the detailed steps involved in creating an RDS database (MySQL) instance that helps maintain the data which is used by a web application.

Pre-requisites

A VPC with private and public subnets has to be set up, and it should have respective security groups associated with it.

Steps to Create an RDS Instance

Following are the steps to create an RDS Instance:

1. Sign into AWS Management Console.
2. Open the RDS console.
3. In the upper-right corner, choose the region where you wish to create your instance.
4. In the navigation pane, click on ‘Databases’.
5. Click on ‘Create database’.
6. Make sure ‘Standard create’ is chosen, then click on MySQL (or the database which you wish to create an RDS database instance).

Below is the snip that shows this operation.
Image
Image credit: aws.amazon.com

7. In the ‘Templates’ tab, click on the ‘Dev/Test’ option.
8. In the ‘Setting’ tab, set the following values:

a. DB instance identifier
b. Master username
c. Auto Generate a password
d. Master password
e. Confirm password
Image

9. In the ‘DB instance size’ option, give a value for the following variables:

  • DB instance performance types
  • DB instance class
    Image

10. In the ‘Storage’ and ‘Availability & durability’ section, leave the default values as is.
11. In the ‘Connectivity’ section, click on the ‘Additional connectivity configuration’ and set the below values in it:

a. Virtual Private Cloud (VPC)
b. Subnet group
c. Publicly accessible- No
d. VPC security groups
e. Availability zone- No preference
f. Database port- 3306

The same is displayed in the below screenshot:

Image

12. Click on the ‘Additional configuration’ tab, and provide a name for the ‘Initial database name’ variable. The default settings for other options need to be kept the same.
13. Now click on ‘Create database’.
14. It takes a few minutes for the instance to get created. It can be seen in the ‘Databases’ list as ‘Creating’.
15. Once it is created, it shows as ‘Available’.
16. The ‘Endpoint’ and ‘Port’ of the database instance can be viewed in the ‘Connectivity & security’ section.

Image

Note: Make sure that your database instance is secure, by verifying that sources outside of the VPC can’t connect to the RDS database instance.

Conclusion

In this post, we understood how an RDS database instance can be created.

+91

By Signing up, you agree to ourTerms & Conditionsand ourPrivacy and Policy

pattern
10% OFF
Coupon Code "TEN10"
Coupon Expires  17/11
Copy
Get your free handbook for CSM!!
Recommended Courses