Home/Server & Website Managed Operations/How to Create and Connect to Amazon RDS
Server & Website Managed Operations

How to Create and Connect to Amazon RDS

RDS (Relational Database Service) is a database service provided by Amazon Web Services.

This article primarily introduces how to create and connect to RDS.

Installing and Connecting to RDS

Step 1: Access the AWS Console and Click on RDS to Enter the RDS Console

AWS_Service

Step 2: Create an RDS Instance by Launching a DB Instance

LaunchInstance

Step 3: Select the Database Engine Type. This Article Uses MySQL as an Example

SelectEngine

Step 4: Decide Whether to Enable Multi-AZ and Provisioned IOPS Features

Determine whether to use the Multi-AZ and Provisioned IOPS features.

Multi-AZ is mainly used for database primary-replica functionality, while Provisioned IOPS relates to RDS performance optimization.

For detailed information on these features, please refer to our previous articles.

No, this instance is intended for use outside of production or under the RDS Free Usage Tier.

Select No here.

Production

Step 5: Configure RDS Details

  • DB Engine: mysql
  • License Model: general-public-license
  • DB Engine Version: Select the database version according to your needs
  • DB Instance Class: Select the RDS instance type
  • Multi-AZ Deployment: Choose No for whether to enable Multi-AZ
  • Allocated Storage*: Select the RDS storage capacity. Note that Provisioned IOPS cannot be used for storage under 100GB; 100-333GB supports up to 1000 IOPS.
  • Use Provisioned IOPS: Select No here for now
  • DB Instance Identifier: Enter the RDS identifier
  • Master Username: Database login username
  • Master Password: Database password
  • Confirm Password: Confirm the password

Specify_DB_Details

Step 6: Advanced RDS Configuration. If you have no special requirements, keep all settings at their defaults.

Pay special attention to the following two areas:

  • Backup Retention Period: Set the duration for automatic backups
  • Backup Window: Set the time window for backups
  • Auto Minor Version Upgrade: Set the schedule for automatic minor version upgrades
  • Maintenance Window: Set the maintenance schedule

Configure_Advanced_Settings

Step 7: After successfully creating the RDS, you will see the information below. At this point, you need to record the RDS connection address.

View_RDS

Step 8: After successfully creating the RDS, the next step is to learn how to log in or connect to it.

Note that the client must have the corresponding database type installed. For example, since we selected MySQL for the RDS database type, you need to install MySQL on the client to use it to log in to our RDS.

mysql -h[RDS_connection_address] -u[RDS_username] -p

Connect_RDS

FREE CHECKUP

Free server checkup

We will send a problem checklist and remediation advice within one business day — no obligation to engage.

135 410 16684
Weekdays Mon – Fri 10:00 – 22:00 (UTC+8) · 7×24 emergency response
Call now
CONTACT

Contact Us

How can we help?

* Required