Amazon Relational Database Service (Amazon RDS) makes it easy to set up, operate, and scale a relational database in the cloud.
It provides cost-efficient and resizable capacity while automating time-consuming administration tasks such as hardware provisioning, database setup, patching and backups.
It frees you to focus on your applications so you can give them the fast performance, high availability, security, and compatibility they need.
Following are the steps to create an RDS Instance:
- Sign into AWS Management Console.
- Open the RDS console.
- In the upper-right corner, choose the region where you wish to create your instance.
- In the navigation pane, click on ‘Databases’.
- Click on ‘Create database’.
Make sure ‘Standard create’ is chosen, then click on MySQL (or the database in which you wish to create an RDS database instance).
In the ‘Templates’ tab, click on the ‘Dev/Test’ option.
In the ‘Setting’ tab, set the following values:
DB instance identifier
Auto Generate a password
- In the ‘DB instance size’ option, give a value for the following variables:
DB instance performance types
DB instance class
- In the ‘Storage’ and ‘Availability & durability’ section, leave the default values as is.
- In the ‘Connectivity’ section, click on the ‘Additional connectivity configuration’ and set the below values in it:
Virtual Private Cloud (VPC)
Publicly accessible- No
VPC security groups
Availability zone- No preference
Database port- 3306
The same is displayed in the below screenshot:
- 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.
- Now click on ‘Create database’.
- It takes a few minutes for the instance to get created. It can be seen in the ‘Databases’ list as ‘Creating’.
- Once it is created, it shows as ‘Available’.
- The ‘Endpoint’ and ‘Port’ of the database instance can be viewed in the ‘Connectivity & security’ section.
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.
▬▬▬▬▬▬ WANT TO LEARN MORE? ▬▬▬▬▬▬
Full Terraform tutorial ► https://bit.ly/2GwK8V2
DevOps Tools, like Ansible ► https://bit.ly/3iASHuP
Docker Tutorial ► https://bit.ly/3iAT9Jx
AWS Tutorial ► https://bit.ly/3iAT9Jx
GCP Tutorial ► https://bit.ly/3mwh412
Jenkins Tutorials ► [https://bit.ly/3iHnfv4]