Solving Problems
Connect to EC2 Instance
Connect to your EC2 Instance #
We’ve prepared an Ubuntu Linux instance in AWS/EC2 for each attendee. To connect to your EC2 instance:
- Copy the
Web SSHURL from your instance information in Splunk Show. - Paste the URL in your browser.
- When prompted, input
splunkas the user name. - For the password, copy the
SSH Passwordvalue from Splunk Show.
Editing Files #
We’ll use vi to edit files during the workshop. Here’s a quick primer.
To open a file for editing:
bash
vi <filename> - To edit the file, click
ito switch to Insert mode and begin entering text as normal. UseEscto return to Command mode. - To save your changes without exiting the editor, enter
Escto return to command mode then enter:w. - To exit the editor without saving changes, enter
Escto return to command mode then enter:q!. - To save your changes and exist the editor, enter
Escto return to command mode then enter:wq.
See An introduction to the vi editor
for a comprehensive introduction to vi.
If you’d prefer using another editor, you can use nano instead:
bash
nano <filename>
