Cassandra - Configurez votre instance Cassandra pour accepter les connexions entrantes (EN)
Find out how to configure your Cassandra instance to accept incoming connections
Find out how to configure your Cassandra instance to accept incoming connections
Last updated 12th May 2022
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 Cassandra instance to accept incoming connections.
Before making a connection, we need to verify that our Cassandra 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 Cassandra instance.
Select the Users
tab. Verify that you have a user with sufficient rights and a configured password. If you don't remember the user's password, you can either create a new user or regenerate the password of an existing user.
Be careful! By doing so you will need to update all the places where you already use this user/password pair.
You can add more users by clicking on the button Add user
.
Enter a username then click Create User
.
You can delete a user or regenerate a password via the ...
button in the Users & Roles
table.
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.
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.
Select the General information
tab to find the required login credentials in the Login informations
section.
Select the Users
tab to get the username.
Visit the Github examples repository to find how to connect to your database with several languages.
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/.
N’hésitez pas à nous proposer des suggestions d’amélioration afin de faire évoluer cette documentation.
Images, contenu, structure… N’hésitez pas à nous dire pourquoi afin de la faire évoluer ensemble !
Vos demandes d’assistance ne seront pas traitées par ce formulaire. Pour cela, utilisez le formulaire "Créer un ticket" .
Merci beaucoup pour votre aide ! Vos retours seront étudiés au plus vite par nos équipes..
Accedez à votre espace communautaire. Posez des questions, recherchez des informations, publiez du contenu et interagissez avec d’autres membres d'OVHcloud Community.
Echanger sur OVHcloud Community