Connecting to Render Database

Overview

Render is a modern cloud platform that simplifies the deployment and scaling of web applications, including databases. This guide will take you through the process of connecting your Outerbase application to a Render Database instance.


Prerequisites

Before you start, ensure you have the following:

  • An active Render account.
  • A Render Database instance already set up with the desired database engine (e.g., PostgreSQL, MySQL, etc.).
  • Access credentials for the database (username and password).
  • The connection details for your Render Database instance.
  • Outerbase application environment details.

Step 1: Configure Database Access

To allow your Outerbase application to communicate with your Render Database instance, you need to configure database access settings.

  1. Log in to your Render Dashboard.
  2. Navigate to your Render Database instance.
  3. In the "Access Control" section, find the settings for allowing external connections.
  4. Enable external connections and add the following IP addresses to the allowed IP list:
    • 44.205.184.114
    • 54.172.85.237
  5. Save the changes to update the allowed IP addresses.

Step 2: Obtain Connection Details

Before you can connect to your Render Database instance from Outerbase, gather the following information:

  • Host Name: This is the network address of your Render Database instance.
  • Port: The port number through which the database listens for connections.
  • Username and Password: The credentials for accessing the database.
  • Database Name: The specific database you want to connect to.

Step 3: Connect from Outerbase

With the necessary information in hand, configure your Outerbase application to connect to your Render Database instance.

  1. Open your Outerbase application's configuration.
  2. Locate the database configuration section.
  3. Enter the Render Database host name as the database host.
  4. Specify the port number.
  5. Use the provided username and password for authentication.
  6. Specify the database name you want to connect to.
  7. Save the configuration changes.

Conclusion

Congratulations! You've successfully established a connection between your Outerbase application and your Render Database instance. This allows your application to interact with the managed database service provided by Render.

Remember to keep your credentials and connection details secure, and periodically review and update your security settings as needed.

For more detailed information and troubleshooting, refer to the Render documentation.