Connecting to the New Lightsail VPS with PuTTY
Step 1 – Launch PuTTY on your computer.
Step 2 – Return to your browser window. Copy the instance’s public IP address from your browser window, and then paste it into the “Host Name (or IP address)” field in the PuTTY window.
Step 3 – In the PuTTY window, enter a connection name in the “Saved Sessions” field, and then click the “Save” button.
Step 4 – In the “Category” pane of the PuTTY window, click “Connection,” and then select “Data.” In the “Auto-Login username” field, type “ubuntu” (without the quotes.)
Step 5 – In the “Connection” section of the “Category” pane, click “SSH,” and then select “Auth.” In the new window, click the “Browse” button.
Step 6 – Navigate to the private key you created earlier. Select the private key file, and then click “Open.”
Step 7 – Click “Session” near the top of the “Category” pane to return to the main PuTTY window. Click the “Save” button to the save the session settings.
Step 8 – Click the “Open” button. PuTTY displays a security alert pop-up. Just click “Yes” to accept the key-pair configuration and cache it to your system. After a second or two, a new terminal window opens. If you configured a passphrase for your SSH key, you will be prompted to enter it in the new terminal window. If applicable type your password, and then press “Enter.”
Step 9 – At the prompt, type “sudo su” and press “Enter” for elevated root privileges.
Step 11 – Install other software and packages as needed. Enjoy your new Lightsail VPS!
Step 12 – Click the “X” in the upper-right corner of the PuTTY terminal window to close the connection and the terminal window. Click “OK” when prompted to confirm the exit.
That’s it! You’re finished. You’ve now successfully created your first Lightsail VPS instance. Easy, right? In my next post, I will show you how to add and configure additional block storage for your Lightsail VPS instance. Lightsail is not only easy to use, but it’s a lot cheaper than Amazon AWS EC2 and most other hosts.
And, besides cheap prices on VPS instances, Lightsail also offers reasonably priced storage. So, stay tuned for my next post to learn how to go nearly-limitless with your Lighstail storage capacity. I promise it won’t be too long before I get around to writing it.
Until then, peace out!