Configuring Aiven Client to connect to Managed Service for TimescaleDB
Change to the install directory that contains the configuration files:
Open the
aiven-credentials.jsonusing any editor and update these lines with your Managed Service for TimescaleDBUser email, and theauthentication tokenthat you generated:Save the
aiven-credentials.jsonfile.To verify that you can access your services on Managed Service for TimescaleDB, type:
This command shows a list of all your projects:
Fork services with Aiven client
When you a fork a service, you create an exact copy of the service, including the underlying database. You can use a fork of your service to:
- Create a development copy of your production environment.
- Set up a snapshot to analyze an issue or test an upgrade.
- Create an instance in a different cloud, geographical location, or under a different plan.
For more information about projects, plans, and other details about services, see [About Managed Service for TimescaleDB][about-mst].
Creating a fork of your service
In the Aiven client, connect to your [service][Install and configure the Aiven client].
Switch to the project that contains the service you want to fork:
List the services in the project, and make a note of the service that you want to fork, listed under
SERVICE_NAMEcolumn in the output.Get the details of the service that you want to fork:
To create a fork named grafana-fork for a service named grafana with these parameters:
- PROJECT_ID:
project-fork - CLOUD_NAME:
timescale-aws-us-east-1 - PLAN_TYPE:
dashboard-1
You can switch to project-fork and view the newly created grafana-fork using:
Configure Grafana authentication plugins
Grafana supports multiple authentication plugins, in addition to built-in username and password authentication.
On Managed Service for TimescaleDB, Grafana supports Google, GitHub, and GitLab authentication. You can configure authentication integration using the Aiven command-line client.
Integrating the Google authentication plugin
To integrate Google authentication with Grafana service on Managed Service for TimescaleDB, you need to create your [Google OAuth keys][google-oauth-keys]. Copy your client ID and client secret to a secure location.