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:
- macOS / Linux
ssh splunk@IP address
- Windows 10+
- Use the OpenSSH client
- Earlier versions of Windows
- Use Putty
Editing Files
We’ll use vi to edit files during the workshop. Here’s a quick primer.
To open a file for editing:
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:
nano <filename>