Connecting to your DataStax Community EC2 instance
If this is the first time you are connecting, copy your private key file
(keyname.pem) you downloaded
earlier to your home directory, and change the permissions so it is not publicly
viewable. For example:
chmod 400 datastax-key.pem
From the EC2 Dashboard, click Running
You can connect to any node in the cluster. However, one node (Node0) runs OpsCenter and is the Cassandra seed node.
To find which instance is Node0:
- Select an instance.
- Select the Description tab.
Scroll down the description information until you see the AMI
- If the AMI launch index is not zero, try each node until you find Node0.
- To get the public DNS name of a node, select the node you want to connect to, and then click Connect.
- In Connect To Your Instance, select A standalone SSH client.
Copy the example command line and change the user from
root to ubuntu, then paste it
into your SSH client.
The AMI image configures your cluster and starts the Cassandra services.
After you have logged into a node and the AMI has completed installing and
setting up the nodes, the status is displayed:
The URL for the OpsCenter is displayed when you connect to the node containing it; otherwise it is not displayed.
If you installed OpsCenter, allow about 60 to 90 seconds after the cluster has
finished initializing for OpsCenter to start. You can launch OpsCenter using the
The Dashboard should show that the agents are connected.
If the agents have not automatically connected:
Click the Fix link located near the top left of
When prompted for credentials for the agent nodes, use the username
ubuntu and copy and paste the entire contents
from your private key (.pem).
The Dashboard shows the agents are connected.
- Click the Fix link located near the top left of the Dashboard.