Configure Microsoft SQL Server Connection Details

Microsoft SQL Server is a robust relational database management system (RDBMS) that provides efficient storage, retrieval, and management of structured data. Renowned for its scalability and comprehensive features, MS SQL Server is widely used for diverse data-driven applications.

After you save your MS SQL Server connection details in the Lazsa Platform, you can start using it as a data source in your data pipelines.

The Lazsa Platform offers various options for retrieving your database credentials to establish a secure connection. You can either directly provide the credentials within the connection details, where they are securely stored in the Lazsa-managed secret manager. Alternatively, you can choose to retrieve credentials programmatically from your designated secrets management tool.

To configure the connection details of your Microsoft SQL Server, do the following:

Note:

The user that you configure must have read-only access to your RDBMS.

  1. Sign in to the Lazsa Platform and click Configuration in the left navigation pane.
  2. On the Platform Setup screen, on the Cloud Platform, Tools & Technologies tile, click Configure.
  3. On the Cloud Platform, Tools & Technologies screen, in the Databases and Data Warehouses section, click Configure.
    (After you save your first connection details in this section, you see the Modify button here.)
    Databases and Data Warehouses Configuration in Lazsa Platform
  4. In the list of available database and data warehouse options, click RDBMS logo.

  5. On the RDBMS screen, do the following:
    1. In the Details section, provide the following details:

      FieldDescription
      NameGive a unique name to your Microsoft SQL Server configuration. This name is used to save and identify your Microsoft SQL Server connection details within the Lazsa Platform.
      DescriptionProvide a brief description that helps you identify the purpose or context of this Microsoft SQL Server configuration.
    2. In the Configuration section, provide the following information:

      FieldDescription
      Select RDBMS Subtype

      Select Microsoft SQL Server from the dropdown list.

      HostSpecify the host or IP address of the server where your Microsoft SQL Server is running.
      PortEnter the port number on which your Microsoft SQL Server is listening for connections.
      Database NameProvide the name of a specific database within your Microsoft SQL Server that you want to connect to.
    3. Depending on how you want to retrieve the credentials to connect to your Microsoft SQL Server, do one of the following:

      FieldDescription
      Connect using Lazsa Orchestrator Agent

      Turn on this toggle to use Lazsa Orchestrator Agent to programmatically resolve your Microsoft SQL Server credentials stored in your secrets management tool within your private network and to establish communication with the Microsoft SQL Server instance.

      In the Lazsa Orchestrator Agent dropdown list, all your configured agents are displayed. Select the one you want to use to connect to your Microsoft SQL Server instance.

      The secrets management tool that the selected Orchestrator Agent is authorized to access for retrieving secrets is auto-selected. Currently, we support AWS Secrets Manager and Azure Key Vault. Specify the details of Microsoft SQL Server secrets that the agent should retrieve from the secrets management tool.

      For AWS Secrets Manager, provide the secret name, username key, and password for your Microsoft SQL Server credentials.

      Configuring AWS Secrets Manager connection details for MSSQL

      For Azure Key Vault, provide the vault name, username secret, and password secret for your Microsoft SQL Server credentials.
      Configuring Azure Key Vault connection details for MSSQL

      Select Secret Manager

      If you don't use the Lazsa Orchestrator Agent, you can directly provide the credentials in the configuration, or retrieve them from a secrets management tool of your choice (such as AWS Secrets Manager or Azure Key Vault). Do one of the following:

      • Select Lazsa and type your Microsoft SQL Server username and password.
        Providing RDBMS credentials in Lazsa
        In this case, the user credentials are securely stored in the Lazsa-managed secrets store.

         

      • Select AWS Secrets Manager. In the Secrets Management Tool dropdown list, the AWS Secrets Manager configurations that you save and activate in the Secret Management section on the Cloud Platform, Tools & Technologies screen are listed for selection. Select the configuration of your choice. Provide the secret name, username key, and password key for the Lazsa Platform to retrieve the secrets for your Microsoft SQL Server.
        Configuring AWS Secrets Manager connection details for MSSQL
      • Select Azure Key Vault. In the Secrets Management Tool dropdown list, the Azure Key Vault configurations that you save and activate in the Secret Management section on the Cloud Platform, Tools & Technologies screen are listed for selection. Select the configuration of your choice. Provide the Vault Name, Username Secret, and Password Secret for the Lazsa Platform to retrieve the credential values.
        Configuring Azure Key Vault connection details for MSSQL
    4. Use SSL
      This toggle allows you to enable or disable a secure connection using SSL (Secure Sockets Layer) for communication between the Lazsa Platform and Microsoft SQL Server. Enabling SSL enhances the security of data transmission by encrypting the communication channel.  To enable SSL, do one of the following:
    5. OptionDescription
      Without using certificateClear the Use Certificate checkbox to use SSL without certificates.
      Use Certificate

      To use SSL with certificates, use one of the following options:

    6. JDBC String Parameters (Optional)
      JDBC (Java Database Connectivity) is a Java-based API that enables a client to interact with relational databases. You can specify the parameters that you want to pass in the JDBC string. This forms a URL-like string that provides the necessary details for establishing a connection to Microsoft SQL Server from the Lazsa Platform.
      Here is an example of a JDBC string:

    7. MSSQL JDBC String Parameters

      Based on the inputs that you provide the Generated JDBC Connection String is displayed. The string consists of: host, port, database name, JDBC string parameters.

      MSSQL Generated JDBC Connection String

    8. Test Connection

      Click Test Connection to validate whether you have configured the correct connection details and you can connect to your Microsoft SQL Server successfully.
    9. Secure configuration details with a password
      To password-protect your Microsoft SQL Server connection details, turn on this toggle, enter a password, and then retype it to confirm. This is optional but recommended. When you share the connection details with multiple users, password protection helps you ensure authorized access to the connection details.
    10. Click Save Configuration. The configured connection details, you can see the configuration listed on the Databases and Data Warehouses screen.

Related Topics Link IconRecommended Topics

What's next? Data Visualization