0% found this document useful (0 votes)
20 views5 pages

RDS v1.0.0

The document provides instructions on how to create and set up an AWS RDS database and connect it to an EC2 instance. It describes selecting RDS services and creating a database, choosing a database engine and configuration, and creating credentials. It then covers installing MySQL Workbench on EC2 and configuring a new connection using the RDS endpoint, username, password, and port.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views5 pages

RDS v1.0.0

The document provides instructions on how to create and set up an AWS RDS database and connect it to an EC2 instance. It describes selecting RDS services and creating a database, choosing a database engine and configuration, and creating credentials. It then covers installing MySQL Workbench on EC2 and configuring a new connection using the RDS endpoint, username, password, and port.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

RDS v1.0.

0
How to create and setup AWS RDS and connect it to EC2
I. RDS Services
a) Go to services and select RDS.
b) Click “Create database”.

c) Select standard create.

d) Either select MariaDB or MySQL for database engine.


e) Select Free tier or Production depending on the circumstances.

f) Create credentials, this will be used on App connection to DB via EC2.


g) Select DB instance and Storage Type.
h) For the VPC, select the Security group that was being setup on the EC2 instance to be
connected.
II. EC2 Services
a) Install a MySQL Workbench on the EC2 to be connected on the RDS database created at
Section I.

b) Setup new connection by clicking the + button


c) Input the connection name.
d) At the host name input field, input the endpoint assigned on the RDS database.

e) At the username and password field, input the master username and password from the
RDS database.
f) Make sure that the port is the same as the RDS database created.
g) Then, check the .env of the app and change the following parameters same as that of the
Workbench.

You might also like