Grafana - Configure your Grafana instance to accept incoming connections

Find out how to configure your Grafana instance to accept incoming connections

Last updated 12th May 2022

Objective

Public Cloud Databases allow you to focus on building and deploying cloud applications while OVHcloud takes care of the database infrastructure and maintenance in operational conditions.

This guide explains how to configure your Grafana instance to accept incoming connections.

Requirements

Instructions

Configure your Grafana instance to accept incoming connections

Before making a connection, we need to verify that our Grafana instance is correctly configured.

Log in to your OVHcloud Control Panel and open your Public Cloud project. Click on Databases in the left-hand navigation bar and select your Grafana instance.

Step 1: Verify your user roles and password

Select the General information tab and Reset the password of avnadmin user, which comes with the Admin role, in the Login information section.

Other users can be created in Grafana from the Users tab of the Server Admin panel.

Step 2: Authorise incoming connections from the Grafana client

For security reasons the default network configuration doesn't allow any incoming connections. It is thus critical you authorise the suitable IP addresses in order to successfully access your database.

In this step, select the Authorised IPs tab. IP addresses must be authorised here before they can connect to your database.

Clicking on Add an IP address or IP address block (CIDR) opens a new window in which you can add single IP addresses or blocks to allow access to the database.

Add an IP

You can edit and retract database access via the ... button in the IP table.

If you want to allow connections from the outside, you can enter the IP 0.0.0.0/0. Please use it carefully.

Connect to your Grafana Instance

Log in to your OVHcloud Control Panel and open your Public Cloud project. Click on Databases in the left-hand navigation bar and select your Grafana instance, to collect the URI in the Login informations section of the General information tab.

Login information tab

Then connect to Grafana:

Welcome to Grafana

Congratulations! You are now connected to your Grafana instance.

Grafana first connection

Learn more about Grafana in the following tutorial: Grafana fundamentals

Go further

Visit our dedicated Discord channel: https://discord.gg/ovhcloud. Ask questions, provide feedback and interact directly with the team that builds our databases services.

Join our community of users on https://community.ovh.com/en/.


Did you find this guide useful?

Please feel free to give any suggestions in order to improve this documentation.

Whether your feedback is about images, content, or structure, please share it, so that we can improve it together.

Your support requests will not be processed via this form. To do this, please use the "Create a ticket" form.

Thank you. Your feedback has been received.


These guides might also interest you...

OVHcloud Community

Access your community space. Ask questions, search for information, post content, and interact with other OVHcloud Community members.

Discuss with the OVHcloud community