Azure Database is a managed database service provided by Microsoft Azure. It allows you to deploy, operate, and scale relational databases in the cloud. In this guide, we'll walk you through the steps to connect your Outerbase application to an Azure Database instance.
Before you begin, make sure you have the following:
- An active Microsoft Azure account.
- An Azure Database instance already set up with the necessary database engine (e.g., SQL Database, MySQL, PostgreSQL, etc.).
- Access credentials for the database (username and password).
- The connection information for your Azure Database instance.
- Outerbase application environment details.
Step 1: Configure Database Firewall
To allow your Outerbase application to communicate with your Azure Database instance, you need to configure the database firewall rules.
- Log in to the Azure Portal.
- Navigate to your Azure Database instance.
- In the left menu, under the "Security + networking" section, click on Firewalls and virtual networks.
- Under the "Firewall rules" tab, add the following IP addresses to the allowed IP list:
- Save the changes to update the firewall rules.
Step 2: Obtain Connection Details
Before you can connect to your Azure Database instance from Outerbase, you'll need to gather the following information:
- Server Name: This is the network address of your Azure Database instance.
- Port: The port number through which the database listens for incoming connections.
- Username and Password: The credentials you set up for accessing the database.
- Database Name: The name of the specific database you want to connect to.
Step 3: Connect from Outerbase
Now that you have the necessary information, you can configure your Outerbase application to connect to your Azure Database instance.
- Open your Outerbase application's configuration.
- Locate the database configuration section.
- Enter the Azure Database server name as the database host.
- Enter the port number.
- Use the provided username and password for authentication.
- Specify the database name you want to connect to.
- Save the configuration changes.
You have successfully connected your Outerbase application to your Azure Database instance. This enables your application to interact with the managed database service provided by Microsoft Azure.
Remember to keep your credentials and connection details secure, and regularly update your security settings as needed.
For more detailed information and troubleshooting, refer to the Azure Database documentation.