LogoLogo
Release notesAPI docsDocs homeEphemeral CloudTonic.ai
  • Tonic Ephemeral guide
  • About Tonic Ephemeral
  • Getting started with the Ephemeral free trial
  • Managing your Ephemeral account
  • Managing Databases
    • Viewing the list of databases
    • Starting a database
    • Changing the database configuration
    • Database configuration settings
      • Setting the required resources for a database
      • Setting the database expiration
      • Providing a custom configuration file
    • Connecting to a database
    • Resetting a database
    • Deactivating and reactivating databases
    • Managing auto snapshots
    • Tracking database activity
    • Deleting a database
  • Managing user snapshots
    • About user snapshots
    • Viewing the user snapshot list
    • Creating a user snapshot from an Ephemeral database
    • Creating a user snapshot from imported data
    • Editing a user snapshot
    • Creating a database from a user snapshot
    • Deleting a user snapshot
  • Installing and configuring Ephemeral
    • Ephemeral architecture
    • Configuring an allowlist for Ephemeral Cloud database connections
    • Installing a self-hosted instance of Ephemeral
      • System requirements
      • Deploying Ephemeral with Helm
    • Configuring database access on a self-hosted instance
    • Configuring tolerations and node selectors
    • Managing access to Ephemeral
      • Managing Ephemeral users
      • Enabling SSO on a self-hosted instance
        • Google
        • Okta
    • Setting the registry location for data volumes
    • Managing custom images
      • Creating, editing, and deleting custom images
      • Oracle image configuration
    • Configuring automatic deletion of snapshots
  • Monitoring and data collection
    • Monitoring your Ephemeral billed usage
    • Monitoring your disk storage
    • Data that Tonic.ai collects
  • Using the Ephemeral API
    • About the Ephemeral API
    • Configuring Ephemeral
    • Getting information about Ephemeral databases
    • Starting a database
    • Managing databases
    • Managing snapshots
Powered by GitBook
On this page
  • Selecting the service type
  • Configuring the DNS connection options

Was this helpful?

Export as PDF
  1. Installing and configuring Ephemeral

Configuring database access on a self-hosted instance

On self-hosted instance, you configure the following options related to database access:

  • The type of service to use for the database connections

  • DNS connection information

Selecting the service type

In the database_access section of the Helm chart, you configure the service type as the value of the serviceType setting.

serviceType: "NodePort" # Either LoadBalancer|NodePort

The options are:

  • NodePort - Indicates to use a node port for each database connection. Node ports typically allow a larger number of database connections. However, you cannot use the node port option with a serverless node port solution such as Fargate.

  • LoadBalancer - Indicates to use a load balancer for each database connection. Most load balancers limit the number of connections to 50 or 100. Note that if you use a serverless node port solution, then you must use the load balancer option.

Configuring the DNS connection options

In the database_access section of the Helm chart, under dns, you configure the DNS connection for the databases.

  dns:
     domain: ""
      kubernetesDomainAnnotation: external-dns.alpha.kubernetes.io/hostname
      labels: {}
      annotations:
        # Default to exposing the dns by HostIP
        external-dns.alpha.kubernetes.io/endpoints-type: HostIP

The settings are:

domain

The DNS domain to use for database connections.

kubernetesDomainAnnotation

The annotation to apply to the service that provides the DNS value to use for each database.

labels

A list of custom labels to apply to the Kubernetes service for each database.

annotations

A list of custom annotations to apply to the Kubernetes service for each database.

PreviousDeploying Ephemeral with HelmNextConfiguring tolerations and node selectors

Last updated 3 months ago

Was this helpful?