When connecting to on-premise databases, like SQL Server, Oracle, MySQL and related, or PostgreSQL, you can select Connection Mode:
- Direct - Skyvia connects to the database server directly. This requires database servers to be available from the Internet.
- Agent - Skyvia connects to the database server via a secure Agent application. You create an Agent, download and install the Agent application on a computer that has both Internet access and access to the database server. Data is securely transmitted between the Agent and Skyvia in an encrypted form, and it doesn’t require a dedicated external IP or port, and usually does not require additional firewall configuration.
- Agent with Alias - This mode also uses the Agent application. For this mode, you need to add a specific configuration file with connection settings and aliases to the Agent application folder.
Creating Agent Connections
Agent connection is created like a usual database connecton. You only need to select the Agent Connection Mode and then select the Agent to use.
After this enter corresponding database connection parameters. Note that you need to specify connection parameters for an agent connections so as if you are connecting from the computer where the agent is installed. For example, specify the local IP (or domain name) of the database server instead of the external one, if the Agent application is installed on a computer in the same local network.
Creating Agent with Alias Connections
In order to use such connections, you need to add a special configuration file to the folder where the agent application is installed. This configuration file must contain connection parameters for database connections that you plan to use via this agent and the corresponding connection aliases.
When creating such a connection on Skyvia, you only need to select the Agent to use and enter the connection alias. You don’t need to specify connection parameters, because they are specified on the Agent side.
Features of Agent with Alias connections:
- All the connection parameters are only stored on the computer where the Agent application is installed, in the configuration file. They are not send to/stored on the Skyvia servers. The Agent application creates actual connections to local databases, so Skyvia service does not need to know the parameters at all.
- If you add such a configuration file with connections and aliases, the Agent application allows creating only connections with aliases. It no longer allows normal Agent connections. In this way you may limit, connections to which your resources can be created via this Agent instance.
Currently, there is no documentation on how to create a configuration file with aliases. If you want to use this feature, please contact us at email@example.com.