Connect to EC2 Instance
5 minutesConnect to your EC2 Instance
We’ve prepared an Ubuntu Linux instance in AWS/EC2 for each attendee.
Using the IP address and password provided by your instructor, connect to your EC2 instance using one of the methods below:
- Mac OS / Linux
- ssh splunk@IP address
- Windows 10+
- Use the OpenSSH client
- Earlier versions of Windows
- Use Putty
Install the OpenShift CLI
To access the OpenShift cluster, we’ll need to install the OpenShift CLI.
We can use the following command to download the OpenShift CLI binary directly to our EC2 instance:
Extract the contents:
Move the resulting files (oc and kubectl) to a location that’s included as part of your path. For example:
Connect to the OpenShift Cluster
Ensure the Kube config file is modifiable by the splunk user:
Use the cluster API, participant username, and password provided by the workshop organizer to log in to the OpenShift cluster:
Ensure you’re connected to the OpenShift cluster:
It should return something like the following: