Connecting to Hazelcast Cloud with Hazelcast CLC
To use the Hazelcast CLC with Hazelcast Cloud, you need to authenticate with Cloud using your API secret and key. You can then import the configuration of the cluster that you want to connect to. No additional configuration is required.
Importing the Cluster Configuration
Import the configuration of the Cloud cluster that you want to connect to.
-
Run the following command to save the cluster configuration with the name
dev
. Replace the$CLUSTER_NAME
placeholder with the name of your cluster. -
Start an interactive shell session.
The Hazelcast CLC will start in interactive mode, and you should see a command prompt. You’re ready to start managing Cloud clusters.
The Hazelcast CLC connects to the cluster on demand, that is when you issue a command that requires the connection, such as running a SQL query. |