Skip to content

Latest commit

 

History

History
73 lines (40 loc) · 3.63 KB

connecting-to-aws-rds.md

File metadata and controls

73 lines (40 loc) · 3.63 KB
description
Follow these steps to connect to your Amazon Web Services (AWS) Relational Database Service (RDS) database using WayScript.

Connecting to AWS RDS

Configuring Your Database

Enable Public Accessibility

To connect to your database using WayScript, your database must be publicly accessible. Enable "Public accessibility" in the settings for your database.

Enabling public accessibility in RDS settings

Update your Security Group Settings

You will also need to update the settings for the security group associated with your DB instance. Configure the "Inbound rules" for the security group to allow all public connections to the port your database communicates on, or whitelist the specific IP addresses used by WayScript.

Configure your security group to allow public access to the port your database communicates on

💡 You can find the current list of WayScript's IP Addresses in the page below:

{% page-ref page="../../../other-information/ip-addresses.md" %}

💡 You can find the security group associated with your DB instance by checking the "Connectivity & Security" tab for your database instance in the AWS console.

Check these settings from the "Connectivity & Security" tab for your database instance

Additional References

Obtaining Connection Information

To connect to your database using WayScript, you will need the following information:

Information required for WayScript to connect to a database hosted in AWS RDS

Endpoint & Port

The Endpoint and Port information is available in the "Connectivity & Security" tab for the database instance in the AWS console.

Endpoint & port settings for database instance in AWS console

Database Name

The Database Name is available in the "Configuration" tab for the database instance in the AWS console.

DB name, as displayed in the AWS Console

{% hint style="warning" %} DB name is NOT the same as DB instance id {% endhint %}

💡 If your "DB name" field is blank, this is probably because you did not specify a database name when creating the database instance, under "Additional configuration."

Setting the Initial database name

Master Username (User)

The Master Username is available in the "Configuration" tab for the database instance in the AWS console, under the "Availability" section.

Master username setting under "Availability" settings for DB instance

Master Password (Password)

The Master Password was set when you created your DB instance. If you forgot this password, you can "Modify" your database instance and change the password.

Setting a new master password for your DB instance